pub enum ChromaFormat {
Monochrome,
Yuv420,
Yuv422,
Yuv444,
Yuv440,
}Expand description
Chroma subsampling of a decoded frame.
Variants§
Monochrome
Luma only.
Yuv420
Chroma halved both ways.
Yuv422
Chroma halved horizontally.
Yuv444
Full-resolution chroma.
Yuv440
Chroma halved vertically only (VP9 profile 1).
Implementations§
Trait Implementations§
Source§impl Clone for ChromaFormat
impl Clone for ChromaFormat
impl Copy for ChromaFormat
Source§impl Debug for ChromaFormat
impl Debug for ChromaFormat
impl Eq for ChromaFormat
Source§impl PartialEq for ChromaFormat
impl PartialEq for ChromaFormat
impl StructuralPartialEq for ChromaFormat
Auto Trait Implementations§
impl Forget for ChromaFormat
impl Freeze for ChromaFormat
impl Move for ChromaFormat
impl RefUnwindSafe for ChromaFormat
impl Send for ChromaFormat
impl Sync for ChromaFormat
impl Unpin for ChromaFormat
impl UnsafeUnpin for ChromaFormat
impl UnwindSafe for ChromaFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more