pub struct AVCDecoderConfigurationRecord<'a> {
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<BytesCow<'a>>,
pub pps: Vec<BytesCow<'a>>,
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<BytesCow<'a>>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<BytesCow<'a>>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.
Trait Implementations§
Source§impl<'a> Clone for AVCDecoderConfigurationRecord<'a>
impl<'a> Clone for AVCDecoderConfigurationRecord<'a>
Source§fn clone(&self) -> AVCDecoderConfigurationRecord<'a>
fn clone(&self) -> AVCDecoderConfigurationRecord<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'a> Debug for AVCDecoderConfigurationRecord<'a>
impl<'a> Debug for AVCDecoderConfigurationRecord<'a>
Source§impl<'a> Deserialize<'a> for AVCDecoderConfigurationRecord<'a>
impl<'a> Deserialize<'a> for AVCDecoderConfigurationRecord<'a>
Source§fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
Source§impl IsoSized for AVCDecoderConfigurationRecord<'_>
Available on crate feature isobmff only.
impl IsoSized for AVCDecoderConfigurationRecord<'_>
isobmff only.Source§impl<'a> PartialEq for AVCDecoderConfigurationRecord<'a>
impl<'a> PartialEq for AVCDecoderConfigurationRecord<'a>
Source§fn eq(&self, other: &AVCDecoderConfigurationRecord<'a>) -> bool
fn eq(&self, other: &AVCDecoderConfigurationRecord<'a>) -> bool
self and other values to be equal, and is used by ==.