Commit 5fbfa2c3 authored by Nicolas Roussin's avatar Nicolas Roussin
Browse files

Address Thomas Dettbarn's comment.

parent d4fa41c9
Loading
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -3507,12 +3507,6 @@ static void eig2x2_fx(

    set32_fx( (Word32 *) Ure_fx, 0, BINAURAL_CHANNELS * BINAURAL_CHANNELS );
    set32_fx( (Word32 *) Uim_fx, 0, BINAURAL_CHANNELS * BINAURAL_CHANNELS );
    Ure_fx[0][0] = ONE_IN_Q30;
    move32();
    Ure_fx[1][1] = ONE_IN_Q30;
    move32();
    *q_U = Q30;
    move16();

    exp = sub( get_min_scalefactor( Cre_fx, Cim_fx ), 2 );
    c_re = L_shl( Cre_fx, exp );
@@ -3612,6 +3606,12 @@ static void eig2x2_fx(

    IF( LT_32( L_shl_sat( D_fx[0], sub( 31 - EPSILON_EXP, *q_D ) ), EPSILON_MANT ) )
    {
        Ure_fx[0][0] = ONE_IN_Q30;
        move32();
        Ure_fx[1][1] = ONE_IN_Q30;
        move32();
        *q_U = Q30;
        move16();
        return;
    }

@@ -3624,6 +3624,12 @@ static void eig2x2_fx(

    IF( LT_32( tmp2, tmp1 ) )
    {
        Ure_fx[0][0] = ONE_IN_Q30;
        move32();
        Ure_fx[1][1] = ONE_IN_Q30;
        move32();
        *q_U = Q30;
        move16();
        return;
    }