Trait rustdct::DCT1[][src]

pub trait DCT1<T: DCTnum>: Length {
    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

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

Implementors