FFmpeg
Functions | Variables
avs3_parser.c File Reference
#include "avs3.h"
#include "get_bits.h"
#include "parser.h"

Go to the source code of this file.

Functions

static int avs3_find_frame_end (ParseContext *pc, const uint8_t *buf, int buf_size)
 
static void parse_avs3_nal_units (AVCodecParserContext *s, const uint8_t *buf, int buf_size, AVCodecContext *avctx)
 
static int avs3_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
 

Variables

const AVCodecParser ff_avs3_parser
 

Function Documentation

◆ avs3_find_frame_end()

static int avs3_find_frame_end ( ParseContext pc,
const uint8_t *  buf,
int  buf_size 
)
static

Definition at line 28 of file avs3_parser.c.

Referenced by avs3_parse().

◆ parse_avs3_nal_units()

static void parse_avs3_nal_units ( AVCodecParserContext s,
const uint8_t *  buf,
int  buf_size,
AVCodecContext avctx 
)
static

Definition at line 64 of file avs3_parser.c.

Referenced by avs3_parse().

◆ avs3_parse()

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

Definition at line 147 of file avs3_parser.c.

Variable Documentation

◆ ff_avs3_parser

const AVCodecParser ff_avs3_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_AVS3 },
.priv_data_size = sizeof(ParseContext),
.parser_parse = avs3_parse,
.parser_close = ff_parse_close,
}

Definition at line 173 of file avs3_parser.c.

avs3_parse
static int avs3_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: avs3_parser.c:147
ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:282
ParseContext
Definition: parser.h:28
AV_CODEC_ID_AVS3
@ AV_CODEC_ID_AVS3
Definition: codec_id.h:245