Commit 3f9061a4 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[cleanup] accept nested sub-switch SPLIT_SIN_SCALING_AND_EXTRAPOL_LIMIT

parent 2d326ce8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -188,7 +188,6 @@

#define SPLIT_REND_CLDFB_ISM

#define SPLIT_SIN_SCALING_AND_EXTRAPOL_LIMIT

//#define SPLIT_REND_REAL_ONLY_ROLL

+1 −3
Original line number Diff line number Diff line
@@ -919,7 +919,7 @@ void ivas_splitBinPostRendMdDec(
    return;
}

#define REAL_IMAG_INTERPOLATION
#define REAL_IMAG_INTERPOLATION /* TODO FhG2Dlb : can this define be removed? */
static void wrap_around_angle( float *a )
{
    if ( ( *a ) > 180.0f )
@@ -952,7 +952,6 @@ static float get_interp_fact( float p[MAX_HEAD_ROT_POSES], float p_t, int16_t in
        n = p[ind[0]] - p[ind[1]];
        d = p[ind[0]] - p_t;
        interp_fact = d / n;
#ifdef SPLIT_SIN_SCALING_AND_EXTRAPOL_LIMIT
        if ( interp_fact < 0.0f )
        {
            d = max( -1.0f * MAX_EXTRAPOLATION_ANGLE, ( min( MAX_EXTRAPOLATION_ANGLE, d ) ) );
@@ -960,7 +959,6 @@ static float get_interp_fact( float p[MAX_HEAD_ROT_POSES], float p_t, int16_t in
            d = sinf( d * ( EVS_PI / 180.0f ) );
            interp_fact = d / n;
        }
#endif
    }
    else
    {