FFmpeg
|
mpeg4video_parser.c File Reference
Include dependency graph for mpeg4video_parser.c:
Go to the source code of this file.
Data Structures | |
struct | Mp4vParseContext |
Macros | |
#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. More... | |
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 |
Macro Definition Documentation
#define UNCHECKED_BITSTREAM_READER 1 |
Definition at line 23 of file mpeg4video_parser.c.
Function Documentation
|
static |
Definition at line 74 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.
- Returns
- the position of the first byte of the next frame, or -1
Definition at line 36 of file mpeg4video_parser.c.
Referenced by ff_h263_decode_frame(), and mpeg4video_parse().
|
static |
Definition at line 120 of file mpeg4video_parser.c.
|
static |
Definition at line 108 of file mpeg4video_parser.c.
Variable Documentation
AVCodecParser ff_mpeg4video_parser |
Initial value:
= {
.codec_ids = { AV_CODEC_ID_MPEG4 },
.parser_init = mpeg4video_parse_init,
.parser_parse = mpeg4video_parse,
.parser_close = ff_parse_close,
.split = ff_mpeg4video_split,
}
Definition: libavcodec/avcodec.h:115
int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf, int buf_size)
Definition: parser.c:288
static int mpeg4video_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: mpeg4video_parser.c:120
static av_cold int mpeg4video_parse_init(AVCodecParserContext *s)
Definition: mpeg4video_parser.c:108
Definition: mpeg4video_parser.c:30
Definition at line 147 of file mpeg4video_parser.c.
Generated on Fri Dec 20 2024 06:56:14 for FFmpeg by 1.8.11