#[repr(C)]pub enum YuvRange {
Limited = 0,
Full = 1,
}
Expand description
Declares YUV range TV (limited) or Full
Variants§
Limited = 0
Limited range Y ∈ [16 << (depth - 8), 16 << (depth - 8) + 224 << (depth - 8)], UV ∈ [-1 << (depth - 1), -1 << (depth - 1) + 1 << (depth - 1)]
Full = 1
Full range Y ∈ [0, 2^bit_depth - 1], UV ∈ [-1 << (depth - 1), -1 << (depth - 1) + 2^bit_depth - 1]
Trait Implementations§
Source§impl PartialOrd for YuvRange
impl PartialOrd for YuvRange
impl Copy for YuvRange
impl StructuralPartialEq for YuvRange
Auto Trait Implementations§
impl Freeze for YuvRange
impl RefUnwindSafe for YuvRange
impl Send for YuvRange
impl Sync for YuvRange
impl Unpin for YuvRange
impl UnwindSafe for YuvRange
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