pub enum VideoPixelFormat {
Yuv420Planar8,
Nv12,
Yuv420Planar10,
P010,
P012,
}Expand description
Multi-plane YUV image layout admitted by the Video runtime.
Variants§
Yuv420Planar8
Three-plane 8-bit 4:2:0 (I420-style plane layout).
Nv12
Two-plane 8-bit 4:2:0 (NV12-style plane layout).
Yuv420Planar10
Three-plane 10-bit 4:2:0 stored in 16-bit components.
P010
Two-plane 10-bit 4:2:0 stored in 16-bit components (P010).
P012
Two-plane 12-bit 4:2:0 stored in 16-bit components (P012).
Trait Implementations§
Source§impl Clone for VideoPixelFormat
impl Clone for VideoPixelFormat
impl Copy for VideoPixelFormat
Source§impl Debug for VideoPixelFormat
impl Debug for VideoPixelFormat
impl Eq for VideoPixelFormat
Source§impl Ord for VideoPixelFormat
impl Ord for VideoPixelFormat
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for VideoPixelFormat
impl PartialEq for VideoPixelFormat
Source§impl PartialOrd for VideoPixelFormat
impl PartialOrd for VideoPixelFormat
impl StructuralPartialEq for VideoPixelFormat
Auto Trait Implementations§
impl Forget for VideoPixelFormat
impl Freeze for VideoPixelFormat
impl Move for VideoPixelFormat
impl RefUnwindSafe for VideoPixelFormat
impl Send for VideoPixelFormat
impl Sync for VideoPixelFormat
impl Unpin for VideoPixelFormat
impl UnsafeUnpin for VideoPixelFormat
impl UnwindSafe for VideoPixelFormat
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