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

Go to the source code of this file.

Functions

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

Variables

static const int32_t maxrgb_den = 4095
 
static const int32_t color_saturation_gain_den = 128
 
static const int32_t maximum_luminance_den = 4095
 
static const int32_t base_param_m_p_den = 16383
 
static const int32_t base_param_m_m_den = 10
 
static const int32_t base_param_m_a_den = 1023
 
static const int32_t base_param_m_b_den = 1023
 
static const int32_t base_param_m_n_den = 10
 
static const int32_t base_param_Delta_den = 127
 

Function Documentation

◆ ff_parse_itu_t_t35_to_dynamic_hdr_vivid()

int ff_parse_itu_t_t35_to_dynamic_hdr_vivid ( AVDynamicHDRVivid s,
const uint8_t *  data,
int  size 
)

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

Parameters
sA pointer containing the decoded AVDynamicHDRVivid 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 32 of file dynamic_hdr_vivid.c.

Variable Documentation

◆ maxrgb_den

const int32_t maxrgb_den = 4095
static

Definition at line 22 of file dynamic_hdr_vivid.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr_vivid().

◆ color_saturation_gain_den

const int32_t color_saturation_gain_den = 128
static

Definition at line 23 of file dynamic_hdr_vivid.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr_vivid().

◆ maximum_luminance_den

const int32_t maximum_luminance_den = 4095
static

Definition at line 24 of file dynamic_hdr_vivid.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr_vivid().

◆ base_param_m_p_den

const int32_t base_param_m_p_den = 16383
static

Definition at line 25 of file dynamic_hdr_vivid.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr_vivid().

◆ base_param_m_m_den

const int32_t base_param_m_m_den = 10
static

Definition at line 26 of file dynamic_hdr_vivid.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr_vivid().

◆ base_param_m_a_den

const int32_t base_param_m_a_den = 1023
static

Definition at line 27 of file dynamic_hdr_vivid.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr_vivid().

◆ base_param_m_b_den

const int32_t base_param_m_b_den = 1023
static

Definition at line 28 of file dynamic_hdr_vivid.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr_vivid().

◆ base_param_m_n_den

const int32_t base_param_m_n_den = 10
static

Definition at line 29 of file dynamic_hdr_vivid.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr_vivid().

◆ base_param_Delta_den

const int32_t base_param_Delta_den = 127
static

Definition at line 30 of file dynamic_hdr_vivid.c.

Referenced by ff_parse_itu_t_t35_to_dynamic_hdr_vivid().