I’ve got a project that uses fftw_plan_dft_r2c_1d and fftw_plan_dft_c2r_1d from FFTW, as well as fftw_execute. What are the equivalent functions in KissFFT?
I’ve got a project that uses fftw_plan_dft_r2c_1d and fftw_plan_dft_c2r_1d from FFTW, as well as
Share
You need to use the real-optimised functions in kiss_fftr.h (in the
toolssubdirectory). Usekiss_fftr_allocinstead of setting up FFTW “plans” withfftw_plan_dft_r2c_1dandfftw_plan_dft_c2r_1d. Usekiss_fftrandkiss_fftrito do the forward/inverse transforms instead of calling FFTW’sfftw_execute. Don’t forget to callkiss_fftr_freewhen you’re done.