lcldec.c File Reference

Go to the source code of this file.

Classes

struct  LclDecContext

Functions

static unsigned char fix (int pix14)
static unsigned char get_b (unsigned char yq, signed char bq)
static unsigned char get_g (unsigned char yq, signed char bq, signed char rq)
static unsigned char get_r (unsigned char yq, signed char rq)
static unsigned int mszh_decomp (unsigned char *srcptr, int srclen, unsigned char *destptr, unsigned int destsize)
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 mszh_decoder
AVCodec zlib_decoder


Function Documentation

static unsigned char fix ( int  pix14  )  [inline, static]

Definition at line 79 of file lcldec.c.

Referenced by EITHelper::AddEIT(), get_b(), get_g(), and get_r().

static unsigned char get_b ( unsigned char  yq,
signed char  bq 
) [inline, static]

Definition at line 93 of file lcldec.c.

Referenced by decode_frame().

static unsigned char get_g ( unsigned char  yq,
signed char  bq,
signed char  rq 
) [inline, static]

Definition at line 100 of file lcldec.c.

Referenced by decode_frame().

static unsigned char get_r ( unsigned char  yq,
signed char  rq 
) [inline, static]

Definition at line 107 of file lcldec.c.

Referenced by decode_frame().

static unsigned int mszh_decomp ( unsigned char *  srcptr,
int  srclen,
unsigned char *  destptr,
unsigned int  destsize 
) [static]

Definition at line 114 of file lcldec.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 164 of file lcldec.c.

static int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 517 of file lcldec.c.

static int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 676 of file lcldec.c.


Variable Documentation

Initial value:

 {
    "mszh",
    CODEC_TYPE_VIDEO,
    CODEC_ID_MSZH,
    sizeof(LclDecContext),
    decode_init,
    NULL,
    decode_end,
    decode_frame,
    CODEC_CAP_DR1,
}

Definition at line 690 of file lcldec.c.

Initial value:

 {
    "zlib",
    CODEC_TYPE_VIDEO,
    CODEC_ID_ZLIB,
    sizeof(LclDecContext),
    decode_init,
    NULL,
    decode_end,
    decode_frame,
    CODEC_CAP_DR1,
}

Definition at line 704 of file lcldec.c.


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