Enum vp9_parser::ColorRange
source · [−]pub enum ColorRange {
StudioSwing,
FullSwing,
}
Expand description
Specifies the black level and range of the luma and chroma signals as specified in Rec. ITU-R BT.709-6 and Rec. ITU-R BT.2020-2.
Variants
StudioSwing
Put restriction on Y, U, V values.
FullSwing
No restriction on Y, U, V values.
Trait Implementations
sourceimpl Clone for ColorRange
impl Clone for ColorRange
sourcefn clone(&self) -> ColorRange
fn clone(&self) -> ColorRange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ColorRange
impl Debug for ColorRange
sourceimpl From<bool> for ColorRange
impl From<bool> for ColorRange
sourceimpl Ord for ColorRange
impl Ord for ColorRange
sourceimpl PartialEq<ColorRange> for ColorRange
impl PartialEq<ColorRange> for ColorRange
sourceimpl PartialOrd<ColorRange> for ColorRange
impl PartialOrd<ColorRange> for ColorRange
sourcefn partial_cmp(&self, other: &ColorRange) -> Option<Ordering>
fn partial_cmp(&self, other: &ColorRange) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ColorRange
impl Eq for ColorRange
impl StructuralEq for ColorRange
impl StructuralPartialEq for ColorRange
Auto Trait Implementations
impl RefUnwindSafe for ColorRange
impl Send for ColorRange
impl Sync for ColorRange
impl Unpin for ColorRange
impl UnwindSafe for ColorRange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more