Loading lib_com/swb_bwe_com_fx.c +5 −1 Original line number Diff line number Diff line Loading @@ -2410,7 +2410,11 @@ void time_reduce_pre_echo_fx( L_tmp = L_sub(L_tmp1, Ltmp_ener); /*Q(30-exp) */ L_tmp = Mult_32_16(L_tmp, tmpi); /*Q(30-exp) */ L_tmp = L_add(Ltmp_ener, L_tmp); /*Q(30-exp) */ #ifdef BASOP_NOGLOB tmp = round_fx_sat( L_shl_sat( Mult_32_16( L_tmp, *pit ), add( 1, exp ) ) ); /*Q0 */ #else tmp = round_fx( L_shl( Mult_32_16( L_tmp, *pit ), add( 1, exp ) ) ); /*Q0 */ #endif *pit++ = tmp; } } Loading lib_dec/cng_dec_fx.c +5 −1 Original line number Diff line number Diff line Loading @@ -954,7 +954,11 @@ static void shb_CNG_decod_fx( move32(); } fra = L_Extract_lc(L_tmp, &exp); #ifdef BASOP_NOGLOB L_tmp = L_shl_sat( Pow2( exp, fra ), 5 ); /*Q5 */ #else L_tmp = L_shl( Pow2( exp, fra ), 5 ); /*Q5 */ #endif L_tmp = L_shr(L_tmp, 10); if( L_tmp == 0 ) { Loading Loading
lib_com/swb_bwe_com_fx.c +5 −1 Original line number Diff line number Diff line Loading @@ -2410,7 +2410,11 @@ void time_reduce_pre_echo_fx( L_tmp = L_sub(L_tmp1, Ltmp_ener); /*Q(30-exp) */ L_tmp = Mult_32_16(L_tmp, tmpi); /*Q(30-exp) */ L_tmp = L_add(Ltmp_ener, L_tmp); /*Q(30-exp) */ #ifdef BASOP_NOGLOB tmp = round_fx_sat( L_shl_sat( Mult_32_16( L_tmp, *pit ), add( 1, exp ) ) ); /*Q0 */ #else tmp = round_fx( L_shl( Mult_32_16( L_tmp, *pit ), add( 1, exp ) ) ); /*Q0 */ #endif *pit++ = tmp; } } Loading
lib_dec/cng_dec_fx.c +5 −1 Original line number Diff line number Diff line Loading @@ -954,7 +954,11 @@ static void shb_CNG_decod_fx( move32(); } fra = L_Extract_lc(L_tmp, &exp); #ifdef BASOP_NOGLOB L_tmp = L_shl_sat( Pow2( exp, fra ), 5 ); /*Q5 */ #else L_tmp = L_shl( Pow2( exp, fra ), 5 ); /*Q5 */ #endif L_tmp = L_shr(L_tmp, 10); if( L_tmp == 0 ) { Loading