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§
Source§impl Clone for Subsampling
impl Clone for Subsampling
Source§fn clone(&self) -> Subsampling
fn clone(&self) -> Subsampling
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 Subsampling
impl Debug for Subsampling
Source§impl Ord for Subsampling
impl Ord for Subsampling
Source§fn cmp(&self, other: &Subsampling) -> Ordering
fn cmp(&self, other: &Subsampling) -> 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 Subsampling
impl PartialEq for Subsampling
Source§impl PartialOrd for Subsampling
impl PartialOrd for Subsampling
impl Copy for Subsampling
impl Eq 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 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