Go to the documentation of this file.
27 size_t subsize = 0, memneeded;
41 if (*lenmem >= memneeded)
53 for (i = 0; i < nfft/2; ++i) {
55 -3.14159265358979323846264338327 * ((double) (i+1) / nfft + .5);
93 freqdata[0].
r = tdc.
r + tdc.
i;
94 freqdata[ncfft].
r = tdc.
r - tdc.
i;
96 freqdata[ncfft].
i = freqdata[0].
i = _mm_set1_ps(0);
98 freqdata[ncfft].
i = freqdata[0].
i = 0;
101 for ( k=1;k <= ncfft/2 ; ++k ) {
108 C_ADD( f1k, fpk , fpnk );
109 C_SUB( f2k, fpk , fpnk );
131 st->
tmpbuf[0].
r = freqdata[0].
r + freqdata[ncfft].
r;
132 st->
tmpbuf[0].
i = freqdata[0].
r - freqdata[ncfft].
r;
135 for (k = 1; k <= ncfft / 2; ++k) {
138 fnkc.
r = freqdata[ncfft - k].
r;
139 fnkc.
i = -freqdata[ncfft - k].
i;
143 C_ADD (fek, fk, fnkc);
144 C_SUB (tmp, fk, fnkc);
149 st->
tmpbuf[ncfft - k].
i *= _mm_set1_ps(-1.0);
kiss_fft_cpx * super_twiddles
struct kiss_fft_state * kiss_fft_cfg
kiss_fft_cfg kiss_fft_alloc(int nfft, int inverse_fft, void *mem, size_t *lenmem)
#define CHECK_OVERFLOW_OP(a, op, b)
#define KISS_FFT_ALIGN_CHECK(ptr)
#define kf_cexp(x, phase)
void kiss_fft(kiss_fft_cfg cfg, const kiss_fft_cpx *fin, kiss_fft_cpx *fout)
void kiss_fftri(kiss_fftr_cfg st, const kiss_fft_cpx *freqdata, kiss_fft_scalar *timedata)
void kiss_fftr(kiss_fftr_cfg st, const kiss_fft_scalar *timedata, kiss_fft_cpx *freqdata)
#define KISS_FFT_ERROR(...)
struct kiss_fftr_state * kiss_fftr_cfg
kiss_fftr_cfg kiss_fftr_alloc(int nfft, int inverse_fft, void *mem, size_t *lenmem)
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44