pub enum VideoColorMatrix {
Unspecified,
Bt601,
Bt709,
Bt2020,
}Expand description
Matrix coefficients associated with a frame’s source color conversion.
This is deliberately narrower than complete color management. Primaries, transfer function, chromatic adaptation, and mastering metadata are not inferred from this value.
Variants§
Unspecified
No matrix coefficients were supplied by the producer.
Bt601
ITU-R BT.601 matrix coefficients.
Bt709
ITU-R BT.709 matrix coefficients.
Bt2020
ITU-R BT.2020 non-constant-luminance matrix coefficients.
Trait Implementations§
Source§impl Clone for VideoColorMatrix
impl Clone for VideoColorMatrix
impl Copy for VideoColorMatrix
Source§impl Debug for VideoColorMatrix
impl Debug for VideoColorMatrix
impl Eq for VideoColorMatrix
Source§impl PartialEq for VideoColorMatrix
impl PartialEq for VideoColorMatrix
impl StructuralPartialEq for VideoColorMatrix
Auto Trait Implementations§
impl Forget for VideoColorMatrix
impl Freeze for VideoColorMatrix
impl Move for VideoColorMatrix
impl RefUnwindSafe for VideoColorMatrix
impl Send for VideoColorMatrix
impl Sync for VideoColorMatrix
impl Unpin for VideoColorMatrix
impl UnsafeUnpin for VideoColorMatrix
impl UnwindSafe for VideoColorMatrix
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