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 395 of file kiss_fft.cpp.hpp.

396{
397 if (fin == fout) {
398 //NOTE: this is not really an in-place FFT algorithm.
399 //It just performs an out-of-place FFT into a temp buffer
401 kf_work(tmpbuf,fin,1,in_stride, st->factors,st);
402 fl::memcpy(fout,tmpbuf,sizeof(kiss_fft_cpx)*st->nfft);
403 KISS_FFT_TMP_FREE(tmpbuf);
404 }else{
405 kf_work( fout, fin, 1, in_stride, st->factors,st );
406 }
407}
#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) FL_NOEXCEPT
void * memcpy(void *dest, const void *src, size_t n) FL_NOEXCEPT

References FL_NOEXCEPT, kf_work(), KISS_FFT_TMP_ALLOC, KISS_FFT_TMP_FREE, and fl::memcpy().

Referenced by kiss_fft().

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