pub struct TransformSimd<S> { /* private fields */ }Expand description
AV1 transform SIMD operations.
Implementations§
Source§impl<S: SimdOpsExt> TransformSimd<S>
impl<S: SimdOpsExt> TransformSimd<S>
Sourcepub fn forward_dct_4x4(&self, input: &[i16; 16], output: &mut [i16; 16])
pub fn forward_dct_4x4(&self, input: &[i16; 16], output: &mut [i16; 16])
Forward DCT 4x4 transform.
Input: 4x4 block of residuals (i16) Output: 4x4 block of transform coefficients (i16)
Sourcepub fn inverse_dct_4x4(&self, input: &[i16; 16], output: &mut [i16; 16])
pub fn inverse_dct_4x4(&self, input: &[i16; 16], output: &mut [i16; 16])
Inverse DCT 4x4 transform.
Sourcepub fn forward_dct_8x8(&self, input: &[i16; 64], output: &mut [i16; 64])
pub fn forward_dct_8x8(&self, input: &[i16; 64], output: &mut [i16; 64])
Forward DCT 8x8 transform.
Sourcepub fn inverse_dct_8x8(&self, input: &[i16; 64], output: &mut [i16; 64])
pub fn inverse_dct_8x8(&self, input: &[i16; 64], output: &mut [i16; 64])
Inverse DCT 8x8 transform.
Sourcepub fn forward_adst_4x4(&self, input: &[i16; 16], output: &mut [i16; 16])
pub fn forward_adst_4x4(&self, input: &[i16; 16], output: &mut [i16; 16])
Forward ADST 4x4 transform.
Asymmetric Discrete Sine Transform used for directional prediction residuals.
Auto Trait Implementations§
impl<S> Freeze for TransformSimd<S>where
S: Freeze,
impl<S> RefUnwindSafe for TransformSimd<S>where
S: RefUnwindSafe,
impl<S> Send for TransformSimd<S>where
S: Send,
impl<S> Sync for TransformSimd<S>where
S: Sync,
impl<S> Unpin for TransformSimd<S>where
S: Unpin,
impl<S> UnsafeUnpin for TransformSimd<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for TransformSimd<S>where
S: UnwindSafe,
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