Enum vp9_parser::MetadataSubsampling
source · [−]pub enum MetadataSubsampling {
Unknown,
Yuv420,
Yuv420Colocated,
Yuv422,
Yuv444,
}
Expand description
Chroma subsampling as defined in the Metadata
Variants
Unknown
Unknown.
Yuv420
4:2:0 - Subsampling along both x and y axis.
Yuv420Colocated
4:2:0 - Chroma subsampling colocated with (0,0) luma.
Yuv422
4:2:2 - Subsampling along the x axis.
Yuv444
4:4:4 - No chrome subsampling.
Trait Implementations
sourceimpl Clone for MetadataSubsampling
impl Clone for MetadataSubsampling
sourcefn clone(&self) -> MetadataSubsampling
fn clone(&self) -> MetadataSubsampling
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 MetadataSubsampling
impl Debug for MetadataSubsampling
sourceimpl From<u8> for MetadataSubsampling
impl From<u8> for MetadataSubsampling
sourceimpl Ord for MetadataSubsampling
impl Ord for MetadataSubsampling
sourceimpl PartialOrd<MetadataSubsampling> for MetadataSubsampling
impl PartialOrd<MetadataSubsampling> for MetadataSubsampling
sourcefn partial_cmp(&self, other: &MetadataSubsampling) -> Option<Ordering>
fn partial_cmp(&self, other: &MetadataSubsampling) -> 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 MetadataSubsampling
impl Eq for MetadataSubsampling
impl StructuralEq for MetadataSubsampling
impl StructuralPartialEq for MetadataSubsampling
Auto Trait Implementations
impl RefUnwindSafe for MetadataSubsampling
impl Send for MetadataSubsampling
impl Sync for MetadataSubsampling
impl Unpin for MetadataSubsampling
impl UnwindSafe for MetadataSubsampling
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