FFmpeg
Functions | Variables
dynamic_hdr10_plus.c File Reference
#include "dynamic_hdr10_plus.h"
#include "get_bits.h"

Go to the source code of this file.

Functions

int ff_parse_itu_t_t35_to_dynamic_hdr10_plus (AVDynamicHDRPlus *s, const uint8_t *data, int size)
 Parse the user data registered ITU-T T.35 to AVbuffer (AVDynamicHDRPlus). More...
 

Variables

static const int64_t luminance_den = 1
 
static const int32_t peak_luminance_den = 15
 
static const int64_t rgb_den = 100000
 
static const int32_t fraction_pixel_den = 1000
 
static const int32_t knee_point_den = 4095
 
static const int32_t bezier_anchor_den = 1023
 
static const int32_t saturation_weight_den = 8
 

Function Documentation

◆ ff_parse_itu_t_t35_to_dynamic_hdr10_plus()

int ff_parse_itu_t_t35_to_dynamic_hdr10_plus ( AVDynamicHDRPlus s,
const uint8_t *  data,
int  size 
)

Parse the user data registered ITU-T T.35 to AVbuffer (AVDynamicHDRPlus).

Parameters
sA pointer containing the decoded AVDynamicHDRPlus structure.
dataThe byte array containing the raw ITU-T T.35 data.
sizeSize of the data array in bytes.
Returns
0 if succeed. Otherwise, returns the appropriate AVERROR.

Definition at line 30 of file dynamic_hdr10_plus.c.

Referenced by decode_registered_user_data_dynamic_hdr_plus().

Variable Documentation

◆ luminance_den

const int64_t luminance_den = 1
static

Definition at line 22 of file dynamic_hdr10_plus.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr10_plus().

◆ peak_luminance_den

const int32_t peak_luminance_den = 15
static

Definition at line 23 of file dynamic_hdr10_plus.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr10_plus().

◆ rgb_den

const int64_t rgb_den = 100000
static

Definition at line 24 of file dynamic_hdr10_plus.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr10_plus().

◆ fraction_pixel_den

const int32_t fraction_pixel_den = 1000
static

Definition at line 25 of file dynamic_hdr10_plus.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr10_plus().

◆ knee_point_den

const int32_t knee_point_den = 4095
static

Definition at line 26 of file dynamic_hdr10_plus.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr10_plus().

◆ bezier_anchor_den

const int32_t bezier_anchor_den = 1023
static

Definition at line 27 of file dynamic_hdr10_plus.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr10_plus().

◆ saturation_weight_den

const int32_t saturation_weight_den = 8
static

Definition at line 28 of file dynamic_hdr10_plus.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr10_plus().