Commit 1069cfe5 authored by Mohammadreza Naghibzadeh's avatar Mohammadreza Naghibzadeh
Browse files

Merge remote-tracking branch 'origin/main' into...

Merge remote-tracking branch 'origin/main' into basop-2618-residual-plc-attenuation-ignores-q_fac-sqrt32-exponent
parents 5f1be5ac e65d31a1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -99,6 +99,7 @@
#define FIX_ISSUE_2616_BOUNDARY_CONDITION               /* FhG: basop issue 2616: Inconsistent boundary conditions in function stereo_dft_dequantize_res_gains*/
#define FIX_ISSUE_2613_WRONG_COMP_MACRO                 /* FhG: basop issue 2613: Inconsistent comparison macros in function tdm_SCh_LSF_intra_pred_fx*/
#define FIX_ISSUE_2611_WRONG_COMMENT                    /* FhG: basop issue 2611: Wrong Q value comment in fucntion stereo_dft_sg_recovery_fx()*/
#define FIX_BASOP_2550_TCX_ENC_MEM_UPDATE               /* FhG: fix condition in tcx_encoder_memory_update_*_fx(), bring inline with float */

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

+8 −0
Original line number Diff line number Diff line
@@ -2406,7 +2406,11 @@ void tcx_encoder_memory_update_fx(
    Copy( synth + sub( L_frame_glob, L_SYN_MEM ), LPDmem->mem_syn_r, L_SYN_MEM );

    test();
#ifdef FIX_BASOP_2550_TCX_ENC_MEM_UPDATE
    IF( st->tcxonly == 0 || EQ_16( L_frame_glob, L_FRAME16k ) )
#else
    IF( st->tcxonly == 0 || LE_16( L_frame_glob, L_FRAME16k ) )
#endif
    {
        /* Update excitation */
        IF( LT_16( L_frame_glob, L_EXC_MEM ) )
@@ -2474,7 +2478,11 @@ void tcx_encoder_memory_update_ivas_fx(
    move16();

    test();
#ifdef FIX_BASOP_2550_TCX_ENC_MEM_UPDATE
    IF( st->tcxonly == 0 || EQ_16( L_frame_glob, L_FRAME16k ) )
#else
    IF( st->tcxonly == 0 || LE_16( L_frame_glob, L_FRAME16k ) )
#endif
    {
        /* Update excitation */
        IF( LT_16( L_frame_glob, L_EXC_MEM ) )