pub enum MatrixChannels {
Rgb,
Bgr,
Luma,
Yuv,
}Expand description
Output channel selection for to_matrix.
Variants§
Rgb
Nonlinear R′G′B′ in [0, 1] from the frame’s matrix coefficients.
Bgr
Channel-swapped R′G′B′.
Luma
Range-scaled luma only; no colorimetric conversion.
Yuv
Luma plus chroma upsampled to luma resolution, range-scaled.
Trait Implementations§
Source§impl Clone for MatrixChannels
impl Clone for MatrixChannels
impl Copy for MatrixChannels
Source§impl Debug for MatrixChannels
impl Debug for MatrixChannels
impl Eq for MatrixChannels
Source§impl PartialEq for MatrixChannels
impl PartialEq for MatrixChannels
impl StructuralPartialEq for MatrixChannels
Auto Trait Implementations§
impl Forget for MatrixChannels
impl Freeze for MatrixChannels
impl Move for MatrixChannels
impl RefUnwindSafe for MatrixChannels
impl Send for MatrixChannels
impl Sync for MatrixChannels
impl Unpin for MatrixChannels
impl UnsafeUnpin for MatrixChannels
impl UnwindSafe for MatrixChannels
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