FFmpeg
Data Structures | Functions | Variables
dnxhd_parser.c File Reference
#include "parser.h"
#include "dnxhddata.h"

Go to the source code of this file.

Data Structures

struct  DNXHDParserContext
 

Functions

static int dnxhd_find_frame_end (DNXHDParserContext *dctx, const uint8_t *buf, int buf_size)
 
static int dnxhd_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
 

Variables

AVCodecParser ff_dnxhd_parser
 

Detailed Description

DNxHD/VC-3 parser

Definition in file dnxhd_parser.c.

Function Documentation

◆ dnxhd_find_frame_end()

static int dnxhd_find_frame_end ( DNXHDParserContext dctx,
const uint8_t buf,
int  buf_size 
)
static

Definition at line 37 of file dnxhd_parser.c.

Referenced by dnxhd_parse().

◆ dnxhd_parse()

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

Definition at line 117 of file dnxhd_parser.c.

Variable Documentation

◆ ff_dnxhd_parser

AVCodecParser ff_dnxhd_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_DNXHD },
.priv_data_size = sizeof(DNXHDParserContext),
.parser_parse = dnxhd_parse,
.parser_close = ff_parse_close,
}

Definition at line 141 of file dnxhd_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:323
DNXHDParserContext
Definition: dnxhd_parser.c:30
AV_CODEC_ID_DNXHD
@ AV_CODEC_ID_DNXHD
Definition: codec_id.h:148
dnxhd_parse
static int dnxhd_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: dnxhd_parser.c:117