Loading lib_enc/enc_acelp_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -563,7 +563,7 @@ Word16 E_ACELP_xy1_corr_fx( Word16 xn[] /*Q15-exp_xn*/, Word16 y1[] /*Q15-exp_xn i = add( exp_xy, 1 - 1 ); /* -1 -> gain in Q14 */ i = sub( i, exp_yy ); BASOP_SATURATE_WARNING_OFF_EVS #ifdef ISSUE_1796_replace_shl_o #ifdef ISSUE_1796_replace_shl_o_ gain = shl_sat( gain, i ); /* saturation can occur here */ /* There's only 1 integer x to solve 32767 = x * 2^y, if y is an integer : x= 32767 and y = 0 . Loading lib_enc/lp_exc_e_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -521,7 +521,7 @@ Word16 corr_xy1_fx( /* o : pitch gain (0..GAIN_PIT_MAX) xy = shr( xy, 1 ); /* be sure that xy < yy */ gain = div_s( xy, yy ); // Q15 i = sub( exp_xy, exp_yy ); #ifdef ISSUE_1796_replace_shl_o #ifdef ISSUE_1796_replace_shl_o_ gain = shl_sat( gain, i ); /* saturation can occur here */ /* Loading Loading
lib_enc/enc_acelp_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -563,7 +563,7 @@ Word16 E_ACELP_xy1_corr_fx( Word16 xn[] /*Q15-exp_xn*/, Word16 y1[] /*Q15-exp_xn i = add( exp_xy, 1 - 1 ); /* -1 -> gain in Q14 */ i = sub( i, exp_yy ); BASOP_SATURATE_WARNING_OFF_EVS #ifdef ISSUE_1796_replace_shl_o #ifdef ISSUE_1796_replace_shl_o_ gain = shl_sat( gain, i ); /* saturation can occur here */ /* There's only 1 integer x to solve 32767 = x * 2^y, if y is an integer : x= 32767 and y = 0 . Loading
lib_enc/lp_exc_e_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -521,7 +521,7 @@ Word16 corr_xy1_fx( /* o : pitch gain (0..GAIN_PIT_MAX) xy = shr( xy, 1 ); /* be sure that xy < yy */ gain = div_s( xy, yy ); // Q15 i = sub( exp_xy, exp_yy ); #ifdef ISSUE_1796_replace_shl_o #ifdef ISSUE_1796_replace_shl_o_ gain = shl_sat( gain, i ); /* saturation can occur here */ /* Loading