[−][src]Enum dcv_color_primitives::PixelFormat
An enumeration of supported pixel formats.
Variants
RGB with alpha channel first.
32 bits per pixel
Reverse RGB with alpha channel last.
32 bits per pixel
Reverse RGB packed into 24 bits without padding.
24 bits per pixel
RGB with alpha channel last.
32 bits per pixel
RGB packed into 24 bits without padding.
24 bits per pixel
YUV with one luma plane Y then 2 chroma planes U and V. Chroma planes are not sub-sampled.
24 bits per pixel
YUV with one luma plane Y then 2 chroma planes U, V. Chroma planes are sub-sampled in the horizontal dimension, by a factor of 2.
16 bits per pixel
YUV with one luma plane Y then U chroma plane and last the V chroma plane. The two chroma planes are sub-sampled in both the horizontal and vertical dimensions by a factor of 2.
12 bits per pixel
YUV with one luma plane Y then one plane with U and V values interleaved. Chroma planes are subsampled in both the horizontal and vertical dimensions by a factor of 2.
12 bits per pixel
Trait Implementations
impl Clone for PixelFormat
[src]
fn clone(&self) -> PixelFormat
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PixelFormat
[src]
Auto Trait Implementations
impl RefUnwindSafe for PixelFormat
impl Send for PixelFormat
impl Sync for PixelFormat
impl Unpin for PixelFormat
impl UnwindSafe for PixelFormat
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,