pub struct AvccExtendedConfig {
pub chroma_format_idc: u8,
pub bit_depth_luma_minus8: u8,
pub bit_depth_chroma_minus8: u8,
pub sequence_parameter_set_ext: Vec<SpsExtended>,
}
Expand description
The AVC (H.264) Extended Configuration. ISO/IEC 14496-15:2022(E) - 5.3.2.1.2
Fields§
§chroma_format_idc: u8
The chroma_format_idc
as a u8.
Also labelled as chroma_format
, this contains the chroma_format_idc
from
ISO/IEC 14496-10.
ISO/IEC 14496-15:2022(E) - 5.3.2.1.2
bit_depth_luma_minus8: u8
The bit_depth_luma_minus8
is the bit depth of samples in the Luma arrays as a u8.
The value of this ranges from [0, 4].
ISO/IEC 14496-15:2022(E) - 5.3.2.1.2
bit_depth_chroma_minus8: u8
The bit_depth_chroma_minus8
is the bit depth of the samples in the Chroma arrays as a u8.
The value of this ranges from [0, 4].
ISO/IEC 14496-15:2022(E) - 5.3.2.1.2
sequence_parameter_set_ext: Vec<SpsExtended>
The sequence_parameter_set_ext
is a vec of SpsExtended Bytes.
Refer to the crate::SpsExtended
struct in the SPS docs for more info.
Trait Implementations§
Source§impl Clone for AvccExtendedConfig
impl Clone for AvccExtendedConfig
Source§fn clone(&self) -> AvccExtendedConfig
fn clone(&self) -> AvccExtendedConfig
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 AvccExtendedConfig
impl Debug for AvccExtendedConfig
Source§impl PartialEq for AvccExtendedConfig
impl PartialEq for AvccExtendedConfig
impl StructuralPartialEq for AvccExtendedConfig
Auto Trait Implementations§
impl Freeze for AvccExtendedConfig
impl RefUnwindSafe for AvccExtendedConfig
impl Send for AvccExtendedConfig
impl Sync for AvccExtendedConfig
impl Unpin for AvccExtendedConfig
impl UnwindSafe for AvccExtendedConfig
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