#include "parser.h"#include "mpegvideo.h"Go to the source code of this file.
Data Structures | |
| struct | MpvParseContext |
Functions | |
| 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_split (AVCodecContext *avctx, const uint8_t *buf, int buf_size) |
| static int | mpegvideo_parse_init (AVCodecParserContext *s) |
Variables | |
| AVCodecParser | ff_mpegvideo_parser |
| static void mpegvideo_extract_headers | ( | AVCodecParserContext * | s, | |
| AVCodecContext * | avctx, | |||
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| static int mpegvideo_parse | ( | AVCodecParserContext * | s, | |
| AVCodecContext * | avctx, | |||
| const uint8_t ** | poutbuf, | |||
| int * | poutbuf_size, | |||
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
Definition at line 135 of file mpegvideo_parser.c.
| static int mpegvideo_parse_init | ( | AVCodecParserContext * | s | ) | [static] |
Definition at line 185 of file mpegvideo_parser.c.
| static int mpegvideo_split | ( | AVCodecContext * | avctx, | |
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
Definition at line 168 of file mpegvideo_parser.c.
Initial value:
{
.codec_ids = { AV_CODEC_ID_MPEG1VIDEO, AV_CODEC_ID_MPEG2VIDEO },
.priv_data_size = sizeof(struct MpvParseContext),
.parser_init = mpegvideo_parse_init,
.parser_parse = mpegvideo_parse,
.parser_close = ff_parse_close,
.split = mpegvideo_split,
}
Definition at line 191 of file mpegvideo_parser.c.
1.5.8