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

◆ nrf_dsp_cfft_radix4_i16()

void nrf_dsp_cfft_radix4_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 radix algorithm. Single radix-8 1-stage, algorithm. The algorithm supports lengths of [16, 64, 256, 1024, 4096] 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