Lines Matching full:leak_estimate
147 spx_word16_t leak_estimate;
442 st->leak_estimate = 0;
1095 /* leak_estimate is the linear regression result */
1096 st->leak_estimate = FLOAT_EXTRACT16(FLOAT_SHL(FLOAT_DIVU(st->Pey, st->Pyy),14));
1098 if (st->leak_estimate > 16383)
1099 st->leak_estimate = 32767;
1101 st->leak_estimate = SHL16(st->leak_estimate,1);
1102 /*printf ("%f\n", st->leak_estimate);*/
1106 tmp32 = MULT16_32_Q15(st->leak_estimate,Syy);
1121 RER = (.0001*Sxx + 3.*MULT16_32_Q15(st->leak_estimate,Syy)) / See;
1130 if (!st->adapted && st->sum_adapt > SHL32(EXTEND32(M),15) && MULT16_32_Q15(st->leak_estimate,Syy) > MULT16_32_Q15(QCONST16(.03f,15),Syy))
1142 r = MULT16_32_Q15(st->leak_estimate,SHL32(st->Yf[i],3));
1213 if (st->leak_estimate > 16383)
1216 leak2 = SHL16(st->leak_estimate, 1);
1218 if (st->leak_estimate>.5)
1221 leak2 = 2*st->leak_estimate;