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§
Source§impl Clone for MetadataSubsampling
impl Clone for MetadataSubsampling
Source§fn clone(&self) -> MetadataSubsampling
fn clone(&self) -> MetadataSubsampling
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MetadataSubsampling
impl Debug for MetadataSubsampling
Source§impl From<u8> for MetadataSubsampling
impl From<u8> for MetadataSubsampling
Source§impl Ord for MetadataSubsampling
impl Ord for MetadataSubsampling
Source§fn cmp(&self, other: &MetadataSubsampling) -> Ordering
fn cmp(&self, other: &MetadataSubsampling) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MetadataSubsampling
impl PartialEq for MetadataSubsampling
Source§impl PartialOrd for MetadataSubsampling
impl PartialOrd for MetadataSubsampling
impl Copy for MetadataSubsampling
impl Eq for MetadataSubsampling
impl StructuralPartialEq for MetadataSubsampling
Auto Trait Implementations§
impl Freeze for MetadataSubsampling
impl RefUnwindSafe for MetadataSubsampling
impl Send for MetadataSubsampling
impl Sync for MetadataSubsampling
impl Unpin for MetadataSubsampling
impl UnwindSafe for MetadataSubsampling
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