struct SseF32Butterfly19<T> {
direction: FftDirection,
twiddles_re: [__m128; 9],
twiddles_im: [__m128; 9],
_phantom: PhantomData<T>,
}Fields§
§direction: FftDirection§twiddles_re: [__m128; 9]§twiddles_im: [__m128; 9]§_phantom: PhantomData<T>Implementations§
Source§impl<T: FftNum> SseF32Butterfly19<T>
impl<T: FftNum> SseF32Butterfly19<T>
Sourceunsafe fn new(direction: FftDirection) -> Self
unsafe fn new(direction: FftDirection) -> Self
Safety: The current machine must support the sse4.1 instruction set
pub(crate) unsafe fn perform_fft_contiguous( &self, buffer: impl SseArrayMut<f32>, )
pub(crate) unsafe fn perform_parallel_fft_contiguous( &self, buffer: impl SseArrayMut<f32>, )
pub(crate) unsafe fn perform_parallel_fft_direct( &self, values: [__m128; 19], ) -> [__m128; 19]
Trait Implementations§
Source§impl<T> Direction for SseF32Butterfly19<T>
impl<T> Direction for SseF32Butterfly19<T>
Source§fn fft_direction(&self) -> FftDirection
fn fft_direction(&self) -> FftDirection
Returns FftDirection::Forward if this instance computes forward FFTs, or FftDirection::Inverse for inverse FFTs
Source§impl<T: FftNum> Fft<T> for SseF32Butterfly19<T>
impl<T: FftNum> Fft<T> for SseF32Butterfly19<T>
Source§fn process_immutable_with_scratch(
&self,
input: &[Complex<T>],
output: &mut [Complex<T>],
_scratch: &mut [Complex<T>],
)
fn process_immutable_with_scratch( &self, input: &[Complex<T>], output: &mut [Complex<T>], _scratch: &mut [Complex<T>], )
Divides
input and output into chunks of self.len(), and computes a FFT on each chunk while
keeping input untouched. Read moreSource§fn process_outofplace_with_scratch(
&self,
input: &mut [Complex<T>],
output: &mut [Complex<T>],
_scratch: &mut [Complex<T>],
)
fn process_outofplace_with_scratch( &self, input: &mut [Complex<T>], output: &mut [Complex<T>], _scratch: &mut [Complex<T>], )
Divides
input and output into chunks of size self.len(), and computes a FFT on each chunk. Read moreSource§fn process_with_scratch(
&self,
buffer: &mut [Complex<T>],
_scratch: &mut [Complex<T>],
)
fn process_with_scratch( &self, buffer: &mut [Complex<T>], _scratch: &mut [Complex<T>], )
Source§fn get_inplace_scratch_len(&self) -> usize
fn get_inplace_scratch_len(&self) -> usize
Returns the size of the scratch buffer required by
process_with_scratch Read moreSource§fn get_outofplace_scratch_len(&self) -> usize
fn get_outofplace_scratch_len(&self) -> usize
Returns the size of the scratch buffer required by
process_outofplace_with_scratch Read moreSource§fn get_immutable_scratch_len(&self) -> usize
fn get_immutable_scratch_len(&self) -> usize
Returns the size of the scratch buffer required by
process_immutable_with_scratch Read moreAuto Trait Implementations§
impl<T> Freeze for SseF32Butterfly19<T>
impl<T> RefUnwindSafe for SseF32Butterfly19<T>where
T: RefUnwindSafe,
impl<T> Send for SseF32Butterfly19<T>where
T: Send,
impl<T> Sync for SseF32Butterfly19<T>where
T: Sync,
impl<T> Unpin for SseF32Butterfly19<T>where
T: Unpin,
impl<T> UnsafeUnpin for SseF32Butterfly19<T>
impl<T> UnwindSafe for SseF32Butterfly19<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more