Struct rav1e::prelude::MasteringDisplay[][src]

pub struct MasteringDisplay {
    pub primaries: [ChromaticityPoint; 3],
    pub white_point: ChromaticityPoint,
    pub max_luminance: u32,
    pub min_luminance: u32,
}

High dynamic range mastering display color volume

As defined by CIE 1931

Fields

primaries: [ChromaticityPoint; 3]

Chromaticity coordinates in Red, Green, Blue order expressed as 0.16 fixed-point

white_point: ChromaticityPoint

Chromaticity coordinates expressed as 0.16 fixed-point

max_luminance: u32

24.8 fixed-point maximum luminance in candelas per square meter

min_luminance: u32

18.14 fixed-point minimum luminance in candelas per square meter

Trait Implementations

impl Clone for MasteringDisplay[src]

impl Copy for MasteringDisplay[src]

impl Debug for MasteringDisplay[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.