FFmpeg  4.0
Data Structures | Functions | Variables
dpx_parser.c File Reference

DPX parser. More...

#include "libavutil/bswap.h"
#include "libavutil/common.h"
#include "parser.h"

Go to the source code of this file.

Data Structures

struct  DPXParseContext
 

Functions

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

Variables

AVCodecParser ff_dpx_parser
 

Detailed Description

DPX parser.

Definition in file dpx_parser.c.

Function Documentation

◆ dpx_parse()

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

Definition at line 40 of file dpx_parser.c.

Variable Documentation

◆ ff_dpx_parser

AVCodecParser ff_dpx_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_DPX },
.priv_data_size = sizeof(DPXParseContext),
.parser_parse = dpx_parse,
.parser_close = ff_parse_close,
}
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:397
static int dpx_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: dpx_parser.c:40

Definition at line 111 of file dpx_parser.c.