Loading lib_enc/igf_enc.c +1 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,7 @@ static void IGF_CalculateEnvelope(const IGF_ENC_INSTANCE_HANDLE hInstanc #ifdef BASOP_NOGLOB BASOP_Util_Divide_MantExp(round_fx_o(sfbEnergyTileR[sfb], &Overflow),sfbEnergyTileR_exp[sfb], width, 15, &gain, &gain_exp); BASOP_Util_Divide_MantExp(round_fx(sfbEnergyC[sfb]), sfbEnergyC_exp[sfb], round_fx_o(sfbEnergyTileC[sfb], &Overflow), sfbEnergyTileC_exp[sfb], &tmp, &tmp_exp); BASOP_Util_Divide_MantExp(round_fx_o(sfbEnergyC[sfb], &Overflow), sfbEnergyC_exp[sfb], round_fx_o(sfbEnergyTileC[sfb], &Overflow), sfbEnergyTileC_exp[sfb], &tmp, &tmp_exp); #else BASOP_Util_Divide_MantExp(round_fx(sfbEnergyTileR[sfb]), sfbEnergyTileR_exp[sfb], Loading lib_enc/tcx_ltp_enc.c +4 −0 Original line number Diff line number Diff line Loading @@ -308,7 +308,11 @@ static void tcx_ltp_find_gain( Word16 *speech, Word16 *pred_speech, Word16 L_fra ener = L_shl(ener, tmp); s2 = sub(s2, tmp); #ifdef BASOP_NOGLOB g = divide1616(round_fx_o(corr, &Overflow), round_fx_o(ener, &Overflow)); #else g = divide1616(round_fx(corr), round_fx(ener)); #endif BASOP_SATURATE_WARNING_OFF #ifdef BASOP_NOGLOB g = shl_o(g, sub(s1, s2), &Overflow); Loading Loading
lib_enc/igf_enc.c +1 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,7 @@ static void IGF_CalculateEnvelope(const IGF_ENC_INSTANCE_HANDLE hInstanc #ifdef BASOP_NOGLOB BASOP_Util_Divide_MantExp(round_fx_o(sfbEnergyTileR[sfb], &Overflow),sfbEnergyTileR_exp[sfb], width, 15, &gain, &gain_exp); BASOP_Util_Divide_MantExp(round_fx(sfbEnergyC[sfb]), sfbEnergyC_exp[sfb], round_fx_o(sfbEnergyTileC[sfb], &Overflow), sfbEnergyTileC_exp[sfb], &tmp, &tmp_exp); BASOP_Util_Divide_MantExp(round_fx_o(sfbEnergyC[sfb], &Overflow), sfbEnergyC_exp[sfb], round_fx_o(sfbEnergyTileC[sfb], &Overflow), sfbEnergyTileC_exp[sfb], &tmp, &tmp_exp); #else BASOP_Util_Divide_MantExp(round_fx(sfbEnergyTileR[sfb]), sfbEnergyTileR_exp[sfb], Loading
lib_enc/tcx_ltp_enc.c +4 −0 Original line number Diff line number Diff line Loading @@ -308,7 +308,11 @@ static void tcx_ltp_find_gain( Word16 *speech, Word16 *pred_speech, Word16 L_fra ener = L_shl(ener, tmp); s2 = sub(s2, tmp); #ifdef BASOP_NOGLOB g = divide1616(round_fx_o(corr, &Overflow), round_fx_o(ener, &Overflow)); #else g = divide1616(round_fx(corr), round_fx(ener)); #endif BASOP_SATURATE_WARNING_OFF #ifdef BASOP_NOGLOB g = shl_o(g, sub(s1, s2), &Overflow); Loading