pub struct AV1Config {
pub profile: u8,
pub level: u8,
pub tier: u8,
pub bit_depth: u8,
pub monochrome: bool,
pub chroma_subsampling_x: u8,
pub chroma_subsampling_y: u8,
pub chroma_sample_position: u8,
}Expand description
AV1 codec configuration from the av1C property box.
Contains the AV1 codec parameters as signaled in the container. See AV1-ISOBMFF § 2.3.
Fields§
§profile: u8AV1 seq_profile (0=Main, 1=High, 2=Professional)
level: u8AV1 seq_level_idx for operating point 0
tier: u8AV1 seq_tier for operating point 0
bit_depth: u8Bit depth (8, 10, or 12)
monochrome: boolTrue if monochrome (no chroma planes)
chroma_subsampling_x: u8Chroma subsampling X (1 = horizontally subsampled)
chroma_subsampling_y: u8Chroma subsampling Y (1 = vertically subsampled)
chroma_sample_position: u8Chroma sample position (0=unknown, 1=vertical, 2=colocated)
Trait Implementations§
impl Eq for AV1Config
impl StructuralPartialEq for AV1Config
Auto Trait Implementations§
impl Freeze for AV1Config
impl RefUnwindSafe for AV1Config
impl Send for AV1Config
impl Sync for AV1Config
impl Unpin for AV1Config
impl UnwindSafe for AV1Config
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