Commit 17eef30b authored by Jan Kiene's avatar Jan Kiene
Browse files

port fix for cause of issue 903

parent d9fdb374
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -164,6 +164,7 @@
#define FIX_828_PORT_1152_FROM_FLT_REPO                  /* FhG: fix for issue 828 - fix uninitialized value used in BASOP */
#define NONE_BE_FIX_816_LFE_PLC_FLOAT                   /* DLB: issue 816: reduce required precision to float for LFE-PLC*/
#define FIX_835_PARAMMC_BUFFER_VALUES                   /* FhG: issue 835: wide range of buffer values for cx in ParamMC */
#define FIX_903_ZERO_OUT_IMDCT_BUFFERS_FOR_MCT_IGNORE   /* FhG: zero out all relevant imdct buffers in MCT decoding of channels with mct_chan_mode == MCT_CHAN_MODE_IGNORE */
/* #################### End FIXES switches ############################ */

#define BASOP_NOGLOB                                    /* Disable global symbols in BASOPs, Overflow/Carry in BASOPs disabled, additional BASOPs in case of Overflow */
+10 −0
Original line number Diff line number Diff line
@@ -865,6 +865,16 @@ void ivas_mdct_core_reconstruct(
                {
                    set_f( &synth[k * L_frame[ch]], 0.f, L_frame[ch] );
                    set_f( &synthFB[k * L_frame[ch]], 0.f, L_frameTCX[ch] );
#ifdef FIX_903_ZERO_OUT_IMDCT_BUFFERS_FOR_MCT_IGNORE
                    /* Note: these buffers are not subframe-based, hence no indexing with k */
                    set_f( &st->hHQ_core->old_outLB[0], 0.f, L_frame[ch] );
                    set_f( &st->hHQ_core->old_out[0], 0.f, L_frameTCX[ch] );
                    set_f( &st->hTcxDec->syn_Overl[0], 0.f, L_frame[ch] / 2 );
                    set_f( &st->hTcxDec->syn_OverlFB[0], 0.f, L_frameTCX[ch] / 2 );
                    set_f( &st->hTcxDec->syn_Overl_TDAC[0], 0.f, L_frame[ch] / 2 );
                    set_f( &st->hTcxDec->syn_Overl_TDACFB[0], 0.f, L_frameTCX[ch] / 2 );
#endif

                }
            }