Commit d5aaef17 authored by vaclav's avatar vaclav
Browse files

FIX_2463_EVS_BWE_LSF

parent 82ef8f7d
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -95,6 +95,7 @@
#define FIX_1525_UNINIT_FORMAT_SWITCHING_DEC            /* VA: float issue 1525: fix reading of uninitialized memory in format switching at the decoder */
#define HARMONIZE_2446_CON_TCX_FX                       /* FhG: basop issue: 2446 harmonization of function con_tcx_fx() */
#define FIX_2433_ARITH_OVERFLOW_IN_QMETA_ENC            /* Nokia: Fix to convert non-converted binary operations */
#define FIX_2463_EVS_BWE_LSF                            /* VA: basop issue 2463: harmonize calling of Quant_BWE_LSF_fx() */

/* #################### End BE switches ################################## */

+4 −0
Original line number Diff line number Diff line
@@ -1681,6 +1681,9 @@ void swb_tbe_enc_fx(
    ELSE
    {
        /* LSF quantization (21 bits) */
#ifdef FIX_2463_EVS_BWE_LSF
        Quant_BWE_LSF_fx( hBstr, hBWE_TD, st_fx->codec_mode, lsf_shb_fx, lsf_shb_fx, st_fx->extl_brate );
#else
        IF( st_fx->element_mode == EVS_MONO )
        {
            Quant_BWE_LSF_fx( hBstr, hBWE_TD, st_fx->codec_mode, lsf_shb_fx, lsf_shb_fx, st_fx->extl ); // this is likely a bug in EVS
@@ -1689,6 +1692,7 @@ void swb_tbe_enc_fx(
        {
            Quant_BWE_LSF_fx( hBstr, hBWE_TD, st_fx->codec_mode, lsf_shb_fx, lsf_shb_fx, st_fx->extl_brate );
        }
#endif
    }

    /* space the lsfs to assert a minimum distance */