pub struct ObuHeader {
pub obu_type: ObuType,
pub has_extension: bool,
pub has_size: bool,
pub temporal_id: u8,
pub spatial_id: u8,
}Expand description
OBU header as defined in AV1 specification section 5.3.2.
Fields§
§obu_type: ObuTypeOBU type.
has_extension: boolExtension flag present.
has_size: boolSize field present.
temporal_id: u8Temporal ID (from extension header).
spatial_id: u8Spatial ID (from extension header).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObuHeader
impl RefUnwindSafe for ObuHeader
impl Send for ObuHeader
impl Sync for ObuHeader
impl Unpin for ObuHeader
impl UnsafeUnpin for ObuHeader
impl UnwindSafe for ObuHeader
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