pub struct ChromaLocInfo {
pub top_field: u64,
pub bottom_field: u64,
}
Expand description
Directly part of VuiParameters
.
Specifies the location of chroma samples as follows:
- If
chroma_format_idc
is equal to 1 (4:2:0 chroma format),chroma_sample_loc_type_top_field
andchroma_sample_loc_type_bottom_field
specify the location of chroma samples for the top field and the bottom field, respectively, as shown in ISO/IEC 23008-2 - Figure E.1. - Otherwise (
chroma_format_idc
is not equal to 1), the values of the syntax elementschroma_sample_loc_type_top_field
andchroma_sample_loc_type_bottom_field
shall be ignored. Whenchroma_format_idc
is equal to 2 (4:2:2 chroma format) or 3 (4:4:4 chroma format), the location of chroma samples is specified in ISO/IEC 23008-2 - 6.2. Whenchroma_format_idc
is equal to 0, there is no chroma sample array.
Fields§
§top_field: u64
chroma_sample_loc_type_top_field
bottom_field: u64
chroma_sample_loc_type_bottom_field
Trait Implementations§
Source§impl Clone for ChromaLocInfo
impl Clone for ChromaLocInfo
Source§fn clone(&self) -> ChromaLocInfo
fn clone(&self) -> ChromaLocInfo
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 ChromaLocInfo
impl Debug for ChromaLocInfo
Source§impl PartialEq for ChromaLocInfo
impl PartialEq for ChromaLocInfo
impl StructuralPartialEq for ChromaLocInfo
Auto Trait Implementations§
impl Freeze for ChromaLocInfo
impl RefUnwindSafe for ChromaLocInfo
impl Send for ChromaLocInfo
impl Sync for ChromaLocInfo
impl Unpin for ChromaLocInfo
impl UnwindSafe for ChromaLocInfo
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