pub struct SymbolEncoder { /* private fields */ }Expand description
Symbol encoder for AV1 syntax elements.
Implementations§
Source§impl SymbolEncoder
impl SymbolEncoder
Sourcepub fn write_partition(&mut self, partition: PartitionType, _ctx: u8)
pub fn write_partition(&mut self, partition: PartitionType, _ctx: u8)
Write partition symbol.
Sourcepub fn write_skip(&mut self, skip: bool, _ctx: u8)
pub fn write_skip(&mut self, skip: bool, _ctx: u8)
Write skip flag.
Trait Implementations§
Source§impl Debug for SymbolEncoder
impl Debug for SymbolEncoder
Auto Trait Implementations§
impl Freeze for SymbolEncoder
impl RefUnwindSafe for SymbolEncoder
impl Send for SymbolEncoder
impl Sync for SymbolEncoder
impl Unpin for SymbolEncoder
impl UnsafeUnpin for SymbolEncoder
impl UnwindSafe for SymbolEncoder
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> 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