mmvideo.c File Reference

Go to the source code of this file.

Classes

struct  MmContext

Functions

static int mm_decode_init (AVCodecContext *avctx)
static void mm_decode_intra (MmContext *s, int half_horiz, int half_vert, const uint8_t *buf, int buf_size)
static void mm_decode_inter (MmContext *s, int half_horiz, int half_vert, const uint8_t *buf, int buf_size)
static int mm_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int mm_decode_end (AVCodecContext *avctx)

Variables

AVCodec mmvideo_decoder


Function Documentation

static int mm_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 50 of file mmvideo.c.

static void mm_decode_intra ( MmContext s,
int  half_horiz,
int  half_vert,
const uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 75 of file mmvideo.c.

Referenced by mm_decode_frame().

static void mm_decode_inter ( MmContext s,
int  half_horiz,
int  half_vert,
const uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 110 of file mmvideo.c.

Referenced by mm_decode_frame().

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

Definition at line 151 of file mmvideo.c.

static int mm_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 185 of file mmvideo.c.


Variable Documentation

Initial value:

 {
    "mmvideo",
    CODEC_TYPE_VIDEO,
    CODEC_ID_MMVIDEO,
    sizeof(MmContext),
    mm_decode_init,
    NULL,
    mm_decode_end,
    mm_decode_frame,
    CODEC_CAP_DR1,
}

Definition at line 195 of file mmvideo.c.


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