![]() |
Edge AI Add-on API 2.2.0
|
| void nrf_dsp_rfft_f32 | ( | nrf_dsp_rfft_f32_t * | p_rfft, |
| flt32_t * | p_input, | ||
| flt32_t * | p_output ) |
#include <include/nrf_edgeai/dsp/transform/fft/nrf_dsp_fft_f32.h>
The floating-point 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.
| [in] | p_rfft | Pointer to instance of real FFT structure nrf_dsp_rfft_f32_t |
| [in] | p_input | Pointer to buffer with input samples, the complex FFT computes in-place and will modify input buffer with FFT results. |
| [out] | p_output | Pointer 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], ...} |