pub struct MatrixCoefficients(/* private fields */);Expand description
Full re-export of zenpixels core types (zero module name collisions!).
1-byte lossless ITU-T H.273 Table 4 MatrixCoefficients code.
Preserves arbitrary u8 wire codes losslessly (including unknown, reserved, or future
codes such as 10 = BT.2020 CL or 14 = ICtCp), while exposing named constants for
every standardized ITU-T H.273 Table 4 entry.
Implementations§
Source§impl MatrixCoefficients
impl MatrixCoefficients
Sourcepub const IDENTITY: MatrixCoefficients
pub const IDENTITY: MatrixCoefficients
Identity / RGB / GBR (MC = 0).
Sourcepub const BT709: MatrixCoefficients
pub const BT709: MatrixCoefficients
ITU-R BT.709 (MC = 1).
Sourcepub const UNSPECIFIED: MatrixCoefficients
pub const UNSPECIFIED: MatrixCoefficients
Unspecified (MC = 2).
Sourcepub const FCC: MatrixCoefficients
pub const FCC: MatrixCoefficients
FCC Title 47 CFR 73.682 (MC = 4).
Sourcepub const BT470BG: MatrixCoefficients
pub const BT470BG: MatrixCoefficients
ITU-R BT.470-6 System B, G (MC = 5).
Sourcepub const BT601: MatrixCoefficients
pub const BT601: MatrixCoefficients
SMPTE 170M / ITU-R BT.601 (MC = 6).
Sourcepub const SMPTE240M: MatrixCoefficients
pub const SMPTE240M: MatrixCoefficients
SMPTE 240M (MC = 7).
Sourcepub const YCGCO: MatrixCoefficients
pub const YCGCO: MatrixCoefficients
YCgCo (MC = 8).
Sourcepub const BT2020_NCL: MatrixCoefficients
pub const BT2020_NCL: MatrixCoefficients
ITU-R BT.2020 non-constant luminance (MC = 9).
Sourcepub const BT2020_CL: MatrixCoefficients
pub const BT2020_CL: MatrixCoefficients
ITU-R BT.2020 constant luminance (MC = 10).
Sourcepub const SMPTE2085: MatrixCoefficients
pub const SMPTE2085: MatrixCoefficients
SMPTE ST 2085 (MC = 11).
Sourcepub const CHROMA_DERIVED_NCL: MatrixCoefficients
pub const CHROMA_DERIVED_NCL: MatrixCoefficients
Chromaticity-derived non-constant luminance (MC = 12).
Sourcepub const CHROMA_DERIVED_CL: MatrixCoefficients
pub const CHROMA_DERIVED_CL: MatrixCoefficients
Chromaticity-derived constant luminance (MC = 13).
Sourcepub const ICTCP: MatrixCoefficients
pub const ICTCP: MatrixCoefficients
ITU-R BT.2100 ICtCp (MC = 14).
Sourcepub const fn from_code(code: u8) -> MatrixCoefficients
pub const fn from_code(code: u8) -> MatrixCoefficients
Wrap any raw ITU-T H.273 Table 4 matrix_coefficients byte losslessly.
Trait Implementations§
Source§impl Clone for MatrixCoefficients
impl Clone for MatrixCoefficients
Source§fn clone(&self) -> MatrixCoefficients
fn clone(&self) -> MatrixCoefficients
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more