Lines Matching refs:gain2
208 spx_word16_t *gain2; /**< Adjusted gains */ member
461 st->gain2 = (spx_word16_t*)speex_alloc((N+M)*sizeof(spx_word16_t)); in speex_preprocess_state_init()
538 speex_free(st->gain2); in speex_preprocess_state_destroy()
866 st->gain2[i]=DIV32_16(SHL32(EXTEND32(32767),SNR_SHIFT), ADD16(256,tmp)); in speex_preprocess_run()
868 st->gain2[i]=1/(1.f + (q/(1.f-q))*(1+st->prior[i])*exp(-theta)); in speex_preprocess_run()
872 filterbank_compute_psd16(st->bank,st->gain2+N, st->gain2); in speex_preprocess_run()
899 p = st->gain2[i]; in speex_preprocess_run()
919 st->gain2[i]=SQR16_Q15(tmp); in speex_preprocess_run()
928 spx_word16_t p = st->gain2[i]; in speex_preprocess_run()
931 st->gain2[i]=SQR16_Q15(tmp); in speex_preprocess_run()
933 filterbank_compute_psd16(st->bank,st->gain2+N, st->gain2); in speex_preprocess_run()
940 st->gain2[i]=Q15_ONE; in speex_preprocess_run()
946 st->ft[2*i-1] = MULT16_16_P15(st->gain2[i],st->ft[2*i-1]); in speex_preprocess_run()
947 st->ft[2*i] = MULT16_16_P15(st->gain2[i],st->ft[2*i]); in speex_preprocess_run()
949 st->ft[0] = MULT16_16_P15(st->gain2[0],st->ft[0]); in speex_preprocess_run()
950 st->ft[2*N-1] = MULT16_16_P15(st->gain2[N-1],st->ft[2*N-1]); in speex_preprocess_run()