#include "decode.h"
#include "parser.h"
#include "mpegvideo.h"
#include "mpeg4videodec.h"
#include "mpeg4videodefs.h"
Go to the source code of this file.
|
static int | 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 | 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) |
|
◆ UNCHECKED_BITSTREAM_READER
#define UNCHECKED_BITSTREAM_READER 1 |
◆ mpeg4_find_frame_end()
static int mpeg4_find_frame_end |
( |
ParseContext * |
pc, |
|
|
const uint8_t * |
buf, |
|
|
int |
buf_size |
|
) |
| |
|
static |
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 41 of file mpeg4video_parser.c.
Referenced by mpeg4video_parse().
◆ mpeg4_decode_header()
◆ mpeg4video_parse_init()
◆ mpeg4video_parse()
◆ ff_mpeg4video_parser
static int mpeg4video_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)