#include "libavutil/avassert.h"
#include "decode.h"
#include "parser.h"
#include "mpeg12.h"
#include "mpeg12data.h"
#include "startcode.h"
Go to the source code of this file.
|
static int | mpeg1_find_frame_end (ParseContext *pc, const uint8_t *buf, int buf_size, AVCodecParserContext *s) |
| Find the end of the current frame in the bitstream. More...
|
|
static void | mpegvideo_extract_headers (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t *buf, int buf_size) |
|
static int | mpegvideo_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) |
|
static int | mpegvideo_parse_init (AVCodecParserContext *s) |
|
◆ mpeg1_find_frame_end()
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 mpegvideo_parser.c.
Referenced by mpegvideo_parse().
◆ mpegvideo_extract_headers()
◆ mpegvideo_parse()
◆ mpegvideo_parse_init()
◆ ff_mpegvideo_parser
static int mpegvideo_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)