pub enum MatrixCoefficients {
Show 14 variants
Unknown,
Identity,
Bt709,
Fcc73682,
Bt470bg,
Smpte170,
Smpte240,
YCoCg,
Bt2020Ncl,
Bt2020Cl,
SmpteSt2085,
ChromaDerivedNcl,
ChromaDerivedCl,
Bt2100,
}
Expand description
The Matrix Coefficients of the video used to derive luma and chroma values from red, green, and blue color primaries.
For clarity, the value and meanings for MatrixCoefficients
are adopted from
Table 4 of ISO/IEC 23001-8:2016 or ITU-T H.273.
Variants§
Unknown
Unknown,
Identity
Identity.
Bt709
ITU-R BT.709.
Fcc73682
US FCC 73.682.
Bt470bg
ITU-R BT.470BG.
Smpte170
SMPTE 170M.
Smpte240
SMPTE 240M.
YCoCg
YCoCg.
Bt2020Ncl
BT2020 Non-constant Luminance.
Bt2020Cl
BT2020 Constant Luminance.
SmpteSt2085
SMPTE ST 2085.
ChromaDerivedNcl
Chroma-derived Non-constant Luminance.
ChromaDerivedCl
Chroma-derived Constant Luminance.
Bt2100
ITU-R BT.2100-0.
Trait Implementations§
source§impl Clone for MatrixCoefficients
impl Clone for MatrixCoefficients
source§fn clone(&self) -> MatrixCoefficients
fn clone(&self) -> MatrixCoefficients
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MatrixCoefficients
impl Debug for MatrixCoefficients
source§impl From<u64> for MatrixCoefficients
impl From<u64> for MatrixCoefficients
source§impl PartialEq<MatrixCoefficients> for MatrixCoefficients
impl PartialEq<MatrixCoefficients> for MatrixCoefficients
source§fn eq(&self, other: &MatrixCoefficients) -> bool
fn eq(&self, other: &MatrixCoefficients) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MatrixCoefficients
impl Eq for MatrixCoefficients
impl StructuralEq for MatrixCoefficients
impl StructuralPartialEq for MatrixCoefficients
Auto Trait Implementations§
impl RefUnwindSafe for MatrixCoefficients
impl Send for MatrixCoefficients
impl Sync for MatrixCoefficients
impl Unpin for MatrixCoefficients
impl UnwindSafe for MatrixCoefficients
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
Mutably borrows from an owned value. Read more