Struct AVHDRVividColorTransformParams
#[repr(C)]pub struct AVHDRVividColorTransformParams {
pub minimum_maxrgb: AVRational,
pub average_maxrgb: AVRational,
pub variance_maxrgb: AVRational,
pub maximum_maxrgb: AVRational,
pub tone_mapping_mode_flag: i32,
pub tone_mapping_param_num: i32,
pub tm_params: [AVHDRVividColorToneMappingParams; 2],
pub color_saturation_mapping_flag: i32,
pub color_saturation_num: i32,
pub color_saturation_gain: [AVRational; 8],
}
Expand description
Color transform parameters at a processing window in a dynamic metadata for CUVA 005.1:2021.
Fields§
§minimum_maxrgb: AVRational
Indicates the minimum brightness of the displayed content. The values should be in the range of 0.0 to 1.0, inclusive and in multiples of 1/4095.
average_maxrgb: AVRational
Indicates the average brightness of the displayed content. The values should be in the range of 0.0 to 1.0, inclusive and in multiples of 1/4095.
variance_maxrgb: AVRational
Indicates the variance brightness of the displayed content. The values should be in the range of 0.0 to 1.0, inclusive and in multiples of 1/4095.
maximum_maxrgb: AVRational
Indicates the maximum brightness of the displayed content. The values should be in the range of 0.0 to 1.0, inclusive and in multiples of 1/4095.
tone_mapping_mode_flag: i32
This flag indicates that the metadata for the tone mapping function in the processing window is present (for value of 1).
tone_mapping_param_num: i32
The number of tone mapping param. The value shall be in the range of 1 to 2, inclusive.
tm_params: [AVHDRVividColorToneMappingParams; 2]
The color tone mapping parameters.
color_saturation_mapping_flag: i32
This flag indicates that the metadata for the color saturation mapping in the processing window is present (for value of 1).
color_saturation_num: i32
The number of color saturation param. The value shall be in the range of 0 to 7, inclusive.
color_saturation_gain: [AVRational; 8]
Indicates the color correction strength parameter. The values should be in the range of 0.0 to 2.0, inclusive and in multiples of 1/128.
Trait Implementations§
§impl Clone for AVHDRVividColorTransformParams
impl Clone for AVHDRVividColorTransformParams
§fn clone(&self) -> AVHDRVividColorTransformParams
fn clone(&self) -> AVHDRVividColorTransformParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more