[][src]Struct av_metrics::video::VideoDetails

pub struct VideoDetails {
    pub width: usize,
    pub height: usize,
    pub bit_depth: usize,
    pub chroma_sampling: ChromaSampling,
    pub chroma_sample_position: ChromaSamplePosition,
    pub time_base: Rational,
    pub luma_padding: usize,
}

A Structure containing Video Details as per Plane's Config

Fields

width: usize

Width in pixels.

height: usize

Height in pixels.

bit_depth: usize

Bit-depth of the Video

chroma_sampling: ChromaSampling

ChromaSampling of the Video.

chroma_sample_position: ChromaSamplePosition

Chroma Sampling Position of the Video.

time_base: Rational

Add Time base of the Video.

luma_padding: usize

Padding Constant

Trait Implementations

impl Clone for VideoDetails[src]

impl Copy for VideoDetails[src]

impl Debug for VideoDetails[src]

impl Default for VideoDetails[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> 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.