pub struct HadamardTransform;Expand description
Hadamard transform for SATD computation.
Implementations§
Source§impl HadamardTransform
impl HadamardTransform
Sourcepub fn hadamard_4x4(block: &mut [[i16; 4]; 4])
pub fn hadamard_4x4(block: &mut [[i16; 4]; 4])
4x4 Hadamard transform (in-place).
Sourcepub fn hadamard_8x8(block: &mut [[i16; 8]; 8])
pub fn hadamard_8x8(block: &mut [[i16; 8]; 8])
8x8 Hadamard transform using two 4x4 transforms.
Trait Implementations§
Source§impl Clone for HadamardTransform
impl Clone for HadamardTransform
Source§fn clone(&self) -> HadamardTransform
fn clone(&self) -> HadamardTransform
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 HadamardTransform
impl Debug for HadamardTransform
Source§impl Default for HadamardTransform
impl Default for HadamardTransform
Source§fn default() -> HadamardTransform
fn default() -> HadamardTransform
Returns the “default value” for a type. Read more
impl Copy for HadamardTransform
Auto Trait Implementations§
impl Freeze for HadamardTransform
impl RefUnwindSafe for HadamardTransform
impl Send for HadamardTransform
impl Sync for HadamardTransform
impl Unpin for HadamardTransform
impl UnsafeUnpin for HadamardTransform
impl UnwindSafe for HadamardTransform
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