Searched refs:nfft (Results 1 – 6 of 6) sorted by relevance
/system/chre/external/kiss_fft/ |
D | kiss_fftr.c | 27 kiss_fftr_cfg kiss_fftr_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem) in kiss_fftr_alloc() argument 33 if (nfft & 1) { in kiss_fftr_alloc() 37 nfft >>= 1; in kiss_fftr_alloc() 39 kiss_fft_alloc (nfft, inverse_fft, NULL, &subsize); in kiss_fftr_alloc() 40 …memneeded = sizeof(struct kiss_fftr_state) + subsize + sizeof(kiss_fft_cpx) * (size_t)( nfft * 3 /… in kiss_fftr_alloc() 54 st->super_twiddles = st->tmpbuf + nfft; in kiss_fftr_alloc() 55 kiss_fft_alloc(nfft, inverse_fft, st->substate, &subsize); in kiss_fftr_alloc() 57 for (i = 0; i < nfft/2; ++i) { in kiss_fftr_alloc() 59 -3.14159265358979323846264338327 * ((double) (i+1) / nfft + .5); in kiss_fftr_alloc() 78 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 | 209 int Norig = st->nfft; in kf_bfly_generic() 339 kiss_fft_cfg kiss_fft_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem ) in kiss_fft_alloc() argument 343 + sizeof(kiss_fft_cpx)*(size_t)(nfft-1); /* twiddle factors*/ in kiss_fft_alloc() 354 st->nfft=nfft; in kiss_fft_alloc() 357 for (i=0;i<nfft;++i) { in kiss_fft_alloc() 359 double phase = -2*pi*i / nfft; in kiss_fft_alloc() 365 kf_factor(nfft,st->factors); in kiss_fft_alloc() 376 … kiss_fft_cpx * tmpbuf = (kiss_fft_cpx*)KISS_FFT_TMP_ALLOC( sizeof(kiss_fft_cpx)*(size_t)st->nfft); in kiss_fft_stride() 378 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
|