Lines Matching refs:power
161 spx_word32_t Davg1; /* 1st recursive average of the residual power difference */
162 spx_word32_t Davg2; /* 2nd recursive average of the residual power difference */
166 spx_word32_t *power; /* Power of the far-end signal */
167 spx_float_t *power_1;/* Inverse power of far-end */
233 /** Compute power spectrum of a half-complex (packed) vector */
245 /** Compute power spectrum of a half-complex (packed) vector and accumulate */
257 /** Compute cross-power spectrum of a half-complex (packed) vectors and add to acc */
336 /** Compute weighted cross-power spectrum of a half-complex (packed) vector with conjugate */
465 st->power = (spx_word32_t*)speex_alloc((frame_size+1)*sizeof(spx_word32_t));
549 st->power[i] = 0;
612 speex_free(st->power);
880 /* Difference in response, this is used to estimate the variance of our residual power estimate */
1011 /* Compute power spectrum of echo (X), error (E) and filter response (Y) */
1057 st->power[j] = MULT16_32_Q15(ss_1,st->power[j]) + 1 + MULT16_32_Q15(ss,st->Xf[j]);
1152 /*st->power_1[i] = adapt_rate*r/(e*(1+st->power[i]));*/
1153 st->power_1[i] = FLOAT_SHL(FLOAT_DIV32_FLOAT(r,FLOAT_MUL32U(e,st->power[i]+10)),WEIGHT_SHIFT+16);
1172 st->power_1[i] = FLOAT_SHL(FLOAT_DIV32(EXTEND32(adapt_rate),ADD32(st->power[i],10)),WEIGHT_SHIFT+1);
1208 /* Compute power spectrum of the echo */