pub enum PixelLayout {
I400,
I420,
I422,
I444,
}Expand description
Pixel layout (chroma subsampling)
Variants§
I400
4:0:0 (grayscale, no chroma)
I420
4:2:0 (most common, half-resolution chroma horizontally and vertically)
I422
4:2:2 (half horizontal chroma resolution)
I444
4:4:4 (full resolution chroma)
Trait Implementations§
Source§impl Clone for PixelLayout
impl Clone for PixelLayout
Source§fn clone(&self) -> PixelLayout
fn clone(&self) -> PixelLayout
Returns a duplicate 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 PixelLayout
impl Debug for PixelLayout
Source§impl From<Rav1dPixelLayout> for PixelLayout
impl From<Rav1dPixelLayout> for PixelLayout
Source§fn from(layout: Rav1dPixelLayout) -> Self
fn from(layout: Rav1dPixelLayout) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PixelLayout
impl PartialEq for PixelLayout
impl Copy for PixelLayout
impl Eq for PixelLayout
impl StructuralPartialEq for PixelLayout
Auto Trait Implementations§
impl Freeze for PixelLayout
impl RefUnwindSafe for PixelLayout
impl Send for PixelLayout
impl Sync for PixelLayout
impl Unpin for PixelLayout
impl UnsafeUnpin for PixelLayout
impl UnwindSafe for PixelLayout
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