Trait rubato::interpolator_avx::AvxSample[][src]

pub trait AvxSample: Sized {
    type Sinc;
    unsafe fn pack_sincs(sincs: Vec<Vec<Self>>) -> Vec<Vec<Self::Sinc>>;
unsafe fn get_sinc_interpolated_unsafe(
        wave: &[Self],
        index: usize,
        subindex: usize,
        sincs: &[Vec<Self::Sinc>],
        length: usize
    ) -> Self; }
Expand description

Trait governing what can be done with an AvxSample.

Associated Types

Required methods

Pack sincs into a vector.

Safety

This is unsafe because it uses target_enable dispatching. There are no special requirements from the caller.

Interpolate a sinc sample.

Safety

The caller must ensure that the various indexes are not out of bounds in the collection of sincs.

Implementations on Foreign Types

Implementors