Lines Matching defs:gain
45 * Postfilter gain weighting factors scaled by 2^15
198 /* Extract combined gain */
400 /* pf_res^2 = tgt_eng + 2*ccr*gain + res_eng*gain^2 */
558 * @param gain interpolated gain
562 int gain, int *rseed)
575 out[i] = gain * *rseed >> 15;
609 * Adjust gain of postfiltered signal.
617 int num, denom, gain, bits1, bits2;
637 gain = (num >> 1) / (denom >> 16);
638 gain = square_root(gain << 16 >> bits2);
640 gain = 1 << 12;
644 p->pf_gain = (15 * p->pf_gain + gain + (1 << 3)) >> 4;
725 static int sid_gain_to_lsp_index(int gain)
727 if (gain < 0x10)
728 return gain << 6;
729 else if (gain < 0x20)
730 return gain - 8 << 7;
732 return gain - 20 << 8;
990 /* Update interpolation gain memory */