Loading lib_enc/ivas_dirac_enc_fx.c +2 −3 Original line number Diff line number Diff line Loading @@ -661,8 +661,7 @@ static Word16 ivas_dirac_get_mono_flag_fx( move16(); } #ifdef FIX_ISSUE_1744_IVAS_DIRAC_GET_MONO_FLAG IF( BASOP_Util_Cmp_Mant32Exp( W_band_power, 31 - 16, Mpy_32_32( other_ch_band_power, threshold ), threshold_e ) == 1 ) /* -16 is needed because divide3232() returned a 16-Bit value, and this 16-bit value was passed to an 32-bit mantissa argument*/ IF( BASOP_Util_Cmp_Mant32Exp( W_band_power, W_band_power_e, Mpy_32_32( other_ch_band_power, threshold ), other_ch_band_power_e + threshold_e ) == 1 ) { any_mono_band = 1; move16(); Loading @@ -673,7 +672,7 @@ static Word16 ivas_dirac_get_mono_flag_fx( move16(); } #else IF( BASOP_Util_Cmp_Mant32Exp( divide3232( W_band_power, other_ch_band_power ), 31, threshold, threshold_e ) == 1 ) IF( BASOP_Util_Cmp_Mant32Exp( divide3232( W_band_power, other_ch_band_power ), 31, threshold, threshold_e ) == 0 ) { any_mono_band = 1; move16(); Loading Loading
lib_enc/ivas_dirac_enc_fx.c +2 −3 Original line number Diff line number Diff line Loading @@ -661,8 +661,7 @@ static Word16 ivas_dirac_get_mono_flag_fx( move16(); } #ifdef FIX_ISSUE_1744_IVAS_DIRAC_GET_MONO_FLAG IF( BASOP_Util_Cmp_Mant32Exp( W_band_power, 31 - 16, Mpy_32_32( other_ch_band_power, threshold ), threshold_e ) == 1 ) /* -16 is needed because divide3232() returned a 16-Bit value, and this 16-bit value was passed to an 32-bit mantissa argument*/ IF( BASOP_Util_Cmp_Mant32Exp( W_band_power, W_band_power_e, Mpy_32_32( other_ch_band_power, threshold ), other_ch_band_power_e + threshold_e ) == 1 ) { any_mono_band = 1; move16(); Loading @@ -673,7 +672,7 @@ static Word16 ivas_dirac_get_mono_flag_fx( move16(); } #else IF( BASOP_Util_Cmp_Mant32Exp( divide3232( W_band_power, other_ch_band_power ), 31, threshold, threshold_e ) == 1 ) IF( BASOP_Util_Cmp_Mant32Exp( divide3232( W_band_power, other_ch_band_power ), 31, threshold, threshold_e ) == 0 ) { any_mono_band = 1; move16(); Loading