Trait rustdct::dct2::DCT2
[−]
[src]
pub trait DCT2<T: DCTnum>: Length { fn process(&self, input: &mut [T], output: &mut [T]); }
An umbrella trait for algorithms which compute the Discrete Cosine Transform Type 2 (DCT2)
Required Methods
fn process(&self, input: &mut [T], output: &mut [T])
Computes the DCT Type 2 on the input
buffer and places the result in the output
buffer.
This method uses the input
buffer as scratch space, so the contents of input
should be considered garbage
after calling
Implementors
impl<T: DCTnum> DCT2<T> for DCT2ViaFFT<T>
impl<T: DCTnum> DCT2<T> for DCT2SplitRadix<T>
impl<T: DCTnum> DCT2<T> for DCT2Naive<T>
impl<T: DCTnum> DCT2<T> for DCT2Butterfly2
impl<T: DCTnum> DCT2<T> for DCT2Butterfly4<T>
impl<T: DCTnum> DCT2<T> for DCT2Butterfly8<T>
impl<T: DCTnum> DCT2<T> for DCT2Butterfly16<T>