#include "parser.h"
#include "vc1.h"
#include "get_bits.h"
Go to the source code of this file.
Data Structures | |
struct | VC1ParseContext |
Functions | |
static void | vc1_extract_headers (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t *buf, int buf_size) |
static int | vc1_find_frame_end (ParseContext *pc, const uint8_t *buf, int buf_size) |
Find the end of the current frame in the bitstream. | |
static int | vc1_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) |
static int | vc1_split (AVCodecContext *avctx, const uint8_t *buf, int buf_size) |
static int | vc1_parse_init (AVCodecParserContext *s) |
Variables | |
AVCodecParser | ff_vc1_parser |
Definition in file vc1_parser.c.
static void vc1_extract_headers | ( | AVCodecParserContext * | s, | |
AVCodecContext * | avctx, | |||
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
static int vc1_find_frame_end | ( | ParseContext * | pc, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
Find the end of the current frame in the bitstream.
Definition at line 102 of file vc1_parser.c.
Referenced by vc1_parse().
static int vc1_parse | ( | AVCodecParserContext * | s, | |
AVCodecContext * | avctx, | |||
const uint8_t ** | poutbuf, | |||
int * | poutbuf_size, | |||
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
Definition at line 140 of file vc1_parser.c.
static int vc1_parse_init | ( | AVCodecParserContext * | s | ) | [static] |
Definition at line 187 of file vc1_parser.c.
static int vc1_split | ( | AVCodecContext * | avctx, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
Definition at line 167 of file vc1_parser.c.
Initial value:
{ .codec_ids = { AV_CODEC_ID_VC1 }, .priv_data_size = sizeof(VC1ParseContext), .parser_init = vc1_parse_init, .parser_parse = vc1_parse, .parser_close = ff_parse_close, .split = vc1_split, }
Definition at line 194 of file vc1_parser.c.