Enum av_data::pixel::ChromaLocation
source · [−]pub enum ChromaLocation {
Unspecified,
Left,
Center,
TopLeft,
Top,
BottomLeft,
Bottom,
}Expand description
Indicates the chroma sampling grid alignment for video fields or frames using the 4:2:0 colour format (in which the two chroma arrays have half the width and half the height of the associated luma array)
Values adopted from Table 4 of ISO/IEC 23001-8:2013/DCOR1.
Variants
Unspecified
Left
Center
TopLeft
Top
BottomLeft
Bottom
Trait Implementations
sourceimpl Clone for ChromaLocation
impl Clone for ChromaLocation
sourcefn clone(&self) -> ChromaLocation
fn clone(&self) -> ChromaLocation
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 ChromaLocation
impl Debug for ChromaLocation
sourceimpl Display for ChromaLocation
impl Display for ChromaLocation
sourceimpl PartialEq<ChromaLocation> for ChromaLocation
impl PartialEq<ChromaLocation> for ChromaLocation
sourcefn eq(&self, other: &ChromaLocation) -> bool
fn eq(&self, other: &ChromaLocation) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for ChromaLocation
impl Eq for ChromaLocation
impl StructuralEq for ChromaLocation
impl StructuralPartialEq for ChromaLocation
Auto Trait Implementations
impl RefUnwindSafe for ChromaLocation
impl Send for ChromaLocation
impl Sync for ChromaLocation
impl Unpin for ChromaLocation
impl UnwindSafe for ChromaLocation
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