Trait rustdct::dct4::DCT4
[−]
[src]
pub trait DCT4<T: DCTnum>: Length { fn process(&mut self, input: &mut [T], output: &mut [T]); }
An umbrella trait for algorithms which compute the Discrete Cosine Transform Type 4 (DCT4)
Required Methods
fn process(&mut self, input: &mut [T], output: &mut [T])
Computes the DCT Type 4 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> DCT4<T> for DCT4ViaFFT<T>
impl<T: DCTnum> DCT4<T> for DCT4Naive<T>