Lines Matching refs:NOISE_SHIFT
160 #define NOISE_SHIFT 7 macro
172 #define NOISE_SHIFT 0 macro
334 …spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(PSHR32(noise[i],NOISE_SHIFT) + MULT16_32_Q15(gain_ratio,echo[… in compute_gain_floor()
335 (1+PSHR32(noise[i],NOISE_SHIFT) + echo[i]) )),15))); in compute_gain_floor()
344 …_sqrt(SHL32(EXTEND32(DIV32_16_Q15(MULT16_32_Q15(gain_ratio,PSHR32(noise[i],NOISE_SHIFT)) + echo[i], in compute_gain_floor()
345 (1+PSHR32(noise[i],NOISE_SHIFT) + echo[i]) )),15))); in compute_gain_floor()
391 …_SCALING*sqrt(noise_floor*PSHR32(noise[i],NOISE_SHIFT) + echo_floor*echo[i])/sqrt(1+PSHR32(noise[i… in compute_gain_floor()
487 st->noise[i]=QCONST32(1.f,NOISE_SHIFT); in speex_preprocess_state_init()
781 if (!st->update_prob[i] || st->ps[i] < PSHR32(st->noise[i], NOISE_SHIFT)) in speex_preprocess_run()
782 …EXTEND32(0),MULT16_32_Q15(beta_1,st->noise[i]) + MULT16_32_Q15(beta,SHL32(st->ps[i],NOISE_SHIFT))); in speex_preprocess_run()
797 …spx_word32_t tot_noise = ADD32(ADD32(ADD32(EXTEND32(1), PSHR32(st->noise[i],NOISE_SHIFT)) , st->ec… in speex_preprocess_run()
1030 if (!st->update_prob[i] || st->ps[i] < PSHR32(st->noise[i],NOISE_SHIFT)) in speex_preprocess_estimate_update()
1032 …15(QCONST16(.95f,15),st->noise[i]) + MULT16_32_Q15(QCONST16(.05f,15),SHL32(st->ps[i],NOISE_SHIFT)); in speex_preprocess_estimate_update()
1193 ((spx_int32_t *)ptr)[i] = (spx_int32_t) PSHR32(st->noise[i], NOISE_SHIFT); in speex_preprocess_ctl()