Colorspace (color model/pixel format). Only subset of them is supported.
yuv4mpeg can only handle yuv444p, yuv422p, yuv420p, yuv411p and gray8 pixel formats. And using 'strict -1' also yuv444p9, yuv422p9, yuv420p9, yuv444p10, yuv422p10, yuv420p10, yuv444p12, yuv422p12, yuv420p12, yuv444p14, yuv422p14, yuv420p14, yuv444p16, yuv422p16, yuv420p16, gray9, gray10, gray12 and gray16 pixel formats.
Grayscale only, 8-bit.
4:2:0 with coincident chroma planes, 8-bit.
4:2:0 with coincident chroma planes, 10-bit.
4:2:0 with coincident chroma planes, 12-bit.
4:2:0 with biaxially-displaced chroma planes, 8-bit.
4:2:0 with vertically-displaced chroma planes, 8-bit.
Found in some files. Same as
pub fn get_bit_depth(self) -> usize[src]
Return the bit depth per sample
pub fn get_bytes_per_sample(self) -> usize[src]
Return the number of bytes in a sample
impl Clone for Colorspace[src]
impl Copy for Colorspace[src]
impl Debug for Colorspace[src]
Auto Trait Implementations
impl RefUnwindSafe for Colorspace
impl Send for Colorspace
impl Sync for Colorspace
impl Unpin for Colorspace
impl UnwindSafe for Colorspace
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.