[][src]Trait rustdct::DCT1

pub trait DCT1<T: DCTnum>: Length + Sync + Send {
    pub fn process_dct1(&self, input: &mut [T], output: &mut [T]);
}

An umbrella trait for algorithms which compute the Discrete Cosine Transform Type 1 (DCT1)

Required methods

pub fn process_dct1(&self, input: &mut [T], output: &mut [T])[src]

Computes the DCT Type 1 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

Loading content...

Implementors

impl<T: DCTnum> DCT1<T> for DCT1ConvertToFFT<T>[src]

impl<T: DCTnum> DCT1<T> for DCT1Naive<T>[src]

Loading content...