pub enum Subsampling {
C400,
C411,
C420,
C422,
C444,
}Expand description
How much colour detail a chroma component carries relative to luma.
Variants§
C400
No chroma: a single luma plane.
C411
4:1:1 — chroma at a quarter of the horizontal resolution.
C420
4:2:0 — chroma at half the resolution in both axes.
C422
4:2:2 — chroma at half the horizontal resolution.
C444
4:4:4 — chroma at the full resolution.
Trait Implementations§
Source§impl Clone for Subsampling
impl Clone for Subsampling
impl Copy for Subsampling
Source§impl Debug for Subsampling
impl Debug for Subsampling
impl Eq for Subsampling
Source§impl PartialEq for Subsampling
impl PartialEq for Subsampling
impl StructuralPartialEq for Subsampling
Auto Trait Implementations§
impl Freeze for Subsampling
impl RefUnwindSafe for Subsampling
impl Send for Subsampling
impl Sync for Subsampling
impl Unpin for Subsampling
impl UnsafeUnpin for Subsampling
impl UnwindSafe for Subsampling
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.