Loading lib_com/lpc_tools_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -541,7 +541,7 @@ Word16 E_LPC_lev_dur_stab( const Word16 Rh[] /*QR -16*/, const Word16 Rl[] /*QR } #ifdef ISSUE_1836_replace_overflow_libcom t0 = L_shl( t0, 4 ); /* result in Q27 -> convert to Q31 */ t0 = L_shl_sat( t0, 4 ); /* result in Q27 -> convert to Q31 */ #else t0 = L_shl_o( t0, 4, &Overflow ); /* result in Q27 -> convert to Q31 */ #endif Loading Loading @@ -758,7 +758,7 @@ Word16 E_LPC_lev_dur_stab_ivas_fx( const Word16 Rh[], const Word16 Rl[], Word16 } #ifdef ISSUE_1836_replace_overflow_libcom t0 = L_shl( t0, 4 ); /* result in Q27 -> convert to Q31 */ t0 = L_shl_sat( t0, 4 ); /* result in Q27 -> convert to Q31 */ #else t0 = L_shl_o( t0, 4, &Overflow ); /* result in Q27 -> convert to Q31 */ #endif Loading Loading @@ -977,7 +977,7 @@ Word16 E_LPC_lev_dur_stab_fx( const Word16 Rh[] /*QR -16*/, const Word16 Rl[] /* } #ifdef ISSUE_1836_replace_overflow_libcom t0 = L_shl( t0, 4 ); /* result in Q27 -> convert to Q31 */ //??sat t0 = L_shl_sat( t0, 4 ); /* result in Q27 -> convert to Q31 */ //??sat #else t0 = L_shl_o( t0, 4, &Overflow ); /* result in Q27 -> convert to Q31 */ #endif Loading Loading
lib_com/lpc_tools_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -541,7 +541,7 @@ Word16 E_LPC_lev_dur_stab( const Word16 Rh[] /*QR -16*/, const Word16 Rl[] /*QR } #ifdef ISSUE_1836_replace_overflow_libcom t0 = L_shl( t0, 4 ); /* result in Q27 -> convert to Q31 */ t0 = L_shl_sat( t0, 4 ); /* result in Q27 -> convert to Q31 */ #else t0 = L_shl_o( t0, 4, &Overflow ); /* result in Q27 -> convert to Q31 */ #endif Loading Loading @@ -758,7 +758,7 @@ Word16 E_LPC_lev_dur_stab_ivas_fx( const Word16 Rh[], const Word16 Rl[], Word16 } #ifdef ISSUE_1836_replace_overflow_libcom t0 = L_shl( t0, 4 ); /* result in Q27 -> convert to Q31 */ t0 = L_shl_sat( t0, 4 ); /* result in Q27 -> convert to Q31 */ #else t0 = L_shl_o( t0, 4, &Overflow ); /* result in Q27 -> convert to Q31 */ #endif Loading Loading @@ -977,7 +977,7 @@ Word16 E_LPC_lev_dur_stab_fx( const Word16 Rh[] /*QR -16*/, const Word16 Rl[] /* } #ifdef ISSUE_1836_replace_overflow_libcom t0 = L_shl( t0, 4 ); /* result in Q27 -> convert to Q31 */ //??sat t0 = L_shl_sat( t0, 4 ); /* result in Q27 -> convert to Q31 */ //??sat #else t0 = L_shl_o( t0, 4, &Overflow ); /* result in Q27 -> convert to Q31 */ #endif Loading