Lines Matching refs:WEIGHT_SHIFT
84 #define WEIGHT_SHIFT 11 macro
88 #define WEIGHT_SHIFT 0 macro
267 acc[0] = PSHR32(tmp1,WEIGHT_SHIFT); in spectral_mul_accum()
276 acc[i] = PSHR32(tmp1,WEIGHT_SHIFT); in spectral_mul_accum()
277 acc[i+1] = PSHR32(tmp2,WEIGHT_SHIFT); in spectral_mul_accum()
284 acc[N-1] = PSHR32(tmp1,WEIGHT_SHIFT); in spectral_mul_accum()
294 acc[0] = PSHR32(tmp1,WEIGHT_SHIFT); in spectral_mul_accum16()
303 acc[i] = PSHR32(tmp1,WEIGHT_SHIFT); in spectral_mul_accum16()
304 acc[i+1] = PSHR32(tmp2,WEIGHT_SHIFT); in spectral_mul_accum16()
311 acc[N-1] = PSHR32(tmp1,WEIGHT_SHIFT); in spectral_mul_accum16()
1153 … st->power_1[i] = FLOAT_SHL(FLOAT_DIV32_FLOAT(r,FLOAT_MUL32U(e,st->power[i]+10)),WEIGHT_SHIFT+16); in speex_echo_cancellation()
1172 …t->power_1[i] = FLOAT_SHL(FLOAT_DIV32(EXTEND32(adapt_rate),ADD32(st->power[i],10)),WEIGHT_SHIFT+1); in speex_echo_cancellation()
1276 filt[j*n+i] = PSHR32(MULT16_16(32767,st->wtmp[i]), WEIGHT_SHIFT-NORMALIZE_SCALEDOWN); in speex_echo_ctl()