rawdec.c File Reference


Detailed Description

Raw Video Decoder.

Definition in file rawdec.c.

Go to the source code of this file.

Classes

struct  RawVideoContext

Functions

static int findPixelFormat (const PixelFormatTag *tags, unsigned int fourcc)
static int raw_init_decoder (AVCodecContext *avctx)
static void flip (AVCodecContext *avctx, AVPicture *picture)
static int raw_decode (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int raw_close_decoder (AVCodecContext *avctx)

Variables

static const PixelFormatTag pixelFormatBpsAVI []
static const PixelFormatTag pixelFormatBpsMOV []
AVCodec rawvideo_decoder


Function Documentation

static int findPixelFormat ( const PixelFormatTag tags,
unsigned int  fourcc 
) [static]

Definition at line 56 of file rawdec.c.

Referenced by raw_init_decoder().

static int raw_init_decoder ( AVCodecContext avctx  )  [static]

Definition at line 66 of file rawdec.c.

static void flip ( AVCodecContext avctx,
AVPicture picture 
) [static]

Definition at line 90 of file rawdec.c.

Referenced by audio_open(), handle_intra_block(), and raw_decode().

static int raw_decode ( AVCodecContext avctx,
void *  data,
int *  data_size,
uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 97 of file rawdec.c.

static int raw_close_decoder ( AVCodecContext avctx  )  [static]

Definition at line 146 of file rawdec.c.


Variable Documentation

Initial value:

 {
    { PIX_FMT_PAL8,    4 },
    { PIX_FMT_PAL8,    8 },
    { PIX_FMT_RGB555, 15 },
    { PIX_FMT_RGB555, 16 },
    { PIX_FMT_BGR24,  24 },
    { PIX_FMT_RGB32,  32 },
    { -1, 0 },
}

Definition at line 36 of file rawdec.c.

Initial value:

 {
    
    
    { PIX_FMT_PAL8,      8 },
    { PIX_FMT_BGR555,   16 },
    { PIX_FMT_RGB24,    24 },
    { PIX_FMT_BGR32_1,  32 },
    { -1, 0 },
}

Definition at line 46 of file rawdec.c.

Initial value:

Definition at line 154 of file rawdec.c.


Generated on Sat Dec 18 05:15:55 2010 for MythTV by  doxygen 1.5.5