Lines Matching refs:gain
159 /* check if prediction gain pushes any coefficients too far */
162 int gaindiv; // Q30; inverse of the gain (the divisor)
163 int gain; // gain for this reflection coefficient
164 int fbits; // fractional bits used for the gain
179 gain = ((1 << 29) - 1) / (gaindiv >> (fbits + 1 - 16)); // Q<fbits-16>
180 error = (1 << 29) - MULL(gaindiv << (15 + 16 - fbits), gain, 16);
181 gain = ((gain << 16) + (error * gain >> 13));
189 int64_t tmp = ROUND_MULL(x, gain, fbits);
288 /* if the prediction gain causes the LPC filter to become unstable,
523 float gain;
569 /* gain is coded absolute */
576 /* gain is coded relative */
589 sf[i].gain = lingain / 65536.0f;
702 resptr[j] = av_clipf(sum, -1.0f, 1.0f) * scale / sf[i].gain;
706 float rescale = sf[i-1].gain / sf[i].gain;
722 sum = resptr[j] * sf[i].gain;