Enum CicpMatrixCoefficients
#[repr(u8)]
#[non_exhaustive]
pub enum CicpMatrixCoefficients
Refer to Rec H.273 Table 4.
Variants
-
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
impl Clone for CicpMatrixCoefficients
fn clone(&self) -> CicpMatrixCoefficients
impl Copy for CicpMatrixCoefficients
impl Debug for CicpMatrixCoefficients
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for CicpMatrixCoefficients
impl Hash for CicpMatrixCoefficients
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for CicpMatrixCoefficients
fn eq(&self, other: &CicpMatrixCoefficients) -> bool
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 UnsafeUnpin for CicpMatrixCoefficients
impl UnwindSafe for CicpMatrixCoefficients
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for CicpMatrixCoefficients
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for CicpMatrixCoefficients
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for CicpMatrixCoefficients
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for CicpMatrixCoefficients
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for CicpMatrixCoefficients
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for CicpMatrixCoefficients
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for CicpMatrixCoefficients
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoEither for CicpMatrixCoefficients
impl<T> Pointable for CicpMatrixCoefficients
const ALIGN: usize = _;type Init = T;unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> Read<Exclusive, BecauseExclusive> for CicpMatrixCoefficients
where
T: ?Sized,
impl<T> ToOwned for CicpMatrixCoefficients
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for CicpMatrixCoefficients
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for CicpMatrixCoefficients
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for CicpMatrixCoefficients
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>