Struct AVHDRVividColorToneMappingParams
#[repr(C)]pub struct AVHDRVividColorToneMappingParams {Show 21 fields
pub targeted_system_display_maximum_luminance: AVRational,
pub base_enable_flag: i32,
pub base_param_m_p: AVRational,
pub base_param_m_m: AVRational,
pub base_param_m_a: AVRational,
pub base_param_m_b: AVRational,
pub base_param_m_n: AVRational,
pub base_param_k1: i32,
pub base_param_k2: i32,
pub base_param_k3: i32,
pub base_param_Delta_enable_mode: i32,
pub base_param_Delta: AVRational,
pub three_Spline_enable_flag: i32,
pub three_Spline_num: i32,
pub three_Spline_TH_mode: i32,
pub three_Spline_TH_enable_MB: AVRational,
pub three_Spline_TH_enable: AVRational,
pub three_Spline_TH_Delta1: AVRational,
pub three_Spline_TH_Delta2: AVRational,
pub three_Spline_enable_Strength: AVRational,
pub three_spline: [AVHDRVivid3SplineParams; 2],
}
Expand description
Color tone mapping parameters at a processing window in a dynamic metadata for CUVA 005.1:2021.
Fields§
§targeted_system_display_maximum_luminance: AVRational
The nominal maximum display luminance of the targeted system display, in multiples of 1.0/4095 candelas per square metre. The value shall be in the range of 0.0 to 1.0, inclusive.
base_enable_flag: i32
This flag indicates that transfer the base paramter(for value of 1)
base_param_m_p: AVRational
base_param_m_p in the base parameter, in multiples of 1.0/16383. The value shall be in the range of 0.0 to 1.0, inclusive.
base_param_m_m: AVRational
base_param_m_m in the base parameter, in multiples of 1.0/10. The value shall be in the range of 0.0 to 6.3, inclusive.
base_param_m_a: AVRational
base_param_m_a in the base parameter, in multiples of 1.0/1023. The value shall be in the range of 0.0 to 1.0 inclusive.
base_param_m_b: AVRational
base_param_m_b in the base parameter, in multiples of 1/1023. The value shall be in the range of 0.0 to 1.0, inclusive.
base_param_m_n: AVRational
base_param_m_n in the base parameter, in multiples of 1.0/10. The value shall be in the range of 0.0 to 6.3, inclusive.
base_param_k1: i32
indicates k1_0 in the base parameter, base_param_k1 <= 1: k1_0 = base_param_k1 base_param_k1 > 1: reserved
base_param_k2: i32
indicates k2_0 in the base parameter, base_param_k2 <= 1: k2_0 = base_param_k2 base_param_k2 > 1: reserved
base_param_k3: i32
indicates k3_0 in the base parameter, base_param_k3 == 1: k3_0 = base_param_k3 base_param_k3 == 2: k3_0 = maximum_maxrgb base_param_k3 > 2: reserved
base_param_Delta_enable_mode: i32
This flag indicates that delta mode of base paramter(for value of 1)
base_param_Delta: AVRational
base_param_Delta in the base parameter, in multiples of 1.0/127. The value shall be in the range of 0.0 to 1.0, inclusive.
three_Spline_enable_flag: i32
indicates 3Spline_enable_flag in the base parameter, This flag indicates that transfer three Spline of base paramter(for value of 1)
three_Spline_num: i32
The number of three Spline. The value shall be in the range of 1 to 2, inclusive.
three_Spline_TH_mode: i32
The mode of three Spline. the value shall be in the range of 0 to 3, inclusive. @deprecated Use three_spline instead
three_Spline_TH_enable_MB: AVRational
three_Spline_TH_enable_MB is in the range of 0.0 to 1.0, inclusive and in multiples of 1.0/255. @deprecated Use three_spline instead
three_Spline_TH_enable: AVRational
3Spline_TH_enable of three Spline. The value shall be in the range of 0.0 to 1.0, inclusive. and in multiples of 1.0/4095. @deprecated Use three_spline instead
three_Spline_TH_Delta1: AVRational
3Spline_TH_Delta1 of three Spline. The value shall be in the range of 0.0 to 0.25, inclusive, and in multiples of 0.25/1023. @deprecated Use three_spline instead
three_Spline_TH_Delta2: AVRational
3Spline_TH_Delta2 of three Spline. The value shall be in the range of 0.0 to 0.25, inclusive, and in multiples of 0.25/1023. @deprecated Use three_spline instead
three_Spline_enable_Strength: AVRational
3Spline_enable_Strength of three Spline. The value shall be in the range of 0.0 to 1.0, inclusive, and in multiples of 1.0/255. @deprecated Use three_spline instead
three_spline: [AVHDRVivid3SplineParams; 2]
Trait Implementations§
§impl Clone for AVHDRVividColorToneMappingParams
impl Clone for AVHDRVividColorToneMappingParams
§fn clone(&self) -> AVHDRVividColorToneMappingParams
fn clone(&self) -> AVHDRVividColorToneMappingParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more