Commit 6dbda37f authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_2302_LSF_CDBK_THRESHOLD

parent 4956faab
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -109,7 +109,6 @@
/* any switch which is non-be wrt. TS 26.251 V3.0 */

#define FIX_2250_LARGE_DIFFERENCES_BETWEEN_BASOP_AND_FLOAT  /* Dolby: Issue 2250:  random vector generation in GenShapedSHBExcitation() */
#define FIX_2302_LSF_CDBK_THRESHOLD                     /* VA: basop issue 2302: fix threshold for LSF Q codebook-type decision  */
#define FIX_1500_ISM_MD_DTX                             /* VA: float issue 1500: fix ISM elevation metadata smoothing in DTX */
#define FIX_2348_REPLACE_FEC_ENC                        /* VA: basop issue 2348: replace FEC_encode_ivas_fx with FEC_encode_fx  */
#define FIX_2338_HARM_GSC_GAIN_COMP                     /* VA: basop issue 2338: harmonization of band gain computation for both EVS and IVAS */
+0 −13
Original line number Diff line number Diff line
@@ -653,24 +653,11 @@ void lsf_end_enc_fx(

    IF( st->bwidth == NB )
    {
#ifdef FIX_2302_LSF_CDBK_THRESHOLD
        abs_threshold = L_add( SFNETLOWLIMIT_NB, 0 );
#else
        abs_threshold = L_add( SFNETLOWLIMIT_NB, 0 );
#endif
    }
    ELSE
    {
#ifdef FIX_2302_LSF_CDBK_THRESHOLD
        abs_threshold = L_add( SFNETLOWLIMIT_WB, 0 );
#else
        abs_threshold = SFNETLOWLIMIT_WB / 2;
        move32();
        if ( flag_1bit_gran == 0 )
        {
            abs_threshold = L_add( SFNETLOWLIMIT_WB, 0 );
        }
#endif
    }

    /* Calculate LSF weighting coefficients */