FFmpeg
Loading...
Searching...
No Matches
dnxhd_parser.c File Reference

DNxHD/VC-3 parser. More...

#include "parser.h"
#include "dnxhddata.h"
#include "parser_internal.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

const FFCodecParser 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 38 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 118 of file dnxhd_parser.c.

Variable Documentation

◆ ff_dnxhd_parser

const FFCodecParser ff_dnxhd_parser
Initial value:
= {
.priv_data_size = sizeof(DNXHDParserContext),
}
static int parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition apv_parser.c:92
static av_cold void close(AVCodecParserContext *s)
Definition apv_parser.c:197
static int dnxhd_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
@ AV_CODEC_ID_DNXHD
Definition codec_id.h:149
av_cold void ff_parse_close(AVCodecParserContext *s)
Definition parser.c:300
#define PARSER_CODEC_LIST(...)

Definition at line 142 of file dnxhd_parser.c.