#[non_exhaustive]pub enum Filter {
Auto,
Level {
level: u8,
sharpness: u8,
},
Off,
}Expand description
The loop filter strength the encoder signals in the frame header.
A key frame encoder signals the filter and leaves the decoder to run it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
Signal level 0 and sharpness 0 at version 0.1.0.
Level
Signal an exact level and sharpness.
Off
Signal level 0, which leaves the decoder’s filter idle.
Trait Implementations§
impl Copy for Filter
impl Eq for Filter
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnsafeUnpin for Filter
impl UnwindSafe for Filter
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