pub struct Av1SequenceHeader {
pub seq_profile: u8,
pub still_picture: bool,
pub reduced_still_picture_header: bool,
pub max_frame_width: u32,
pub max_frame_height: u32,
pub high_bitdepth: bool,
pub twelve_bit: bool,
pub mono_chrome: bool,
}Expand description
High-level fields extracted from an AV1 sequence header OBU.
Only the fields most useful for container-level metadata are decoded; a full reference decoder is out of scope for this filter layer.
Fields§
§seq_profile: u8seq_profile (3 bits): 0 = Main, 1 = High, 2 = Professional.
still_picture: boolstill_picture flag.
reduced_still_picture_header: boolreduced_still_picture_header flag.
max_frame_width: u32Maximum frame width in pixels (decoded from the header’s width bits).
max_frame_height: u32Maximum frame height in pixels.
high_bitdepth: bool12-bit color mode flag (high_bitdepth).
twelve_bit: boolTwelve-bit video flag (only valid when high_bitdepth is true).
mono_chrome: boolmono_chrome flag.
Trait Implementations§
Source§impl Clone for Av1SequenceHeader
impl Clone for Av1SequenceHeader
Source§fn clone(&self) -> Av1SequenceHeader
fn clone(&self) -> Av1SequenceHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Av1SequenceHeader
impl Debug for Av1SequenceHeader
Source§impl PartialEq for Av1SequenceHeader
impl PartialEq for Av1SequenceHeader
impl Eq for Av1SequenceHeader
impl StructuralPartialEq for Av1SequenceHeader
Auto Trait Implementations§
impl Freeze for Av1SequenceHeader
impl RefUnwindSafe for Av1SequenceHeader
impl Send for Av1SequenceHeader
impl Sync for Av1SequenceHeader
impl Unpin for Av1SequenceHeader
impl UnsafeUnpin for Av1SequenceHeader
impl UnwindSafe for Av1SequenceHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more