pub struct LoopFilterParams {
pub simple: bool,
pub level: u8,
pub sharpness: u8,
}Expand description
Loop-filter header parameters (RFC 6386 §9.4).
Fields§
§simple: booltrue selects the simple filter; false selects the normal filter.
level: u8Base filter level (0..=63); 0 disables the loop filter.
sharpness: u8Sharpness level (0..=7).
Trait Implementations§
Source§impl Clone for LoopFilterParams
impl Clone for LoopFilterParams
Source§fn clone(&self) -> LoopFilterParams
fn clone(&self) -> LoopFilterParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LoopFilterParams
Source§impl Debug for LoopFilterParams
impl Debug for LoopFilterParams
Source§impl Default for LoopFilterParams
impl Default for LoopFilterParams
Source§fn default() -> LoopFilterParams
fn default() -> LoopFilterParams
Returns the “default value” for a type. Read more
impl Eq for LoopFilterParams
Source§impl PartialEq for LoopFilterParams
impl PartialEq for LoopFilterParams
Source§fn eq(&self, other: &LoopFilterParams) -> bool
fn eq(&self, other: &LoopFilterParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LoopFilterParams
Auto Trait Implementations§
impl Freeze for LoopFilterParams
impl RefUnwindSafe for LoopFilterParams
impl Send for LoopFilterParams
impl Sync for LoopFilterParams
impl Unpin for LoopFilterParams
impl UnsafeUnpin for LoopFilterParams
impl UnwindSafe for LoopFilterParams
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