#include "parser.h"
#include "mpegvideo.h"
#include "mpeg4video.h"
#include "mpeg4video_parser.h"
Go to the source code of this file.
Functions | |
int | ff_mpeg4_find_frame_end (ParseContext *pc, const uint8_t *buf, int buf_size) |
finds 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 | mpeg4video_parser |
static int av_mpeg4_decode_header | ( | AVCodecParserContext * | s1, | |
AVCodecContext * | avctx, | |||
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
int ff_mpeg4_find_frame_end | ( | ParseContext * | pc, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) |
finds the end of the current frame in the bitstream.
Definition at line 29 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 105 of file mpeg4video_parser.c.
static av_cold int mpeg4video_parse_init | ( | AVCodecParserContext * | s | ) | [static] |
Definition at line 94 of file mpeg4video_parser.c.
Initial value:
{ { CODEC_ID_MPEG4 }, sizeof(ParseContext1), mpeg4video_parse_init, mpeg4video_parse, ff_parse1_close, ff_mpeg4video_split, }
Definition at line 132 of file mpeg4video_parser.c.