FFmpeg
Data Structures | Functions | Variables
dpx_parser.c File Reference
#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

const 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

const 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,
}

Definition at line 111 of file dpx_parser.c.

AV_CODEC_ID_DPX
@ AV_CODEC_ID_DPX
Definition: codec_id.h:178
ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:286
dpx_parse
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
DPXParseContext
Definition: dpx_parser.c:32