pub struct FilterStrength {
pub bs: u8,
pub alpha: u8,
pub beta: u8,
pub tc0: u8,
}Expand description
Boundary strength (bS) for deblocking.
Fields§
§bs: u8Boundary strength value (0-4).
alpha: u8Alpha threshold parameter.
beta: u8Beta threshold parameter.
tc0: u8tc0 clipping parameter.
Implementations§
Source§impl FilterStrength
impl FilterStrength
Sourcepub const fn should_filter(&self) -> bool
pub const fn should_filter(&self) -> bool
Check if filtering should be applied.
Trait Implementations§
Source§impl Clone for FilterStrength
impl Clone for FilterStrength
Source§fn clone(&self) -> FilterStrength
fn clone(&self) -> FilterStrength
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 FilterStrength
impl Debug for FilterStrength
Source§impl Default for FilterStrength
impl Default for FilterStrength
Source§fn default() -> FilterStrength
fn default() -> FilterStrength
Returns the “default value” for a type. Read more
Source§impl PartialEq for FilterStrength
impl PartialEq for FilterStrength
impl Copy for FilterStrength
impl Eq for FilterStrength
impl StructuralPartialEq for FilterStrength
Auto Trait Implementations§
impl Freeze for FilterStrength
impl RefUnwindSafe for FilterStrength
impl Send for FilterStrength
impl Sync for FilterStrength
impl Unpin for FilterStrength
impl UnsafeUnpin for FilterStrength
impl UnwindSafe for FilterStrength
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