Struct matroska_demuxer::Colour[][src]

pub struct Colour { /* fields omitted */ }

Settings describing the colour format.

Implementations

impl Colour[src]

pub fn matrix_coefficients(&self) -> Option<MatrixCoefficients>[src]

The matrix coefficients of the video used to derive luma and chroma values from red, green, and blue color primaries.

pub fn bits_per_channel(&self) -> Option<u64>[src]

Number of decoded bits per channel.

pub fn chroma_subsampling_horz(&self) -> Option<u64>[src]

The amount of pixels to remove in the Cr and Cb channels for every pixel not removed horizontally.

pub fn chroma_subsampling_vert(&self) -> Option<u64>[src]

The amount of pixels to remove in the Cr and Cb channels for every pixel not removed vertically.

pub fn cb_subsampling_horz(&self) -> Option<u64>[src]

The amount of pixels to remove in the Cb channel for every pixel not removed horizontally.

pub fn cb_subsampling_vert(&self) -> Option<u64>[src]

The amount of pixels to remove in the Cb channel for every pixel not removed vertically.

pub fn chroma_sitting_horz(&self) -> Option<ChromaSitingHorz>[src]

How chroma is sub sampled horizontally.

pub fn chroma_sitting_vert(&self) -> Option<ChromaSitingVert>[src]

How chroma is sub sampled vertically.

pub fn range(&self) -> Option<Range>[src]

Clipping of the color ranges.

pub fn transfer_characteristics(&self) -> Option<TransferCharacteristics>[src]

The transfer characteristics of the video.

pub fn primaries(&self) -> Option<Primaries>[src]

The colour primaries of the video.

pub fn max_cll(&self) -> Option<u64>[src]

Maximum brightness of a single pixel (cd/m^2^).

pub fn max_fall(&self) -> Option<u64>[src]

Maximum brightness of a single full frame (cd/m^2^).

pub fn mastering_metadata(&self) -> Option<&MasteringMetadata>[src]

SMPTE 2086 mastering data.

Trait Implementations

impl Clone for Colour[src]

impl Debug for Colour[src]

Auto Trait Implementations

impl RefUnwindSafe for Colour

impl Send for Colour

impl Sync for Colour

impl Unpin for Colour

impl UnwindSafe for Colour

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> 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.