Go to the source code of this file.
Defines | |
#define | UNCHECKED_BITSTREAM_READER 1 |
Functions | |
int | ff_mpeg4_find_frame_end (ParseContext *pc, const uint8_t *buf, int buf_size) |
Find the end of the current frame in the bitstream. | |
static int | av_mpeg4_decode_header (AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t *buf, int buf_size) |
static av_cold int | mpeg4video_parse_init (AVCodecParserContext *s) |
static int | mpeg4video_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) |
Variables | |
AVCodecParser | ff_mpeg4video_parser |
#define UNCHECKED_BITSTREAM_READER 1 |
Definition at line 23 of file mpeg4video_parser.c.
static int av_mpeg4_decode_header | ( | AVCodecParserContext * | s1, |
AVCodecContext * | avctx, | ||
const uint8_t * | buf, | ||
int | buf_size | ||
) | [static] |
Definition at line 69 of file mpeg4video_parser.c.
Referenced by mpeg4video_parse().
int ff_mpeg4_find_frame_end | ( | ParseContext * | pc, |
const uint8_t * | buf, | ||
int | buf_size | ||
) |
Find the end of the current frame in the bitstream.
Definition at line 31 of file mpeg4video_parser.c.
Referenced by ff_h263_decode_frame(), and mpeg4video_parse().
static int mpeg4video_parse | ( | AVCodecParserContext * | s, |
AVCodecContext * | avctx, | ||
const uint8_t ** | poutbuf, | ||
int * | poutbuf_size, | ||
const uint8_t * | buf, | ||
int | buf_size | ||
) | [static] |
Definition at line 109 of file mpeg4video_parser.c.
static av_cold int mpeg4video_parse_init | ( | AVCodecParserContext * | s | ) | [static] |
Definition at line 96 of file mpeg4video_parser.c.
{ .codec_ids = { CODEC_ID_MPEG4 }, .priv_data_size = sizeof(ParseContext1), .parser_init = mpeg4video_parse_init, .parser_parse = mpeg4video_parse, .parser_close = ff_parse1_close, .split = ff_mpeg4video_split, }
Definition at line 136 of file mpeg4video_parser.c.