FastLED 3.9.15
Loading...
Searching...
No Matches

◆ kiss_fft_stride()

void kiss_fft_stride ( kiss_fft_cfg st,
const kiss_fft_cpx * fin,
kiss_fft_cpx * fout,
int in_stride )

Definition at line 386 of file kiss_fft.cpp.

387{
388 if (fin == fout) {
389 //NOTE: this is not really an in-place FFT algorithm.
390 //It just performs an out-of-place FFT into a temp buffer
392 kf_work(tmpbuf,fin,1,in_stride, st->factors,st);
393 memcpy(fout,tmpbuf,sizeof(kiss_fft_cpx)*st->nfft);
394 KISS_FFT_TMP_FREE(tmpbuf);
395 }else{
396 kf_work( fout, fin, 1, in_stride, st->factors,st );
397 }
398}
#define KISS_FFT_TMP_FREE(ptr)
#define KISS_FFT_TMP_ALLOC(nbytes)
int factors[2 *MAXFACTORS]
static void kf_work(kiss_fft_cpx *Fout, const kiss_fft_cpx *f, const size_t fstride, int in_stride, int *factors, const kiss_fft_cfg st)
Definition kiss_fft.cpp:231

References kiss_fft_state::factors, kf_work(), KISS_FFT_TMP_ALLOC, KISS_FFT_TMP_FREE, and kiss_fft_state::nfft.

Referenced by kiss_fft().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: