Loading lib_com/arith_coder_fx.c +4 −0 Original line number Diff line number Diff line Loading @@ -424,9 +424,13 @@ void tcx_arith_scale_envelope( tmp = getScaleFactor32( env, L_frame ); *s_env_e = sub( add( 15, iscale_e ), tmp ); move16(); #ifdef ISSUE_1836_replace_overflow_libcom a = L_shl_sat( 1265000, sub( 15, *s_env_e ) ); #else BASOP_SATURATE_WARNING_OFF_EVS; a = L_shl_o( 1265000, sub( 15, *s_env_e ), &Overflow ); BASOP_SATURATE_WARNING_ON_EVS; #endif FOR( k = 0; k < L_frame; k++ ) { Loading Loading
lib_com/arith_coder_fx.c +4 −0 Original line number Diff line number Diff line Loading @@ -424,9 +424,13 @@ void tcx_arith_scale_envelope( tmp = getScaleFactor32( env, L_frame ); *s_env_e = sub( add( 15, iscale_e ), tmp ); move16(); #ifdef ISSUE_1836_replace_overflow_libcom a = L_shl_sat( 1265000, sub( 15, *s_env_e ) ); #else BASOP_SATURATE_WARNING_OFF_EVS; a = L_shl_o( 1265000, sub( 15, *s_env_e ), &Overflow ); BASOP_SATURATE_WARNING_ON_EVS; #endif FOR( k = 0; k < L_frame; k++ ) { Loading