Lines Matching refs:gain_sf
521 int gain_sf[(((1024) / (32) * (4) / 2) + (3 * (4)))]; in apply_inter_tes() local
664 gain_sf[i] = mult_sf - total_power_low_sf + sf2; in apply_inter_tes()
665 gain[i] = sqrtFixp_lookup(gain[i], &gain_sf[i]); in apply_inter_tes()
666 if (gain_sf[i] < 0) { in apply_inter_tes()
667 gain[i] >>= fMin(DFRACT_BITS - 1, -gain_sf[i]); in apply_inter_tes()
668 gain_sf[i] = 0; in apply_inter_tes()
673 gain_sf[i] = 0; in apply_inter_tes()
676 gain_sf[i] = 0; in apply_inter_tes()
688 gain_sf[i]; /* to substract this from gain[i] */ in apply_inter_tes()
693 int mult_sf = gain_sf[i] + gamma_sf; in apply_inter_tes()
697 gain_sf[i] += gamma_sf + 1; /* +1 because of fMultDiv2() */ in apply_inter_tes()
704 if (fIsLessThan(gain[i], gain_sf[i], FL2FXCONST_DBL(0.2f), 0)) { in apply_inter_tes()
706 gain_sf[i] = -2; in apply_inter_tes()
713 gain_sf[i] -= r; in apply_inter_tes()
716 gain_pow2_sf = gain_sf[i] << 1; in apply_inter_tes()
754 fMin(gain_sf[i] + gain_adj_sf - INTER_TES_SF_CHANGE, DFRACT_BITS - 1), in apply_inter_tes()