Lines Matching defs:ft
206 spx_word16_t *ft; /**< Processing frame in freq domain (2*ps_size) */
450 st->ft = (spx_word16_t*)speex_alloc(2*N*sizeof(spx_word16_t));
536 speex_free(st->ft);
569 static void speex_compute_agc(SpeexPreprocessState *st, spx_word16_t Pframe, spx_word16_t *ft)
613 ft[i] *= st->agc_gain;
652 spx_fft(st->fft_lookup, st->frame, st->ft);
655 ps[0]=MULT16_16(st->ft[0],st->ft[0]);
657 ps[i]=MULT16_16(st->ft[2*i-1],st->ft[2*i-1]) + MULT16_16(st->ft[2*i],st->ft[2*i]);
946 st->ft[2*i-1] = MULT16_16_P15(st->gain2[i],st->ft[2*i-1]);
947 st->ft[2*i] = MULT16_16_P15(st->gain2[i],st->ft[2*i]);
949 st->ft[0] = MULT16_16_P15(st->gain2[0],st->ft[0]);
950 st->ft[2*N-1] = MULT16_16_P15(st->gain2[N-1],st->ft[2*N-1]);
955 speex_compute_agc(st, Pframe, st->ft);
959 spx_ifft(st->fft_lookup, st->ft, st->frame);