Commit 290f6e56 authored by Fabian Bauer's avatar Fabian Bauer
Browse files

Reduce changes

parent a40db948
Loading
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -1802,12 +1802,9 @@ void a2rc_fx( const Word16 *a, /* i: can be any Q */
            L_tmp2 = L_mac_o( L_tmp2, tmp, f_fx[j], &Overflow ); /* denom*f[n]+km*denom*f[j] in Q28 (floating with exp) */
#ifdef ISSUE_1799_replace_L_shr_o
            L_tmp1 = L_shr_sat( L_tmp1, exp ); /* bringing to true Q28 */
#else
            L_tmp1 = L_shr_o( L_tmp1, exp, &Overflow ); /* bringing to true Q28 */
#endif
#ifdef ISSUE_1799_replace_L_shr_o
            L_tmp2 = L_shr_sat( L_tmp2, exp ); /* bringing to true Q28 */
#else
            L_tmp1 = L_shr_o( L_tmp1, exp, &Overflow );          /* bringing to true Q28 */
            L_tmp2 = L_shr_o( L_tmp2, exp, &Overflow );          /* bringing to true Q28 */
#endif
            f_fx[j] = round_fx_o( L_tmp1, &Overflow );           /* extracting in q_a */
+0 −4
Original line number Diff line number Diff line
@@ -608,12 +608,8 @@ Word32 calc_tilt_bwe_fx( /* o : Tilt in Q24
#ifdef ISSUE_1799_replace_L_shr_o
        /*Overflow will never happen because exp2 is always positive*/
        L_ener = L_shr( L_ener, exp2 );
#else
#ifdef ISSUE_1799_replace_L_shr_o
        L_ener = L_shr_sat( L_ener, exp2 );
#else
        L_ener = L_shr_o( L_ener, exp2, &Overflow );
#endif
#endif
        L_temp = L_add_o( L_ener_tot, L_ener, &Overflow );
        IF( Overflow != 0 )
+0 −4
Original line number Diff line number Diff line
@@ -3303,12 +3303,8 @@ Word32 Calc_Energy_Autoscaled( /* o: Result (Energy)
#ifdef ISSUE_1799_replace_L_shr_o
        /*Overfloe will never happen because temp2 is always positive*/
        L_temp = L_shr( L_temp, temp2 );
#else
#ifdef ISSUE_1799_replace_L_shr_o
        L_temp = L_shr_sat( L_temp, temp2 );
#else
        L_temp = L_shr_o( L_temp, temp2, &Overflow );
#endif
#endif
        /* Here we try the addition just to check if we can sum
           the energy of the small (8 Iterations) loop with the
+2 −2

File changed.

Contains only whitespace changes.

+7 −7

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+8 −8

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

Loading