Home
last modified time | relevance | path

Searched refs:ncfft (Results 1 – 2 of 2) sorted by relevance

/external/speex/libspeexdsp/
Dkiss_fftr.c84 int k,ncfft; in kiss_fftr() local
91 ncfft = st->substate->nfft; in kiss_fftr()
111 freqdata[ncfft].r = tdc.r - tdc.i; in kiss_fftr()
113 freqdata[ncfft].i = freqdata[0].i = _mm_set1_ps(0); in kiss_fftr()
115 freqdata[ncfft].i = freqdata[0].i = 0; in kiss_fftr()
118 for ( k=1;k <= ncfft/2 ; ++k ) { in kiss_fftr()
120 fpnk.r = st->tmpbuf[ncfft-k].r; in kiss_fftr()
121 fpnk.i = - st->tmpbuf[ncfft-k].i; in kiss_fftr()
131 freqdata[ncfft-k].r = HALF_OF(f1k.r - tw.r); in kiss_fftr()
132 freqdata[ncfft-k].i = HALF_OF(tw.i - f1k.i); in kiss_fftr()
[all …]
/external/eigen/unsupported/Eigen/src/FFT/
Dei_kissfft_impl.h313 int ncfft = nfft>>1; in fwd() local
318 fwd( dst, reinterpret_cast<const Complex*> (src), ncfft); in fwd()
324 Complex fpnk = conj(dst[ncfft-k]); in fwd()
329 dst[ncfft-k] = conj(f1k -tw)*Scalar(.5); in fwd()
332 dst[ncfft] = nyquist; in fwd()
358 int ncfft = nfft>>1; in inv() local
361 m_tmpBuf1.resize(ncfft); in inv()
362 … m_tmpBuf1[0] = Complex( src[0].real() + src[ncfft].real(), src[0].real() - src[ncfft].real() ); in inv()
363 for (int k = 1; k <= ncfft / 2; ++k) { in inv()
365 Complex fnkc = conj(src[ncfft-k]); in inv()
[all …]