Commit d6857152 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_2407_FIX_RESIDU_IVAS

parent f55d5803
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -98,7 +98,6 @@
/* #################### Start NON-BE switches ############################ */
/* any switch which is non-be wrt. TS 26.251 V3.0 */

#define FIX_2407_FIX_RESIDU_IVAS                        /* VA: basop 2407, Implementation issue in residu_ivas + unnecessary complexity */

/* ##################### End NON-BE switches ########################### */

+0 −17
Original line number Diff line number Diff line
@@ -24,22 +24,6 @@ void residu_ivas_fx(
    const Word16 l   /* i  : size of filtering                */
)
{
#ifndef FIX_2407_FIX_RESIDU_IVAS
    Word32 s;
    Word16 i, j;

    FOR( i = 0; i < l; i++ )
    {
        s = x[i];
        move32();
        FOR( j = 1; j <= m; j++ )
        {
            s = L_add( s, L_shl( Mpy_32_16_1( x[i - j], a[j] ), sub( Q15, a_exp ) ) ); // Qx
        }
        y[i] = s;
        move32();
    }
#else
    Word64 s64;
    Word16 i, j, scaling;

@@ -55,7 +39,6 @@ void residu_ivas_fx(
        move32();
    }

#endif
    return;
}