[][src]Trait rustdct::DST1

pub trait DST1<T: DCTnum>: Length {
    fn process_dst1(&self, input: &mut [T], output: &mut [T]);
}

An umbrella trait for algorithms which compute the Discrete Sine Transform Type 1 (DST1)

Required methods

fn process_dst1(&self, input: &mut [T], output: &mut [T])

Computes the DST 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> DST1<T> for DST1ConvertToFFT<T>
[src]

impl<T: DCTnum> DST1<T> for DST1Naive<T>
[src]

Loading content...