Skip to main content

Module transform

Module transform 

Source
Expand description

Fast Fourier Transform (FFT), Real FFT (RFFT), Discrete Cosine Transform (DCT-IV), and Bit Reversal functions.

Functionsยง

bit_reversal
Bit reversal function for interleaved complex array of size 2 * n.
cfft_f32
In-place Complex FFT for floating point 32-bit (f32). data is interleaved complex array of size 2 * n ([re0, im0, re1, im1, ...]). ifft_flag: 0 for forward FFT, 1 for inverse FFT (IFFT). bit_reverse_flag: 1 to enable bit reversal, 0 to disable.
cfft_q15
In-place Complex FFT for Q15 fixed-point.
cfft_q31
In-place Complex FFT for Q31 fixed-point.
dct4_f32
Discrete Cosine Transform Type IV (DCT-IV) for f32.
rfft_f32
Real FFT for floating point 32-bit (f32). src has n real samples. dst receives 2 * n complex outputs.
rfft_q15
Real FFT for Q15 fixed-point.
rfft_q31
Real FFT for Q31 fixed-point.