Lines Matching defs:leak_estimate
141 spx_word16_t leak_estimate;
436 st->leak_estimate = 0;
1089 /* leak_estimate is the linear regression result */
1090 st->leak_estimate = FLOAT_EXTRACT16(FLOAT_SHL(FLOAT_DIVU(st->Pey, st->Pyy),14));
1092 if (st->leak_estimate > 16383)
1093 st->leak_estimate = 32767;
1095 st->leak_estimate = SHL16(st->leak_estimate,1);
1096 /*printf ("%f\n", st->leak_estimate);*/
1100 tmp32 = MULT16_32_Q15(st->leak_estimate,Syy);
1115 RER = (.0001*Sxx + 3.*MULT16_32_Q15(st->leak_estimate,Syy)) / See;
1124 if (!st->adapted && st->sum_adapt > SHL32(EXTEND32(M),15) && MULT16_32_Q15(st->leak_estimate,Syy) > MULT16_32_Q15(QCONST16(.03f,15),Syy))
1136 r = MULT16_32_Q15(st->leak_estimate,SHL32(st->Yf[i],3));
1207 if (st->leak_estimate > 16383)
1210 leak2 = SHL16(st->leak_estimate, 1);
1212 if (st->leak_estimate>.5)
1215 leak2 = 2*st->leak_estimate;