h263dec.c File Reference


Detailed Description

H.263 decoder.

Definition in file h263dec.c.

Go to the source code of this file.

Functions

int ff_h263_decode_init (AVCodecContext *avctx)
int ff_h263_decode_end (AVCodecContext *avctx)
static int get_consumed_bytes (MpegEncContext *s, int buf_size)
 returns the number of bytes consumed for building the current frame
static int decode_slice (MpegEncContext *s)
int ff_h263_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)

Variables

AVCodec mpeg4_decoder
AVCodec h263_decoder
AVCodec msmpeg4v1_decoder
AVCodec msmpeg4v2_decoder
AVCodec msmpeg4v3_decoder
AVCodec wmv1_decoder
AVCodec h263i_decoder
AVCodec flv_decoder


Function Documentation

int ff_h263_decode_init ( AVCodecContext avctx  ) 

Definition at line 38 of file h263dec.c.

Referenced by vc1_decode_init(), and wmv2_decode_init().

int ff_h263_decode_end ( AVCodecContext avctx  ) 

Definition at line 122 of file h263dec.c.

static int get_consumed_bytes ( MpegEncContext s,
int  buf_size 
) [static]

returns the number of bytes consumed for building the current frame

Definition at line 133 of file h263dec.c.

static int decode_slice ( MpegEncContext s  )  [static]

Definition at line 151 of file h263dec.c.

Referenced by execute_decode_slices(), and ff_h263_decode_frame().

int ff_h263_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
uint8_t *  buf,
int  buf_size 
)

Definition at line 323 of file h263dec.c.


Variable Documentation

Initial value:

 {
    "mpeg4",
    CODEC_TYPE_VIDEO,
    CODEC_ID_MPEG4,
    sizeof(MpegEncContext),
    ff_h263_decode_init,
    NULL,
    ff_h263_decode_end,
    ff_h263_decode_frame,
    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
    .flush= ff_mpeg_flush,
}

Definition at line 715 of file h263dec.c.

Initial value:

 {
    "h263",
    CODEC_TYPE_VIDEO,
    CODEC_ID_H263,
    sizeof(MpegEncContext),
    ff_h263_decode_init,
    NULL,
    ff_h263_decode_end,
    ff_h263_decode_frame,
    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
    .flush= ff_mpeg_flush,
}

Definition at line 728 of file h263dec.c.

Initial value:

 {
    "msmpeg4v1",
    CODEC_TYPE_VIDEO,
    CODEC_ID_MSMPEG4V1,
    sizeof(MpegEncContext),
    ff_h263_decode_init,
    NULL,
    ff_h263_decode_end,
    ff_h263_decode_frame,
    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
}

Definition at line 741 of file h263dec.c.

Initial value:

 {
    "msmpeg4v2",
    CODEC_TYPE_VIDEO,
    CODEC_ID_MSMPEG4V2,
    sizeof(MpegEncContext),
    ff_h263_decode_init,
    NULL,
    ff_h263_decode_end,
    ff_h263_decode_frame,
    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
}

Definition at line 753 of file h263dec.c.

Initial value:

 {
    "msmpeg4",
    CODEC_TYPE_VIDEO,
    CODEC_ID_MSMPEG4V3,
    sizeof(MpegEncContext),
    ff_h263_decode_init,
    NULL,
    ff_h263_decode_end,
    ff_h263_decode_frame,
    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
}

Definition at line 765 of file h263dec.c.

Initial value:

 {
    "wmv1",
    CODEC_TYPE_VIDEO,
    CODEC_ID_WMV1,
    sizeof(MpegEncContext),
    ff_h263_decode_init,
    NULL,
    ff_h263_decode_end,
    ff_h263_decode_frame,
    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
}

Definition at line 777 of file h263dec.c.

Initial value:

 {
    "h263i",
    CODEC_TYPE_VIDEO,
    CODEC_ID_H263I,
    sizeof(MpegEncContext),
    ff_h263_decode_init,
    NULL,
    ff_h263_decode_end,
    ff_h263_decode_frame,
    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
}

Definition at line 789 of file h263dec.c.

Initial value:

 {
    "flv",
    CODEC_TYPE_VIDEO,
    CODEC_ID_FLV1,
    sizeof(MpegEncContext),
    ff_h263_decode_init,
    NULL,
    ff_h263_decode_end,
    ff_h263_decode_frame,
    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1
}

Definition at line 801 of file h263dec.c.


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