Trait rustdct::Dst3 [−][src]
pub trait Dst3<T: DctNum>: RequiredScratch + Length + Sync + Send {
fn process_dst3_with_scratch(&self, buffer: &mut [T], scratch: &mut [T]);
fn process_dst3(&self, buffer: &mut [T]) { ... }
}
Expand description
A trait for algorithms which compute the Discrete Sine Transform Type 3 (DST3)
Required methods
fn process_dst3_with_scratch(&self, buffer: &mut [T], scratch: &mut [T])
fn process_dst3_with_scratch(&self, buffer: &mut [T], scratch: &mut [T])
Computes the DST Type 3 on the provided buffer, in-place. Uses the provided scratch
buffer as scratch space.
Does not normalize outputs.
Provided methods
fn process_dst3(&self, buffer: &mut [T])
fn process_dst3(&self, buffer: &mut [T])
Computes the DST Type 3 on the provided buffer, in-place.
This method may allocate a Vecprocess_dst3_with_scratch
instead.
Does not normalize outputs.