Enum av_data::pixel::TrichromaticEncodingSystem
source · [−]pub enum TrichromaticEncodingSystem {
RGB,
YUV(YUVSystem),
XYZ,
}Expand description
Trichromatic color encoding system.
Variants
RGB
Image represented by three color channels: Red, Green, and Blue.
YUV(YUVSystem)
Image represented by a luminance (luma) channel and two chroma channels.
XYZ
In the CIE 1931 model, Y is the luminance, Z is quasi-equal to blue (of CIE RGB), and X is a mix of the three CIE RGB curves chosen to be nonnegative. Setting Y as luminance has the useful result that for any given Y value, the XZ plane will contain all possible chromaticities at that luminance.
Trait Implementations
sourceimpl Clone for TrichromaticEncodingSystem
impl Clone for TrichromaticEncodingSystem
sourcefn clone(&self) -> TrichromaticEncodingSystem
fn clone(&self) -> TrichromaticEncodingSystem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TrichromaticEncodingSystem
impl Debug for TrichromaticEncodingSystem
sourceimpl Display for TrichromaticEncodingSystem
impl Display for TrichromaticEncodingSystem
sourceimpl PartialEq<TrichromaticEncodingSystem> for TrichromaticEncodingSystem
impl PartialEq<TrichromaticEncodingSystem> for TrichromaticEncodingSystem
sourcefn eq(&self, other: &TrichromaticEncodingSystem) -> bool
fn eq(&self, other: &TrichromaticEncodingSystem) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for TrichromaticEncodingSystem
impl Eq for TrichromaticEncodingSystem
impl StructuralEq for TrichromaticEncodingSystem
impl StructuralPartialEq for TrichromaticEncodingSystem
Auto Trait Implementations
impl RefUnwindSafe for TrichromaticEncodingSystem
impl Send for TrichromaticEncodingSystem
impl Sync for TrichromaticEncodingSystem
impl Unpin for TrichromaticEncodingSystem
impl UnwindSafe for TrichromaticEncodingSystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more