47 fprintf(stderr,
"Failed to initialise Ne10.\n");
57 for (
int i = 0; i <
SAMPLES; i++)
66 for (
int i = 0; i <
SAMPLES; i++)
68 printf(
"IN[%2d]: %10.4f\t", i, src[i]);
70 printf(
"OUT[%2d]: %10.4f + %10.4fi", i, dst[i].r, dst[i].i);
ne10_fft_r2c_cfg_float32_t ne10_fft_alloc_r2c_float32(ne10_int32_t nfft)
Creates a configuration structure for variants of ne10_fft_r2c_1d_float32 and ne10_fft_c2r_1d_float32...
void(* ne10_fft_r2c_1d_float32)(ne10_fft_cpx_float32_t *fout, ne10_float32_t *fin, ne10_fft_r2c_cfg_float32_t cfg)
Mixed radix-2/4 real-to-complex FFT of single precision floating point data.
void ne10_fft_destroy_r2c_float32(ne10_fft_r2c_cfg_float32_t)
Destroys the configuration structure allocated by ne10_fft_alloc_r2c_float32 (frees memory...
int real_fft_sample_main(void)
ne10_result_t ne10_init(void)