Enum vp9_parser::Subsampling
source · [−]pub enum Subsampling {
Yuv444,
Yuv440,
Yuv422,
Yuv420,
}
Expand description
Chroma subsampling.
Variants
Yuv444
4:4:4 - No chrome subsampling.
Yuv440
4:4:0 - Subsampling along the y axis.
Yuv422
4:2:2 - Subsampling along the x axis.
Yuv420
4:2:0 - Subsampling along both x and y axis.
Trait Implementations
sourceimpl Clone for Subsampling
impl Clone for Subsampling
sourcefn clone(&self) -> Subsampling
fn clone(&self) -> Subsampling
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Subsampling
impl Debug for Subsampling
sourceimpl Ord for Subsampling
impl Ord for Subsampling
sourceimpl PartialEq<Subsampling> for Subsampling
impl PartialEq<Subsampling> for Subsampling
sourceimpl PartialOrd<Subsampling> for Subsampling
impl PartialOrd<Subsampling> for Subsampling
sourcefn partial_cmp(&self, other: &Subsampling) -> Option<Ordering>
fn partial_cmp(&self, other: &Subsampling) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for Subsampling
impl Eq for Subsampling
impl StructuralEq for Subsampling
impl StructuralPartialEq for Subsampling
Auto Trait Implementations
impl RefUnwindSafe for Subsampling
impl Send for Subsampling
impl Sync for Subsampling
impl Unpin for Subsampling
impl UnwindSafe for Subsampling
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more