pub enum YUVSystem {
YCbCr(YUVRange),
YCoCg,
ICtCp,
}
Expand description
All YUV color representations.
Variants§
YCbCr(YUVRange)
YCbCr is a family of color spaces used as a part of the color image pipeline in video and digital photography systems. Y′ is the luma component and CB and CR are the blue-difference and red-difference chroma components.
YCoCg
The YCoCg color model, also known as the YCgCo color model, is the color space formed from a simple transformation of an associated RGB color space into a luma value and two chroma values called chrominance green and chrominance orange.
ICtCp
ICtCp is a color representation format specified in the Rec. ITU-R BT.2100 standard that is used as a part of the color image pipeline in video and digital photography systems for high dynamic range (HDR) and wide color gamut (WCG) imagery.
Trait Implementations§
impl Copy for YUVSystem
impl Eq for YUVSystem
impl StructuralPartialEq for YUVSystem
Auto Trait Implementations§
impl Freeze for YUVSystem
impl RefUnwindSafe for YUVSystem
impl Send for YUVSystem
impl Sync for YUVSystem
impl Unpin for YUVSystem
impl UnwindSafe for YUVSystem
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