Lines Matching refs:gain_pit
198 static void D_gain2_plus(int index, FIXP_COD code[], FIXP_SGL *gain_pit, in D_gain2_plus() argument
248 *gain_pit = tgpit; in D_gain2_plus()
270 *gain_pit = t_qua_gain7b[i]; /* adaptive codebook gain */ in D_gain2_plus()
276 *past_gpit = *gain_pit; in D_gain2_plus()
301 static FIXP_DBL calc_period_factor(FIXP_DBL exc[], FIXP_SGL gain_pit, in calc_period_factor() argument
319 ener_exc = fMult(ener_exc << ener_exc_e, fPow2(gain_pit)); in calc_period_factor()
458 FIXP_SGL gain_pit, /* (i) : adaptive codebook gain g_p Q14 */ in BuildAdaptiveExcitation() argument
480 tmp = fMultDiv2(*exc, gain_pit) << (SF_GAIN_P + 1); /* v(0)*g_p */ in BuildAdaptiveExcitation()
497 tmp = fMultDiv2(*exc, gain_pit) << (SF_GAIN_P + 1); in BuildAdaptiveExcitation()
510 tmp = fMultDiv2(*exc, gain_pit) << (SF_GAIN_P + 1); in BuildAdaptiveExcitation()
753 FIXP_SGL gain_pit; in CLpd_AcelpDecode() local
843 &gain_pit, /* (o) : Quantized pitch gain, exponent = SF_GAIN_P */ in CLpd_AcelpDecode()
851 pit_gain[pit_gain_index++] = FX_SGL2FX_DBL(gain_pit); in CLpd_AcelpDecode()
858 gain_pit, /* (i) : gain of pitch, exponent = in CLpd_AcelpDecode()
866 if (gain_pit > FL2FXCONST_SGL(1.0f / (1 << SF_GAIN_P))) { in CLpd_AcelpDecode()
867 gain_pit = FL2FXCONST_SGL(1.0f / (1 << SF_GAIN_P)); in CLpd_AcelpDecode()
882 BuildAdaptiveExcitation(code, exc + i_subfr, gain_pit, gain_code, in CLpd_AcelpDecode()