Commit 83928e2f authored by Mohammadreza Naghibzadeh's avatar Mohammadreza Naghibzadeh
Browse files

Reduced bit precision at the input of con_tcx_ivas_fx() as a temporary...

Reduced bit precision at the input of con_tcx_ivas_fx() as a temporary workaround to see the pipeline results.
parent d43e90a0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1392,6 +1392,11 @@ void ivas_mdct_core_reconstruct_fx(
#ifdef FIX_1348_BIT_PRECISION_IMPROVEMENT_QWIN
            Copy( st->hTcxDec->old_synth, synth_buf_fx, st->hTcxDec->old_synth_len );                                                                // Q = st->hTcxDec->q_old_synth
            Copy_Scale_sig( st->hTcxDec->old_synthFB_fx, synth_bufFB_fx, st->hTcxDec->old_synth_lenFB, sub( st->hTcxDec->q_old_synth, st->Q_syn ) ); // Q = st->hTcxDec->q_old_synth

            // Temporary workaround: con_tcx_ivas_fx() should be analyzed for potential issues.
            Scale_sig( synth_bufFB_fx, st->hTcxDec->old_synth_lenFB, -2 );
            Scale_sig( synth_bufFB_fx, st->hTcxDec->old_synth_lenFB, +2 );
            ///////////////////////////////////////////////////////////////////////////////////
#endif
            assert( EQ_16( st->bfi, 1 ) );
            /* PLC: [TCX: TD PLC] */