#[non_exhaustive]#[repr(u8)]pub enum CicpMatrixCoefficients {
Show 17 variants
Identity = 0,
Bt709 = 1,
Unspecified = 2,
UsFCC = 4,
Bt470BG = 5,
Smpte170m = 6,
Smpte240m = 7,
YCgCo = 8,
Bt2020NonConstant = 9,
Bt2020Constant = 10,
Smpte2085 = 11,
ChromaticityDerivedNonConstant = 12,
ChromaticityDerivedConstant = 13,
Bt2100 = 14,
IptPqC2 = 15,
YCgCoRe = 16,
YCgCoRo = 17,
}Expand description
Refer to Rec H.273 Table 4.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Identity = 0
The identity matrix. Typically used for GBR (often referred to as RGB); however, may also be used for YZX (often referred to as XYZ); IEC 61966-2-1 sRGB SMPTE ST 428-1
Bt709 = 1
Rec. ITU-R BT.709-6 Rec. ITU-R BT.1361-0 conventional colour gamut system and extended colour gamut system (historical) IEC 61966-2-4 xvYCC709 SMPTE RP 177 Annex B
Unspecified = 2
Explicitly, the matrix coefficients are not determined.
UsFCC = 4
United States Federal Communications Commission (2003) Title 47 Code of Federal Regulations 73.682 (a) (20)
Bt470BG = 5
Rec. ITU-R BT.470-6 System B, G (historical) Rec. ITU-R BT.601-7 625 Rec. ITU-R BT.1358-0 625 (historical) Rec. ITU-R BT.1700-0 625 PAL and 625 SECAM IEC 61966-2-1 sYCC IEC 61966-2-4 xvYCC601 (functionally the same as the value 6)
Smpte170m = 6
(functionally the same as the value 5)
Smpte240m = 7
SMPTE ST 240
YCgCo = 8
YCgCo
Bt2020NonConstant = 9
Rec. ITU-R BT.2020-2 (non-constant luminance) Rec. ITU-R BT.2100-2 Y′CbCr
Bt2020Constant = 10
Rec. ITU-R BT.2020-2 (constant luminance)
Smpte2085 = 11
SMPTE ST 2085
ChromaticityDerivedNonConstant = 12
Chromaticity-derived non-constant luminance system
ChromaticityDerivedConstant = 13
Chromaticity-derived constant luminance system
Bt2100 = 14
Rec. ITU-R BT.2100-2 ICTCp
IptPqC2 = 15
Colour representation developed in SMPTE as IPT-PQ-C2.
YCgCoRe = 16
YCgCo with added bit-depth (2-bit).
YCgCoRo = 17
YCgCo with added bit-depth (1-bit).
Trait Implementations§
Source§impl Clone for CicpMatrixCoefficients
impl Clone for CicpMatrixCoefficients
Source§fn clone(&self) -> CicpMatrixCoefficients
fn clone(&self) -> CicpMatrixCoefficients
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CicpMatrixCoefficients
impl Debug for CicpMatrixCoefficients
Source§impl Hash for CicpMatrixCoefficients
impl Hash for CicpMatrixCoefficients
Source§impl PartialEq for CicpMatrixCoefficients
impl PartialEq for CicpMatrixCoefficients
impl Copy for CicpMatrixCoefficients
impl Eq for CicpMatrixCoefficients
impl StructuralPartialEq for CicpMatrixCoefficients
Auto Trait Implementations§
impl Freeze for CicpMatrixCoefficients
impl RefUnwindSafe for CicpMatrixCoefficients
impl Send for CicpMatrixCoefficients
impl Sync for CicpMatrixCoefficients
impl Unpin for CicpMatrixCoefficients
impl UnwindSafe for CicpMatrixCoefficients
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more