cscd.c File Reference

Go to the source code of this file.

Classes

struct  CamStudioContext

Functions

static void copy_frame_default (AVFrame *f, uint8_t *src, int linelen, int height)
static void add_frame_default (AVFrame *f, uint8_t *src, int linelen, int height)
static void copy_frame_16 (AVFrame *f, uint8_t *src, int linelen, int height)
static void copy_frame_32 (AVFrame *f, uint8_t *src, int linelen, int height)
static void add_frame_16 (AVFrame *f, uint8_t *src, int linelen, int height)
static void add_frame_32 (AVFrame *f, uint8_t *src, int linelen, int height)
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int decode_init (AVCodecContext *avctx)
static int decode_end (AVCodecContext *avctx)

Variables

AVCodec cscd_decoder


Function Documentation

static void copy_frame_default ( AVFrame f,
uint8_t *  src,
int  linelen,
int  height 
) [static]

Definition at line 38 of file cscd.c.

Referenced by decode_frame().

static void add_frame_default ( AVFrame f,
uint8_t *  src,
int  linelen,
int  height 
) [static]

Definition at line 50 of file cscd.c.

Referenced by decode_frame().

static void copy_frame_16 ( AVFrame f,
uint8_t *  src,
int  linelen,
int  height 
) [static]

Definition at line 68 of file cscd.c.

Referenced by decode_frame().

static void copy_frame_32 ( AVFrame f,
uint8_t *  src,
int  linelen,
int  height 
) [static]

Definition at line 84 of file cscd.c.

Referenced by decode_frame().

static void add_frame_16 ( AVFrame f,
uint8_t *  src,
int  linelen,
int  height 
) [static]

Definition at line 102 of file cscd.c.

Referenced by decode_frame().

static void add_frame_32 ( AVFrame f,
uint8_t *  src,
int  linelen,
int  height 
) [static]

Definition at line 118 of file cscd.c.

Referenced by decode_frame().

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

Definition at line 137 of file cscd.c.

static int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 215 of file cscd.c.

static int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 243 of file cscd.c.


Variable Documentation

Initial value:

 {
    "camstudio",
    CODEC_TYPE_VIDEO,
    CODEC_ID_CSCD,
    sizeof(CamStudioContext),
    decode_init,
    NULL,
    decode_end,
    decode_frame,
    CODEC_CAP_DR1,
}

Definition at line 251 of file cscd.c.


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