[][src]Struct aom_decode::FrameTempRef

pub struct FrameTempRef<'a>(_, _);

Frame held in decoder's internal state. Must be dropped before the next call.

Implementations

impl<'_> FrameTempRef<'_>[src]

pub fn rows_iter(&self) -> Result<RowsIters<'_>>[src]

Access pixel data

Iterator over rows of image data.

The data can be grayscale (mono) or YUV (YCbCr), so the result is wrapped in an enum

pub fn chroma_sampling(&self) -> Result<ChromaSampling>[src]

Whether image uses chroma subsampling or not

pub fn depth(&self) -> Result<Depth>[src]

How many bits per pixel that is

pub fn color_primaries(&self) -> Option<ColorPrimaries>[src]

What flavor of RGB color this should be converted to

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

That's basically gamma correction

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

Flavor of YUV used for the pixels

See yuv crate for conversion to RGB.

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

Whether pixels are in 0-255 or 16-235/240 range.

pub fn chroma_sample_position(&self) -> Option<ChromaSamplePosition>[src]

Alignment of the chroma channels

Routines in this library don't support this detail. Also, chroma subsampling is useless in AV1, so please don't use it.

Trait Implementations

impl<'_> Debug for FrameTempRef<'_>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for FrameTempRef<'a>

impl<'a> !Send for FrameTempRef<'a>

impl<'a> !Sync for FrameTempRef<'a>

impl<'a> Unpin for FrameTempRef<'a>

impl<'a> !UnwindSafe for FrameTempRef<'a>

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