Enum rav1e::prelude::color::MatrixCoefficients[][src]

#[repr(C)]pub enum MatrixCoefficients {
    Identity,
    BT709,
    Unspecified,
    FCC,
    BT470BG,
    BT601,
    SMPTE240,
    YCgCo,
    BT2020NCL,
    BT2020CL,
    SMPTE2085,
    ChromatNCL,
    ChromatCL,
    ICtCp,
}

Matrix coefficients

As defined by the “Matrix coefficients” section of ISO/IEC 23091-4/ITU-TH.273.

Variants

Identity

Identity matrix

BT709

BT.709

Unspecified

Unspecified, must be signaled or inferred outside of the bitstream.

FCC

US FCC 73.628

BT470BG

BT.470 System B, G (historical)

BT601

BT.601-7 525 (SMPTE 170 M)

SMPTE240

SMPTE 240 M

YCgCo

YCgCo

BT2020NCL

BT.2020 non-constant luminance, BT.2100 YCbCr

BT2020CL

BT.2020 constant luminance

SMPTE2085

SMPTE ST 2085 YDzDx

ChromatNCL

Chromaticity-derived non-constant luminance

ChromatCL

Chromaticity-derived constant luminance

ICtCp

BT.2020 ICtCp

Implementations

impl MatrixCoefficients[src]

pub fn variants() -> [&'static str; 14][src]

Returns an array of valid values which can be converted into this enum.

Trait Implementations

impl Clone for MatrixCoefficients[src]

impl Copy for MatrixCoefficients[src]

impl Debug for MatrixCoefficients[src]

impl Default for MatrixCoefficients[src]

impl Display for MatrixCoefficients[src]

impl FromPrimitive for MatrixCoefficients[src]

impl FromStr for MatrixCoefficients[src]

type Err = String

The associated error which can be returned from parsing.

impl PartialEq<MatrixCoefficients> for MatrixCoefficients[src]

impl StructuralPartialEq for MatrixCoefficients[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> ToString for T where
    T: Display + ?Sized
[src]

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.