Commit 50d6a561 authored by Nicolas Roussin's avatar Nicolas Roussin
Browse files

Address Tommy's comments.

parent 167f8cf4
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -3497,7 +3497,7 @@ static Word32 eig2x2_div_fx( Word32 num, Word32 den );

static Word32 eig2x2_div_fx( Word32 num, Word32 den )
{
    if ( EQ_32( den, 0x40000000 ) )
    IF ( EQ_32( den, 0x40000000 ) )
    {
        return num;
    }
@@ -3521,7 +3521,7 @@ static void eig2x2_fx(
#ifdef NONBE_OPT_2193_EIG2X2
    Word32 pm_fx, add_fx;
    Word32 tmp1, tmp2, e1, e2, c_re, c_im, c0_im, c1_im;
    Word32 condition, s0_fx, s1_fx, nval0_fx, nval1_fx;
    Word32 s0_fx, s1_fx, nval0_fx, nval1_fx;
    Word64 crossSquare_fx, tmp3, tmp4;
    Word16 q_crossSquare, q_min, q_diff, q_tmp1, q_tmp2, exp, q_e, q_c;
    Word16 nval0_q, nval1_q;
@@ -3635,8 +3635,8 @@ static void eig2x2_fx(

    // Numeric case, when input is practically zeros
    // if ( D_fx[0] < EPSILON_FX )
    condition = LT_32( L_shl_sat( D_fx[0], sub( 31 - EPSILON_EXP, *q_D ) ), EPSILON_MANT );
    if ( condition != 0 )

    IF ( LT_32( L_shl_sat( D_fx[0], sub( 31 - EPSILON_EXP, *q_D ) ), EPSILON_MANT ) )
    {
        return;
    }
@@ -3647,8 +3647,8 @@ static void eig2x2_fx(
    {
        tmp1 = L_shr( tmp1, q_diff );
    }
    condition = LT_32( tmp2, tmp1 );
    if ( condition != 0 )

    IF ( LT_32( tmp2, tmp1 ) )
    {
        return;
    }