Lines Matching refs:gain_code
199 FIXP_DBL *gain_code, int mean_ener_bits, int bfi, in D_gain2_plus() argument
254 *gain_code = scaleValue(fMult(tgcode, gcode_inov), gcode_inov_e); in D_gain2_plus()
273 *gain_code = scaleValue(Ltmp, gcode0_e - SF_GAIN_C + SF_QUA_GAIN7B); in D_gain2_plus()
302 FIXP_DBL gain_code, FIXP_DBL ener_code, in calc_period_factor() argument
328 L_tmp_e = fNorm(gain_code); in calc_period_factor()
329 L_tmp = fPow2(gain_code << L_tmp_e); in calc_period_factor()
398 FIXP_DBL gain_code, /* (i) : Quantized codebook gain SF_GAIN_C */ in noise_enhancer() argument
410 L_tmp = gain_code; in noise_enhancer()
412 L_tmp += fMultDiv2(gain_code, in noise_enhancer()
418 L_tmp = fMult(gain_code, in noise_enhancer()
435 gain_code = fMult(fac, L_tmp) - in noise_enhancer()
437 gain_code); in noise_enhancer()
438 gain_code <<= (SF_PFAC + SF_STAB); in noise_enhancer()
440 return gain_code; in noise_enhancer()
459 FIXP_DBL gain_code, /* (i) : innovative codebook gain g_c Q16 */ in BuildAdaptiveExcitation() argument
481 *exc++ = tmp + (fMultDiv2(code[0], gain_code) << SF); in BuildAdaptiveExcitation()
498 *exc++ = tmp + (fMultDiv2(code_i, gain_code) << SF); in BuildAdaptiveExcitation()
511 *exc = tmp + (fMultDiv2(code_i, gain_code) << SF); in BuildAdaptiveExcitation()
754 FIXP_DBL gain_code, gain_code_smooth, Ener_code; in CLpd_AcelpDecode() local
844 &gain_code, /* (o) : Quantized codebook gain */ in CLpd_AcelpDecode()
860 gain_code, /* (i) : gain of code */ in CLpd_AcelpDecode()
873 gain_code, /* (i) : Quantized codebook gain */ in CLpd_AcelpDecode()
882 BuildAdaptiveExcitation(code, exc + i_subfr, gain_pit, gain_code, in CLpd_AcelpDecode()