FFmpeg
Data Structures | Functions | Variables
ffv1_parser.c File Reference
#include "avcodec.h"
#include "ffv1.h"
#include "rangecoder.h"

Go to the source code of this file.

Data Structures

struct  FFV1ParseContext
 

Functions

static int parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
 
static void close (AVCodecParserContext *s)
 

Variables

const AVCodecParser ff_ffv1_parser
 

Function Documentation

◆ parse()

static int parse ( AVCodecParserContext s,
AVCodecContext avctx,
const uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t *  buf,
int  buf_size 
)
static

Definition at line 28 of file ffv1_parser.c.

Referenced by mov_read_default(), mov_read_udta_string(), and read_table().

◆ close()

static void close ( AVCodecParserContext s)
static

Variable Documentation

◆ ff_ffv1_parser

const AVCodecParser ff_ffv1_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_FFV1 },
.priv_data_size = sizeof(FFV1ParseContext),
.parser_parse = parse,
.parser_close = close,
}

Definition at line 81 of file ffv1_parser.c.

parse
static int parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: ffv1_parser.c:28
AV_CODEC_ID_FFV1
@ AV_CODEC_ID_FFV1
Definition: codec_id.h:85
FFV1ParseContext
Definition: ffv1_parser.c:23
close
static void close(AVCodecParserContext *s)
Definition: ffv1_parser.c:73