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

◆ nrf_dsp_rfft_i16()

void nrf_dsp_rfft_i16 ( const nrf_dsp_rfft_i16_t * p_rfft,
int16_t * p_input,
int16_t * p_output )

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

The fixed-point 16-bit real FFT function 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], ...}