Struct h264_reader::nal::sps::ChromaInfo
source · pub struct ChromaInfo {
pub chroma_format: ChromaFormat,
pub separate_colour_plane_flag: bool,
pub bit_depth_luma_minus8: u8,
pub bit_depth_chroma_minus8: u8,
pub qpprime_y_zero_transform_bypass_flag: bool,
pub scaling_matrix: SeqScalingMatrix,
}
Fields§
§chroma_format: ChromaFormat
§separate_colour_plane_flag: bool
§bit_depth_luma_minus8: u8
§bit_depth_chroma_minus8: u8
§qpprime_y_zero_transform_bypass_flag: bool
§scaling_matrix: SeqScalingMatrix
Implementations§
source§impl ChromaInfo
impl ChromaInfo
pub fn read<R: BitRead>( r: &mut R, profile_idc: ProfileIdc ) -> Result<ChromaInfo, SpsError>
Trait Implementations§
source§impl Clone for ChromaInfo
impl Clone for ChromaInfo
source§fn clone(&self) -> ChromaInfo
fn clone(&self) -> ChromaInfo
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 ChromaInfo
impl Debug for ChromaInfo
source§impl Default for ChromaInfo
impl Default for ChromaInfo
source§fn default() -> ChromaInfo
fn default() -> ChromaInfo
Returns the “default value” for a type. Read more
source§impl PartialEq for ChromaInfo
impl PartialEq for ChromaInfo
source§fn eq(&self, other: &ChromaInfo) -> bool
fn eq(&self, other: &ChromaInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ChromaInfo
impl StructuralPartialEq for ChromaInfo
Auto Trait Implementations§
impl Freeze for ChromaInfo
impl RefUnwindSafe for ChromaInfo
impl Send for ChromaInfo
impl Sync for ChromaInfo
impl Unpin for ChromaInfo
impl UnwindSafe for ChromaInfo
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