[][src]Trait rustdct::Dct3

pub trait Dct3<T: DctNum>: RequiredScratch + Length + Sync + Send {
    pub fn process_dct3_with_scratch(&self, buffer: &mut [T], scratch: &mut [T]);

    pub fn process_dct3(&self, buffer: &mut [T]) { ... }
}

An umbrella trait for algorithms which compute the Discrete Cosine Transform Type 3 (DCT3)

Required methods

pub fn process_dct3_with_scratch(&self, buffer: &mut [T], scratch: &mut [T])[src]

Computes the DCT Type 3 on the provided buffer, in-place. Uses the provided scratch buffer as scratch space.

Loading content...

Provided methods

pub fn process_dct3(&self, buffer: &mut [T])[src]

Computes the DCT Type 3 on the provided buffer, in-place.

This method may allocate a Vec of scratch space as needed. If you'd like to reuse that allocation between multiple computations, considr calling process_dct3_with_scratch instead.

Loading content...

Implementors

impl<T: DctNum> Dct3<T> for Type2And3ConvertToFft<T>[src]

impl<T: DctNum> Dct3<T> for Type2And3Naive<T>[src]

impl<T: DctNum> Dct3<T> for Type2And3SplitRadix<T>[src]

impl<T: DctNum> Dct3<T> for Type2And3Butterfly2<T>[src]

impl<T: DctNum> Dct3<T> for Type2And3Butterfly3<T>[src]

impl<T: DctNum> Dct3<T> for Type2And3Butterfly4<T>[src]

impl<T: DctNum> Dct3<T> for Type2And3Butterfly8<T>[src]

impl<T: DctNum> Dct3<T> for Type2And3Butterfly16<T>[src]

Loading content...