[−][src]Enum aom_decode::RowsIters
Iterators of frame's pixels (YUV planes)
It's an enum, because frames may have different pixel formats, and you get format-specific iterator in the enum
Variants
8-bit YUV (YCbCr, YCgCo, etc.). This is a collection of 3 iterators. Each may have a different size depending on chroma_sampling
.
Consult matrix_coefficients() for meaning of these channels
Fields of YuvPlanes8
8-bit grayscale
10/12/16-bit color. Not subsampled. See depth
field for actual range of pixels used.
It's not u16
, because it's not guaranteed to be aligned. Use u16::from_ne_bytes()
or ptr::read_unaligned
.
Fields of YuvPlanes16
10/12/16-bit grayscale. It's not u16
, because it's not guaranteed to be aligned. Use u16::from_ne_bytes()
or ptr::read_unaligned
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for RowsIters<'a>
impl<'a> !Send for RowsIters<'a>
impl<'a> !Sync for RowsIters<'a>
impl<'a> Unpin for RowsIters<'a>
impl<'a> UnwindSafe for RowsIters<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,