pub enum ChromaLocation {
Unspecified = 0,
Left = 1,
Center = 2,
TopLeft = 3,
Top = 4,
BottomLeft = 5,
Bottom = 6,
}
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§
Trait Implementations§
Source§impl Clone for ChromaLocation
impl Clone for ChromaLocation
Source§fn clone(&self) -> ChromaLocation
fn clone(&self) -> ChromaLocation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChromaLocation
impl Debug for ChromaLocation
Source§impl Display for ChromaLocation
impl Display for ChromaLocation
Source§impl Hash for ChromaLocation
impl Hash for ChromaLocation
Source§impl PartialEq for ChromaLocation
impl PartialEq for ChromaLocation
impl Copy for ChromaLocation
impl Eq for ChromaLocation
impl StructuralPartialEq for ChromaLocation
Auto Trait Implementations§
impl Freeze for ChromaLocation
impl RefUnwindSafe for ChromaLocation
impl Send for ChromaLocation
impl Sync for ChromaLocation
impl Unpin for ChromaLocation
impl UnwindSafe for ChromaLocation
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