Edge AI Add-on API 3.0.0
Loading...
Searching...
No Matches

◆ nrf_dsp_cfft_radix4by2_i16()

void nrf_dsp_cfft_radix4by2_i16 ( const nrf_dsp_cfft_i16_t * p_cfft,
int16_t * p_input )

#include <include/nrf_edgeai/dsp/transform/fft/nrf_dsp_fft_i16.h>

The fixed-point 16-bit complex FFT uses a mixed-radix algorithm. Multiple radix-4 stages are performed along with a radix-1 stage, as needed. The algorithm supports lengths of [32, 128, 512, 2048] and each length uses a different twiddle factor table.

Note
The FFT computes in-place and will modify input buffer with FFT results. The results will be written to input array in the interleaved fashion:
{real[0], imag[0], real[1], imag[1],...} 
Parameters
[in]p_cfftPointer to instance of complex FFT structure nrf_dsp_cfft_i16_t
[in,out]p_inputPointer to buffer with input samples