Loading lib_enc/enc_gen_voic_rf_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -450,7 +450,7 @@ void coder_acelp_rf_fx( hRF->rf_mem_w0 = sub_o( xn[L_SUBFR - 1], round_fx_o( L_shl_o( Ltmp, 1, &Overflow ), &Overflow ), &Overflow ); /* Q_xn */ move16(); #ifdef ISSUE_1772_replace_shr_o hRF->rf_mem_w0 = shr_sat( hRF->rf_mem_w0, shift, &Overflow ); /*Qnew-1*/ hRF->rf_mem_w0 = shr_sat( hRF->rf_mem_w0, shift ); /*Qnew-1*/ #else hRF->rf_mem_w0 = shr_o( hRF->rf_mem_w0, shift, &Overflow ); /*Qnew-1*/ #endif Loading lib_enc/set_impulse_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -202,7 +202,7 @@ void set_impulse_fx( num = div_s( num, den ); #ifdef ISSUE_1772_replace_shr_o krit_fx = shr_sat( num, sub( sub( shl_o( exp_num, 1, &Overflow ), exp_den ), 2 ), &Overflow ); /* Q18 */ krit_fx = shr_sat( num, sub( sub( shl_o( exp_num, 1, &Overflow ), exp_den ), 2 ) ); /* Q18 */ #else krit_fx = shr_o( num, sub( sub( shl_o( exp_num, 1, &Overflow ), exp_den ), 2 ), &Overflow ); /* Q18 */ #endif Loading lib_enc/stat_noise_uv_enc_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ void stat_noise_uv_enc_fx( den = extract_h( L_shl_o( LepsP[1], expd, &Overflow ) ); /*expd-16*/ num = div_s( num, den ); /*expn-expd+15*/ #ifdef ISSUE_1772_replace_shr_o num = shr_sat( num, add( sub( expn, expd ), 5 ), &Overflow ); /*Q10*/ num = shr_sat( num, add( sub( expn, expd ), 5 ) ); /*Q10*/ #else num = shr_o( num, add( sub( expn, expd ), 5 ), &Overflow ); /*Q10*/ #endif Loading Loading
lib_enc/enc_gen_voic_rf_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -450,7 +450,7 @@ void coder_acelp_rf_fx( hRF->rf_mem_w0 = sub_o( xn[L_SUBFR - 1], round_fx_o( L_shl_o( Ltmp, 1, &Overflow ), &Overflow ), &Overflow ); /* Q_xn */ move16(); #ifdef ISSUE_1772_replace_shr_o hRF->rf_mem_w0 = shr_sat( hRF->rf_mem_w0, shift, &Overflow ); /*Qnew-1*/ hRF->rf_mem_w0 = shr_sat( hRF->rf_mem_w0, shift ); /*Qnew-1*/ #else hRF->rf_mem_w0 = shr_o( hRF->rf_mem_w0, shift, &Overflow ); /*Qnew-1*/ #endif Loading
lib_enc/set_impulse_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -202,7 +202,7 @@ void set_impulse_fx( num = div_s( num, den ); #ifdef ISSUE_1772_replace_shr_o krit_fx = shr_sat( num, sub( sub( shl_o( exp_num, 1, &Overflow ), exp_den ), 2 ), &Overflow ); /* Q18 */ krit_fx = shr_sat( num, sub( sub( shl_o( exp_num, 1, &Overflow ), exp_den ), 2 ) ); /* Q18 */ #else krit_fx = shr_o( num, sub( sub( shl_o( exp_num, 1, &Overflow ), exp_den ), 2 ), &Overflow ); /* Q18 */ #endif Loading
lib_enc/stat_noise_uv_enc_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ void stat_noise_uv_enc_fx( den = extract_h( L_shl_o( LepsP[1], expd, &Overflow ) ); /*expd-16*/ num = div_s( num, den ); /*expn-expd+15*/ #ifdef ISSUE_1772_replace_shr_o num = shr_sat( num, add( sub( expn, expd ), 5 ), &Overflow ); /*Q10*/ num = shr_sat( num, add( sub( expn, expd ), 5 ) ); /*Q10*/ #else num = shr_o( num, add( sub( expn, expd ), 5 ), &Overflow ); /*Q10*/ #endif Loading