pub struct AV1CodecConfigurationRecord {
pub seq_profile: u8,
pub seq_level_idx_0: u8,
pub seq_tier_0: bool,
pub high_bitdepth: bool,
pub twelve_bit: bool,
pub monochrome: bool,
pub chroma_subsampling_x: bool,
pub chroma_subsampling_y: bool,
pub chroma_sample_position: u8,
pub hdr_wcg_idc: u8,
pub initial_presentation_delay_minus_one: Option<u8>,
pub config_obu: Bytes,
}Expand description
AV1 Codec Configuration Record
https://aomediacodec.github.io/av1-isobmff/#av1codecconfigurationbox-syntax
Fields§
§seq_profile: u8This field shall be coded according to the semantics defined in AV1.
3 bits
seq_level_idx_0: u8This field shall be coded according to the semantics defined in AV1.
5 bits
seq_tier_0: boolThis field shall be coded according to the semantics defined in AV1, when present. If they are not present, they will be coded using the value inferred by the semantics.
1 bit
high_bitdepth: boolThis field shall be coded according to the semantics defined in AV1.
1 bit
twelve_bit: boolThis field shall be coded according to the semantics defined in AV1, when present. If they are not present, they will be coded using the value inferred by the semantics.
1 bit
monochrome: boolThis field shall be coded according to the semantics defined in AV1, when present. If they are not present, they will be coded using the value inferred by the semantics.
1 bit
chroma_subsampling_x: boolThis field shall be coded according to the semantics defined in AV1, when present. If they are not present, they will be coded using the value inferred by the semantics.
1 bit
chroma_subsampling_y: boolThis field shall be coded according to the semantics defined in AV1, when present. If they are not present, they will be coded using the value inferred by the semantics.
1 bit
chroma_sample_position: u8This field shall be coded according to the semantics defined in AV1, when present. If they are not present, they will be coded using the value inferred by the semantics.
2 bits
hdr_wcg_idc: u8The value of this syntax element indicates the presence or absence of high dynamic range (HDR) and/or wide color gamut (WCG) video components in the associated PID according to the table below.
| HDR/WCG IDC | Description |
|---|---|
| 0 | SDR |
| 1 | WCG only |
| 2 | HDR and WCG |
| 3 | No indication |
2 bits
From a newer spec: https://aomediacodec.github.io/av1-mpeg2-ts/#av1-video-descriptor
initial_presentation_delay_minus_one: Option<u8>Ignored for MPEG-2 TS use, included only to aid conversion to/from ISOBMFF.
4 bits
config_obu: BytesZero or more OBUs. Refer to the linked specification for details.
8 bits
Implementations§
Trait Implementations§
Source§impl Clone for AV1CodecConfigurationRecord
impl Clone for AV1CodecConfigurationRecord
Source§fn clone(&self) -> AV1CodecConfigurationRecord
fn clone(&self) -> AV1CodecConfigurationRecord
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more