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

◆ nrf_dsp_cfft_init_f32()

void nrf_dsp_cfft_init_f32 ( nrf_dsp_cfft_f32_t * p_cfft,
uint16_t len,
const flt32_t * p_twiddle_cfft,
const uint16_t * p_bitrev_table,
uint16_t bitrev_table_len )

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

Initialize complex FFT instance structure.

Parameters
[in,out]p_cfftPointer to instance of complex FFT structure to initialize nrf_dsp_cfft_f32_t
[in]lenLength of the FFT, should be power of 2, e.g.32,64,128,256,512,1024,etc
[in]p_twiddle_cfftPointer to the Twiddle factor table, can be generated with nrf_dsp_cfft_twiddle_factors_f32
[in]p_bitrev_tablePointer to the Bit reverse index table
[in]bitrev_table_lenBit reverse index table length