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

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

Implementations§

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

Whether image uses chroma subsampling or not

How many bits per pixel that is

What flavor of RGB color this should be converted to

That’s basically gamma correction

Flavor of YUV used for the pixels

See yuv crate for conversion to RGB.

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

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§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.