libavcodec/rawdec.c File Reference

Raw Video Decoder. More...

#include "avcodec.h"
#include "raw.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Data Structures

struct  RawVideoContext

Functions

static enum PixelFormat findPixelFormat (const PixelFormatTag *tags, unsigned int fourcc)
static av_cold int raw_init_decoder (AVCodecContext *avctx)
static void flip (AVCodecContext *avctx, AVPicture *picture)
static int raw_decode (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int raw_close_decoder (AVCodecContext *avctx)

Variables

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


Detailed Description

Raw Video Decoder.

Definition in file rawdec.c.


Function Documentation

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

Definition at line 61 of file rawdec.c.

Referenced by raw_init_decoder().

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

Definition at line 99 of file rawdec.c.

Referenced by audio_open(), config_input(), get_video_buffer(), raw_decode(), and start_frame().

static av_cold int raw_close_decoder ( AVCodecContext avctx  )  [static]

Definition at line 180 of file rawdec.c.

static int raw_decode ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 104 of file rawdec.c.

static av_cold int raw_init_decoder ( AVCodecContext avctx  )  [static]

Definition at line 71 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 },
    { PIX_FMT_NONE, 0 },
}

Definition at line 38 of file rawdec.c.

Initial value:

 {
    { PIX_FMT_MONOWHITE, 1 },
    { PIX_FMT_PAL8,      2 },
    { PIX_FMT_PAL8,      4 },
    { PIX_FMT_PAL8,      8 },
    
    
    { PIX_FMT_RGB555BE, 16 },
    { PIX_FMT_RGB24,    24 },
    { PIX_FMT_ARGB,     32 },
    { PIX_FMT_NONE, 0 },
}

Definition at line 48 of file rawdec.c.

Initial value:

Definition at line 188 of file rawdec.c.


Generated on Fri Oct 26 02:36:53 2012 for FFmpeg by  doxygen 1.5.8