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

◆ nrf_dsp_rfft_rdx_i16()

void nrf_dsp_rfft_rdx_i16 ( const nrf_dsp_rfft_i16_t * p_rfft,
int16_t * p_input,
int16_t * p_output,
nrf_dsp_cfft_radix_func_i16_t radix_func )

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

The fixed-point 16-bit real FFT function with custom radix function to use. Real FFT algorithms take advantage of the symmetry properties of the FFT and have a speed advantage over complex algorithms of the same length. This function can compute results "in-place" of input buffer.

Parameters
[in]p_rfftPointer to instance of real FFT structure nrf_dsp_rfft_i16_t
[in]p_inputPointer to buffer with input samples, the complex FFT computes in-place and will modify input buffer with FFT results.
[out]p_outputPointer to the output buffer, can be the same as p_input. The results will be written to output array in the interleaved fashion:
{real[0], imag[0], real[1], imag[1], ...} 
[in]radix_funcCustom FFT Radix function to compute complex FFT, refer to nrf_dsp_cfft_radix4_i16, nrf_dsp_cfft_radix4by2_i16