Loading lib_com/ivas_spar_com_fx.c +0 −4 Original line number Diff line number Diff line Loading @@ -802,11 +802,7 @@ static void ivas_get_pred_coeffs_enc_fx( tmp64 = W_mult0_32_32( w_norm_fac, dm_w ); // Q=q_tmp IF( LT_16( q_tmp, q_cov_real[0][0][b] ) ) { #ifdef FIX_ISSUE_1811_EXCEEDING_W_SHIFTS tmp64 = W_shr( tmp64, s_min( 63, sub( q_cov_real[0][0][b], q_tmp ) ) ); // Q=q_tmp #else tmp64 = W_shr( tmp64, sub( q_cov_real[0][0][b], q_tmp ) ); // Q=q_tmp #endif } ELSE { Loading lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,6 @@ #define ISSUE_1836_replace_overflow_libcom /* FhG: replace overflow operators by non-overflow-alternatives in lib_com - BE */ #define FIX_ISSUE_1811_EXCEEDING_W_SHIFTS /* FhG: limit exceeding 64bit shifts */ #define FIX_1843_IO_QFACTOR_INIT /* FhG: initialize CRend's io_qfactor also in IVAS_rend */ Loading lib_com/swb_tbe_com_fx.c +0 −4 Original line number Diff line number Diff line Loading @@ -6922,11 +6922,7 @@ void synthesise_fb_high_band_fx( Word64 W_temp; t_Q = sub( shl( exp_tmp, 1 ), 8 ); #ifdef FIX_ISSUE_1811_EXCEEDING_W_SHIFTS P_ONE = W_shl( P_ONE, s_min( 63, sub( t_Q, 15 ) ) ); #else P_ONE = W_shl( P_ONE, sub( t_Q, 15 ) ); #endif W_temp = W_add( P_ONE, temp1 ); Loading lib_com/tns_base.c +0 −4 Original line number Diff line number Diff line Loading @@ -651,11 +651,7 @@ Word16 ITF_Detect_ivas_fx( { sum = W_mac_32_32( sum, temp_spectrum[i], temp_spectrum[i] ); // 2(Q+shift)+1 } #ifdef FIX_ISSUE_1811_EXCEEDING_W_SHIFTS IF( LE_64( sum, W_shl( 32768 * 2 /* HLM_MIN_NRG in Q1 */, s_min( 63, shl( add( Q, shift ), 1 ) ) ) ) ) #else IF( LE_64( sum, W_shl( 32768 * 2 /* HLM_MIN_NRG in Q1 */, shl( add( Q, shift ), 1 ) ) ) ) #endif { BREAK; } Loading lib_dec/ivas_lfe_plc_fx.c +0 −4 Original line number Diff line number Diff line Loading @@ -646,11 +646,7 @@ static void d_syn_filt_fx( } ELSE { #ifdef FIX_ISSUE_1811_EXCEEDING_W_SHIFTS s_fx = W_sub( W_shr( s_fx, s_min( 63, sub( s_q_fx, temp_q ) ) ), temp ); #else s_fx = W_sub( W_shr( s_fx, sub( s_q_fx, temp_q ) ), temp ); #endif s_q_fx = temp_q; move16(); } Loading Loading
lib_com/ivas_spar_com_fx.c +0 −4 Original line number Diff line number Diff line Loading @@ -802,11 +802,7 @@ static void ivas_get_pred_coeffs_enc_fx( tmp64 = W_mult0_32_32( w_norm_fac, dm_w ); // Q=q_tmp IF( LT_16( q_tmp, q_cov_real[0][0][b] ) ) { #ifdef FIX_ISSUE_1811_EXCEEDING_W_SHIFTS tmp64 = W_shr( tmp64, s_min( 63, sub( q_cov_real[0][0][b], q_tmp ) ) ); // Q=q_tmp #else tmp64 = W_shr( tmp64, sub( q_cov_real[0][0][b], q_tmp ) ); // Q=q_tmp #endif } ELSE { Loading
lib_com/options.h +0 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,6 @@ #define ISSUE_1836_replace_overflow_libcom /* FhG: replace overflow operators by non-overflow-alternatives in lib_com - BE */ #define FIX_ISSUE_1811_EXCEEDING_W_SHIFTS /* FhG: limit exceeding 64bit shifts */ #define FIX_1843_IO_QFACTOR_INIT /* FhG: initialize CRend's io_qfactor also in IVAS_rend */ Loading
lib_com/swb_tbe_com_fx.c +0 −4 Original line number Diff line number Diff line Loading @@ -6922,11 +6922,7 @@ void synthesise_fb_high_band_fx( Word64 W_temp; t_Q = sub( shl( exp_tmp, 1 ), 8 ); #ifdef FIX_ISSUE_1811_EXCEEDING_W_SHIFTS P_ONE = W_shl( P_ONE, s_min( 63, sub( t_Q, 15 ) ) ); #else P_ONE = W_shl( P_ONE, sub( t_Q, 15 ) ); #endif W_temp = W_add( P_ONE, temp1 ); Loading
lib_com/tns_base.c +0 −4 Original line number Diff line number Diff line Loading @@ -651,11 +651,7 @@ Word16 ITF_Detect_ivas_fx( { sum = W_mac_32_32( sum, temp_spectrum[i], temp_spectrum[i] ); // 2(Q+shift)+1 } #ifdef FIX_ISSUE_1811_EXCEEDING_W_SHIFTS IF( LE_64( sum, W_shl( 32768 * 2 /* HLM_MIN_NRG in Q1 */, s_min( 63, shl( add( Q, shift ), 1 ) ) ) ) ) #else IF( LE_64( sum, W_shl( 32768 * 2 /* HLM_MIN_NRG in Q1 */, shl( add( Q, shift ), 1 ) ) ) ) #endif { BREAK; } Loading
lib_dec/ivas_lfe_plc_fx.c +0 −4 Original line number Diff line number Diff line Loading @@ -646,11 +646,7 @@ static void d_syn_filt_fx( } ELSE { #ifdef FIX_ISSUE_1811_EXCEEDING_W_SHIFTS s_fx = W_sub( W_shr( s_fx, s_min( 63, sub( s_q_fx, temp_q ) ) ), temp ); #else s_fx = W_sub( W_shr( s_fx, sub( s_q_fx, temp_q ) ), temp ); #endif s_q_fx = temp_q; move16(); } Loading