pub struct InterCompoundBuffers {
data: AlignedBoxedSlice<i16>,
}
Expand description
A pair of buffers holding the interpolation of two references. Use for compound inter prediction.
Fields§
§data: AlignedBoxedSlice<i16>
Implementations§
Source§impl InterCompoundBuffers
impl InterCompoundBuffers
const BUFFER_SIZE: usize = 16_384usize
Sourcefn get_buffer_mut(&mut self, i: usize) -> &mut [i16]
fn get_buffer_mut(&mut self, i: usize) -> &mut [i16]
Get the buffer for eith
fn get_buffer(&self, i: usize) -> &[i16]
Trait Implementations§
Source§impl Debug for InterCompoundBuffers
impl Debug for InterCompoundBuffers
Auto Trait Implementations§
impl Freeze for InterCompoundBuffers
impl RefUnwindSafe for InterCompoundBuffers
impl Send for InterCompoundBuffers
impl Sync for InterCompoundBuffers
impl Unpin for InterCompoundBuffers
impl UnwindSafe for InterCompoundBuffers
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> 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