pub struct DecoderConfigDescriptor<'a> {
pub object_type_indication: ObjectTypeIndication,
pub stream_type: StreamType,
pub up_stream: bool,
pub reserved: bool,
pub buffer_size_db: U24Be,
pub max_bitrate: u32,
pub avg_bitrate: u32,
pub dec_specific_info: Option<UnknownDescriptor<'a>>,
pub profile_level_indication_index_descr: Vec<ProfileLevelIndicationIndexDescriptor>,
pub unknown_descriptors: Vec<UnknownDescriptor<'a>>,
}Expand description
Deocder Config Descriptor
ISO/IEC 14496-1 - 7.2.6.6
Fields§
§object_type_indication: ObjectTypeIndicationAn indication of the object or scene description type that needs to be supported by the decoder for this elementary stream.
stream_type: StreamTypeConveys the type of this elementary stream.
up_stream: boolIndicates that this stream is used for upstream information.
reserved: boolReserved bit.
buffer_size_db: U24BeIs the size of the decoding buffer for this elementary stream in bytes.
max_bitrate: u32Is the maximum bitrate in bits per second of this elementary stream in any time window of one second duration.
avg_bitrate: u32Is the average bitrate in bits per second of this elementary stream. For streams with variable bitrate this value shall be set to zero.
dec_specific_info: Option<UnknownDescriptor<'a>>Decoder specific information.
profile_level_indication_index_descr: Vec<ProfileLevelIndicationIndexDescriptor>A list of ProfileLevelIndicationIndexDescriptors.
unknown_descriptors: Vec<UnknownDescriptor<'a>>Any other unknown descriptors that are contained in this descriptor but not deserialized.
Implementations§
Source§impl DecoderConfigDescriptor<'_>
impl DecoderConfigDescriptor<'_>
Sourcepub fn base_descriptor(&self) -> BaseDescriptor
pub fn base_descriptor(&self) -> BaseDescriptor
Returns the base descriptor.