#[repr(u8)]pub enum InterpolationFilter {
Eighttap = 0,
EighttapSmooth = 1,
EighttapSharp = 2,
Bilinear = 3,
Switchable = 4,
}Expand description
Interpolation filter types for motion compensation.
Variants§
Eighttap = 0
8-tap regular filter.
EighttapSmooth = 1
8-tap smooth filter.
EighttapSharp = 2
8-tap sharp filter.
Bilinear = 3
Bilinear filter.
Switchable = 4
Per-block switchable filter.
Trait Implementations§
Source§impl Clone for InterpolationFilter
impl Clone for InterpolationFilter
Source§fn clone(&self) -> InterpolationFilter
fn clone(&self) -> InterpolationFilter
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 InterpolationFilter
impl Debug for InterpolationFilter
Source§impl Default for InterpolationFilter
impl Default for InterpolationFilter
Source§fn default() -> InterpolationFilter
fn default() -> InterpolationFilter
Returns the “default value” for a type. Read more
Source§impl From<InterpolationFilter> for u8
impl From<InterpolationFilter> for u8
Source§fn from(f: InterpolationFilter) -> Self
fn from(f: InterpolationFilter) -> Self
Converts to this type from the input type.
Source§impl From<u8> for InterpolationFilter
impl From<u8> for InterpolationFilter
Source§impl PartialEq for InterpolationFilter
impl PartialEq for InterpolationFilter
impl Copy for InterpolationFilter
impl Eq for InterpolationFilter
impl StructuralPartialEq for InterpolationFilter
Auto Trait Implementations§
impl Freeze for InterpolationFilter
impl RefUnwindSafe for InterpolationFilter
impl Send for InterpolationFilter
impl Sync for InterpolationFilter
impl Unpin for InterpolationFilter
impl UnsafeUnpin for InterpolationFilter
impl UnwindSafe for InterpolationFilter
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