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

§

fn clone(&self) -> AVHDRVividColorToneMappingParams

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for AVHDRVividColorToneMappingParams

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Copy for AVHDRVividColorToneMappingParams

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more