Commit 886e1752 authored by vaclav's avatar vaclav
Browse files

Merge remote-tracking branch 'remotes/origin/main' into 383-unused-functions-more

parents 77c78ed0 a4b8e4b8
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -241,6 +241,7 @@
/* all switches in this category should start with "CR_" */

#define CR_FIX_585_MASA_2TC_DTX_EXT                     /* Nokia: issue 585: fixes transition artifacts in MASA 2TC DTX by applying correct condition */
#define CR_FIX_639_HQ_ACELP_TRANSITION                  /* Ericsson: Issue 639: Wrong sampling rate of SWB TBE excitation memory in 16 kHz core for DFT Stereo@32 kbps */
#define CR_FIX_586_BPF_DFT_MEM                          /* FhG: issue 586: set input memory of DFT analysis of BPF signal to zero for HQ core to fix issue with PLC and bitrate switching */
#define CR_FIX_ISM_DTX_INFINITE_CNG_ON_TRAILING_SILENCE /* FhG: fix for cng in ISM DTX on sudden silence periods */

+11 −0
Original line number Diff line number Diff line
@@ -707,7 +707,18 @@ ivas_error acelp_core_dec(
            if ( st->last_core != ACELP_CORE && st->element_mode > EVS_MONO )
            {
                /* Prepare ACB memory of old_bwe_exc */
#ifdef CR_FIX_639_HQ_ACELP_TRANSITION
                if ( st->L_frame == L_FRAME )
                {
                    lerp( old_exc, old_bwe_exc, L_EXC_MEM_DEC * HIBND_ACB_L_FAC, L_EXC_MEM_DEC );
                }
                else
                {
                    lerp( old_exc, old_bwe_exc, L_EXC_MEM_DEC * 2, L_EXC_MEM_DEC );
                }
#else
                lerp( old_exc, old_bwe_exc, L_EXC_MEM_DEC * HIBND_ACB_L_FAC, L_EXC_MEM_DEC );
#endif
            }

            /*-----------------------------------------------------------------*
+11 −0
Original line number Diff line number Diff line
@@ -461,7 +461,18 @@ ivas_error acelp_core_enc(
        if ( st->last_core != ACELP_CORE && st->element_mode > EVS_MONO )
        {
            /* Prepare ACB memory of old_bwe_exc */
#ifdef CR_FIX_639_HQ_ACELP_TRANSITION
            if ( st->L_frame == L_FRAME )
            {
                lerp( old_exc, old_bwe_exc, L_EXC_MEM_DEC * HIBND_ACB_L_FAC, L_EXC_MEM_DEC );
            }
            else
            {
                lerp( old_exc, old_bwe_exc, L_EXC_MEM_DEC * 2, L_EXC_MEM_DEC );
            }
#else
            lerp( old_exc, old_bwe_exc, L_EXC_MEM_DEC * HIBND_ACB_L_FAC, L_EXC_MEM_DEC );
#endif
        }