Loading lib_enc/igf_enc.c +10 −5 Original line number Diff line number Diff line Loading @@ -217,6 +217,10 @@ static void IGF_CalculateEnvelope(const IGF_ENC_INSTANCE_HANDLE hInstanc move16(); } #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); #else BASOP_Util_Divide_MantExp(round_fx(sfbEnergyTileR[sfb]), sfbEnergyTileR_exp[sfb], width, Loading @@ -229,6 +233,7 @@ static void IGF_CalculateEnvelope(const IGF_ENC_INSTANCE_HANDLE hInstanc sfbEnergyTileC_exp[sfb], &tmp, &tmp_exp); #endif L_tmp = L_mult(gain, tmp); gain_exp = add(gain_exp, tmp_exp); Loading Loading
lib_enc/igf_enc.c +10 −5 Original line number Diff line number Diff line Loading @@ -217,6 +217,10 @@ static void IGF_CalculateEnvelope(const IGF_ENC_INSTANCE_HANDLE hInstanc move16(); } #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); #else BASOP_Util_Divide_MantExp(round_fx(sfbEnergyTileR[sfb]), sfbEnergyTileR_exp[sfb], width, Loading @@ -229,6 +233,7 @@ static void IGF_CalculateEnvelope(const IGF_ENC_INSTANCE_HANDLE hInstanc sfbEnergyTileC_exp[sfb], &tmp, &tmp_exp); #endif L_tmp = L_mult(gain, tmp); gain_exp = add(gain_exp, tmp_exp); Loading