Searched refs:nfft (Results 1 – 6 of 6) sorted by relevance
/chre-3.4.0/external/kiss_fft/ |
D | kiss_fftr.c | 35 kiss_fftr_cfg kiss_fftr_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem) in kiss_fftr_alloc() argument 41 if (nfft & 1) { in kiss_fftr_alloc() 47 nfft >>= 1; in kiss_fftr_alloc() 49 kiss_fft_alloc (nfft, inverse_fft, NULL, &subsize); in kiss_fftr_alloc() 50 …memneeded = sizeof(struct kiss_fftr_state) + subsize + sizeof(kiss_fft_cpx) * (size_t)( nfft * 3 /… in kiss_fftr_alloc() 64 st->super_twiddles = st->tmpbuf + nfft; in kiss_fftr_alloc() 65 kiss_fft_alloc(nfft, inverse_fft, st->substate, &subsize); in kiss_fftr_alloc() 67 for (i = 0; i < nfft/2; ++i) { in kiss_fftr_alloc() 69 -3.14159265358979323846264338327 * ((double) (i+1) / nfft + .5); in kiss_fftr_alloc() 92 ncfft = st->substate->nfft; in kiss_fftr() [all …]
|
D | kissfft.hh | 12 void fill_twiddles( std::complex<T_scalar> * dst ,int nfft,bool inverse) in fill_twiddles() 14 T_scalar phinc = (inverse?2:-2)* acos( (T_scalar) -1) / nfft; in fill_twiddles() 15 for (int i=0;i<nfft;++i) in fill_twiddles() 21 int nfft,bool inverse, in prepare() 25 _twiddles.resize(nfft); in prepare() 26 fill_twiddles( &_twiddles[0],nfft,inverse); in prepare() 31 int n= nfft; in prepare() 66 kissfft(int nfft,bool inverse,const traits_type & traits=traits_type() ) in kissfft() argument 67 :_nfft(nfft),_inverse(inverse),_traits(traits) in kissfft()
|
D | kiss_fft.c | 217 int Norig = st->nfft; in kf_bfly_generic() 347 kiss_fft_cfg kiss_fft_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem ) in kiss_fft_alloc() argument 351 + sizeof(kiss_fft_cpx)*(size_t)(nfft-1); /* twiddle factors*/ in kiss_fft_alloc() 362 st->nfft=nfft; in kiss_fft_alloc() 365 for (i=0;i<nfft;++i) { in kiss_fft_alloc() 367 double phase = -2*pi*i / nfft; in kiss_fft_alloc() 373 kf_factor(nfft,st->factors); in kiss_fft_alloc() 384 … kiss_fft_cpx * tmpbuf = (kiss_fft_cpx*)KISS_FFT_TMP_ALLOC( sizeof(kiss_fft_cpx)*(size_t)st->nfft); in kiss_fft_stride() 386 memcpy(fout,tmpbuf,sizeof(kiss_fft_cpx)*(size_t)(st->nfft)); in kiss_fft_stride()
|
D | kiss_fftr.h | 21 kiss_fftr_cfg kiss_fftr_alloc(int nfft,int inverse_fft,void * mem, size_t * lenmem);
|
D | kiss_fft.h | 81 kiss_fft_cfg kiss_fft_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem);
|
D | _kiss_fft_guts.h | 29 int nfft; member
|