pub enum YuvFormat {
Yuv420p,
Yuv422p,
Yuv444p,
}Expand description
YUV sub-sampling format for YuvUploadNode.
Variants§
Yuv420p
Planar 4:2:0 — Y at full resolution; Cb/Cr at half width and height.
Yuv422p
Planar 4:2:2 — Y at full resolution; Cb/Cr at half width.
Yuv444p
Planar 4:4:4 — all planes at full resolution.
Trait Implementations§
impl Copy for YuvFormat
impl Eq for YuvFormat
impl StructuralPartialEq for YuvFormat
Auto Trait Implementations§
impl Freeze for YuvFormat
impl RefUnwindSafe for YuvFormat
impl Send for YuvFormat
impl Sync for YuvFormat
impl Unpin for YuvFormat
impl UnsafeUnpin for YuvFormat
impl UnwindSafe for YuvFormat
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