Lines Matching refs:gain_sf
518 int gain_sf[(((1024) / (32) * (4) / 2) + (3 * (4)))]; in apply_inter_tes() local
661 gain_sf[i] = mult_sf - total_power_low_sf + sf2; in apply_inter_tes()
662 gain[i] = sqrtFixp_lookup(gain[i], &gain_sf[i]); in apply_inter_tes()
663 if (gain_sf[i] < 0) { in apply_inter_tes()
664 gain[i] >>= -gain_sf[i]; in apply_inter_tes()
665 gain_sf[i] = 0; in apply_inter_tes()
670 gain_sf[i] = 0; in apply_inter_tes()
673 gain_sf[i] = 0; in apply_inter_tes()
683 if (gain_sf[i] < 0) { in apply_inter_tes()
684 gain[i] >>= -gain_sf[i]; in apply_inter_tes()
685 gain_sf[i] = 0; in apply_inter_tes()
690 gain_sf[i]; /* to substract this from gain[i] */ in apply_inter_tes()
695 int mult_sf = gain_sf[i] + gamma_sf; in apply_inter_tes()
699 gain_sf[i] += gamma_sf + 1; /* +1 because of fMultDiv2() */ in apply_inter_tes()
706 if (point_two_sf < gain_sf[i]) { in apply_inter_tes()
707 point_two >>= gain_sf[i] - point_two_sf; in apply_inter_tes()
709 tmp >>= point_two_sf - gain_sf[i]; in apply_inter_tes()
717 gain_sf[i] = -2; in apply_inter_tes()
724 gain_sf[i] -= r; in apply_inter_tes()
727 gain_pow2_sf = gain_sf[i] << 1; in apply_inter_tes()
764 gain_sf[i] += gain_adj_sf; in apply_inter_tes()
767 if (gain_sf[i] > INTER_TES_SF_CHANGE) { in apply_inter_tes()
769 gain_sf[i] = INTER_TES_SF_CHANGE; in apply_inter_tes()
775 gain[i] >>= INTER_TES_SF_CHANGE - gain_sf[i]; in apply_inter_tes()