Lines Matching refs:nfft
32 kiss_fftr_cfg kiss_fftr_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem)
38 if (nfft & 1) {
42 nfft >>= 1;
44 kiss_fft_alloc (nfft, inverse_fft, NULL, &subsize);
45 memneeded = sizeof(struct kiss_fftr_state) + subsize + sizeof(kiss_fft_cpx) * ( nfft * 2);
59 st->super_twiddles = st->tmpbuf + nfft;
60 kiss_fft_alloc(nfft, inverse_fft, st->substate, &subsize);
63 for (i=0;i<nfft;++i) {
64 spx_word32_t phase = i+(nfft>>1);
67 kf_cexp2(st->super_twiddles+i, DIV32(SHL32(phase,16),nfft));
70 for (i=0;i<nfft;++i) {
72 double phase = pi*(((double)i) /nfft + .5);
91 ncfft = st->substate->nfft;
145 ncfft = st->substate->nfft;
184 ncfft = st->substate->nfft;
270 ncfft = st->substate->nfft;