![]() |
Edge AI Add-on API 2.2.0
|
| void nrf_dsp_rfft_rdx_f32 | ( | const nrf_dsp_rfft_f32_t * | p_rfft, |
| flt32_t * | p_input, | ||
| flt32_t * | p_output, | ||
| nrf_dsp_cfft_radix_func_f32_t | radix_func ) |
#include <include/nrf_edgeai/dsp/transform/fft/nrf_dsp_fft_f32.h>
The floating-point 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.
| [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], ...} |
| [in] | radix_func | Custom FFT Radix function to compute complex FFT, refer to nrf_dsp_cfft_radix8by2_f32, nrf_dsp_cfft_radix8by4_f32 or nrf_dsp_cfft_radix8_f32 |