Lines Matching refs:leak_estimate
147 spx_word16_t leak_estimate; member
442 st->leak_estimate = 0; in speex_echo_state_init_mc()
1096 st->leak_estimate = FLOAT_EXTRACT16(FLOAT_SHL(FLOAT_DIVU(st->Pey, st->Pyy),14)); in speex_echo_cancellation()
1098 if (st->leak_estimate > 16383) in speex_echo_cancellation()
1099 st->leak_estimate = 32767; in speex_echo_cancellation()
1101 st->leak_estimate = SHL16(st->leak_estimate,1); in speex_echo_cancellation()
1106 tmp32 = MULT16_32_Q15(st->leak_estimate,Syy); in speex_echo_cancellation()
1121 RER = (.0001*Sxx + 3.*MULT16_32_Q15(st->leak_estimate,Syy)) / See; in speex_echo_cancellation()
1130 …if (!st->adapted && st->sum_adapt > SHL32(EXTEND32(M),15) && MULT16_32_Q15(st->leak_estimate,Syy) … in speex_echo_cancellation()
1142 r = MULT16_32_Q15(st->leak_estimate,SHL32(st->Yf[i],3)); in speex_echo_cancellation()
1213 if (st->leak_estimate > 16383) in speex_echo_get_residual()
1216 leak2 = SHL16(st->leak_estimate, 1); in speex_echo_get_residual()
1218 if (st->leak_estimate>.5) in speex_echo_get_residual()
1221 leak2 = 2*st->leak_estimate; in speex_echo_get_residual()