Lines Matching refs:gain2
204 spx_word16_t *gain2; /**< Adjusted gains */ member
457 st->gain2 = (spx_word16_t*)speex_alloc((N+M)*sizeof(spx_word16_t)); in speex_preprocess_state_init()
534 speex_free(st->gain2); in speex_preprocess_state_destroy()
862 st->gain2[i]=DIV32_16(SHL32(EXTEND32(32767),SNR_SHIFT), ADD16(256,tmp)); in speex_preprocess_run()
864 st->gain2[i]=1/(1.f + (q/(1.f-q))*(1+st->prior[i])*exp(-theta)); in speex_preprocess_run()
868 filterbank_compute_psd16(st->bank,st->gain2+N, st->gain2); in speex_preprocess_run()
895 p = st->gain2[i]; in speex_preprocess_run()
915 st->gain2[i]=SQR16_Q15(tmp); in speex_preprocess_run()
924 spx_word16_t p = st->gain2[i]; in speex_preprocess_run()
927 st->gain2[i]=SQR16_Q15(tmp); in speex_preprocess_run()
929 filterbank_compute_psd16(st->bank,st->gain2+N, st->gain2); in speex_preprocess_run()
936 st->gain2[i]=Q15_ONE; in speex_preprocess_run()
942 st->ft[2*i-1] = MULT16_16_P15(st->gain2[i],st->ft[2*i-1]); in speex_preprocess_run()
943 st->ft[2*i] = MULT16_16_P15(st->gain2[i],st->ft[2*i]); in speex_preprocess_run()
945 st->ft[0] = MULT16_16_P15(st->gain2[0],st->ft[0]); in speex_preprocess_run()
946 st->ft[2*N-1] = MULT16_16_P15(st->gain2[N-1],st->ft[2*N-1]); in speex_preprocess_run()