FFmpeg
Data Structures | Functions | Variables
hdr_parser.c File Reference
#include "libavutil/intreadwrite.h"
#include "parser.h"

Go to the source code of this file.

Data Structures

struct  HDRParseContext
 

Functions

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

Variables

const AVCodecParser ff_hdr_parser
 

Detailed Description

Radiance HDR parser

Definition in file hdr_parser.c.

Function Documentation

◆ hdr_parse()

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

Definition at line 34 of file hdr_parser.c.

Variable Documentation

◆ ff_hdr_parser

const AVCodecParser ff_hdr_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_RADIANCE_HDR },
.priv_data_size = sizeof(HDRParseContext),
.parser_parse = hdr_parse,
.parser_close = ff_parse_close,
}

Definition at line 74 of file hdr_parser.c.

hdr_parse
static int hdr_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: hdr_parser.c:34
ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:289
HDRParseContext
Definition: hdr_parser.c:30
AV_CODEC_ID_RADIANCE_HDR
@ AV_CODEC_ID_RADIANCE_HDR
Definition: codec_id.h:316