Commit e9c2f3c6 authored by norvell's avatar norvell
Browse files

Merge branch 'ericsson/hq-envelope-stability-fix' into 'main'

[Non BE] Enable ENV_STAB_FIX which should now preserve EVS BE

See merge request !382
parents 6710e93e d224b606
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@
#define FIX_FIX_I59                                     /* Issue 59:  small fix concerning LFE delay rounding */
#define FIX_245_RANGE_CODER_VOIP_MSAN                   /* Issue 245: fix use-of-uninitialized-value in range coder in VoIP mode */
#define FIX_235                                         /* Issue 235: Deallocation of HR filter memory separately for lib_rend (ROM) and lib_util (from file) */
/*#define ENV_STAB_FIX*/                                    /* Contribution 23: HQ envelope stability memory fix */
#define ENV_STAB_FIX                                    /* Contribution 23: HQ envelope stability memory fix */
#define STABILIZE_GIPD                                  /* FhG: Contribution 22: gIPD stabilization */

/* ################## End DEVELOPMENT switches ######################### */
+5 −0
Original line number Diff line number Diff line
@@ -449,6 +449,11 @@ ivas_error core_switching_pre_dec(
            st->hHQ_core->prev_ni_ratio = 0.5f;
            set_f( st->hHQ_core->prev_En_sb, 0.0f, NB_SWB_SUBBANDS );
        }
        else
        {
            set_f( st->hHQ_core->old_out, 0, output_frame );
            set_f( st->hHQ_core->old_outLB, 0, L_FRAME16k );
        }
#else
        set_f( st->hHQ_core->old_out, 0, output_frame );
        set_f( st->hHQ_core->old_outLB, 0, L_FRAME16k );