pub struct MvCacheEntry {
pub mv: MotionVector,
pub ref_idx: i8,
pub sad: u32,
pub valid: bool,
pub is_inter: bool,
}Expand description
Cache entry for a motion vector.
Fields§
§mv: MotionVectorMotion vector.
ref_idx: i8Reference frame index.
sad: u32SAD value.
valid: boolIs this entry valid?
is_inter: boolIs this an inter block?
Implementations§
Trait Implementations§
Source§impl Clone for MvCacheEntry
impl Clone for MvCacheEntry
Source§fn clone(&self) -> MvCacheEntry
fn clone(&self) -> MvCacheEntry
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 MvCacheEntry
impl Debug for MvCacheEntry
Source§impl Default for MvCacheEntry
impl Default for MvCacheEntry
Source§fn default() -> MvCacheEntry
fn default() -> MvCacheEntry
Returns the “default value” for a type. Read more
impl Copy for MvCacheEntry
Auto Trait Implementations§
impl Freeze for MvCacheEntry
impl RefUnwindSafe for MvCacheEntry
impl Send for MvCacheEntry
impl Sync for MvCacheEntry
impl Unpin for MvCacheEntry
impl UnsafeUnpin for MvCacheEntry
impl UnwindSafe for MvCacheEntry
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