pub struct AVCDecoderConfigurationRecord {
pub configuration_version: u8,
pub profile_indication: u8,
pub profile_compatibility: u8,
pub level_indication: u8,
pub length_size_minus_one: u8,
pub sps: Vec<Bytes>,
pub pps: Vec<Bytes>,
pub extended_config: Option<AvccExtendedConfig>,
}Expand description
The AVC (H.264) Decoder Configuration Record. ISO/IEC 14496-15:2022(E) - 5.3.2.1.2
Fields§
§configuration_version: u8The configuration_version is set to 1 (as a u8) defined by the h264 spec until further notice.
ISO/IEC 14496-15:2022(E) - 5.3.2.1.2
profile_indication: u8The profile_indication (aka AVCProfileIndication) contains the profile_idc u8 from SPS.
ISO/IEC 14496-15:2022(E) - 5.3.2.1.2
profile_compatibility: u8The profile_compatibility is a u8, similar to the profile_idc and level_idc bytes from SPS.
ISO/IEC 14496-15:2022(E) - 5.3.2.1.2
level_indication: u8The level_indication (aka AVCLevelIndication) contains the level_idc u8 from SPS.
ISO/IEC 14496-15:2022(E) - 5.3.2.1.2
length_size_minus_one: u8The length_size_minus_one is the u8 length of the NALUnitLength minus one.
ISO/IEC 14496-15:2022(E) - 5.3.2.1.2
sps: Vec<Bytes>The sps is a vec of SPS Bytes.
Note that these should be ordered by ascending SPS ID.
Refer to the crate::Sps struct in the SPS docs for more info.
pps: Vec<Bytes>The pps is a vec of PPS Bytes.
These contain syntax elements that can apply layer repesentation(s).
Note that these should be ordered by ascending PPS ID.
ISO/IEC 14496-15:2022(E) - 5.3.2.1.2
extended_config: Option<AvccExtendedConfig>An optional AvccExtendedConfig.
Refer to the AvccExtendedConfig for more info.
Implementations§
Trait Implementations§
Source§impl Clone for AVCDecoderConfigurationRecord
impl Clone for AVCDecoderConfigurationRecord
Source§fn clone(&self) -> AVCDecoderConfigurationRecord
fn clone(&self) -> AVCDecoderConfigurationRecord
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for AVCDecoderConfigurationRecord
impl PartialEq for AVCDecoderConfigurationRecord
Source§fn eq(&self, other: &AVCDecoderConfigurationRecord) -> bool
fn eq(&self, other: &AVCDecoderConfigurationRecord) -> bool
self and other values to be equal, and is used by ==.