libavcodec/dpxenc.c File Reference

#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  DPXContext

Defines

#define write16(p, value)
#define write32(p, value)
#define HEADER_SIZE   1664

Functions

static av_cold int encode_init (AVCodecContext *avctx)
static void encode_rgb48_10bit (AVCodecContext *avctx, const AVPicture *pic, uint8_t *dst)
static void encode_gbrp10 (AVCodecContext *avctx, const AVPicture *pic, uint8_t *dst)
static void encode_gbrp12 (AVCodecContext *avctx, const AVPicture *pic, uint16_t *dst)
static int encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)

Variables

AVCodec ff_dpx_encoder


Define Documentation

#define HEADER_SIZE   1664

#define write16 ( p,
value   ) 

Value:

do { \
    if (s->big_endian) AV_WB16(p, value); \
    else               AV_WL16(p, value); \
} while(0)

Definition at line 86 of file dpxenc.c.

Referenced by encode_frame().

#define write32 ( p,
value   ) 

Value:

do { \
    if (s->big_endian) AV_WB32(p, value); \
    else               AV_WL32(p, value); \
} while(0)

Definition at line 92 of file dpxenc.c.

Referenced by encode_frame(), encode_gbrp10(), and encode_rgb48_10bit().


Function Documentation

static int encode_frame ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame frame,
int got_packet 
) [static]

Definition at line 165 of file dpxenc.c.

static void encode_gbrp10 ( AVCodecContext avctx,
const AVPicture pic,
uint8_t dst 
) [static]

Definition at line 123 of file dpxenc.c.

Referenced by encode_frame().

static void encode_gbrp12 ( AVCodecContext avctx,
const AVPicture pic,
uint16_t *  dst 
) [static]

Definition at line 149 of file dpxenc.c.

Referenced by encode_frame().

static av_cold int encode_init ( AVCodecContext avctx  )  [static]

Definition at line 36 of file dpxenc.c.

static void encode_rgb48_10bit ( AVCodecContext avctx,
const AVPicture pic,
uint8_t dst 
) [static]

Definition at line 98 of file dpxenc.c.

Referenced by encode_frame().


Variable Documentation

Initial value:

Definition at line 242 of file dpxenc.c.


Generated on Fri Oct 26 02:50:04 2012 for FFmpeg by  doxygen 1.5.8