Commit f9a50ca8 authored by Arash Azizi's avatar Arash Azizi
Browse files

issue: 2446 Minor unsaved changes

parent 6c9bed1a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -635,7 +635,7 @@ void decoder_LPD_fx(

        /* PLC: [TCX: Tonal Concealment] */
        /* Signal that this frame is not TCX */
        TonalMDCTConceal_UpdateState_fx( st->hTonalMDCTConc, 0, 0, 0, 0 );
        TonalMDCTConceal_UpdateState( st->hTonalMDCTConc, 0, 0, 0, 0 );

        IF( bfi == 0 )
        {
@@ -772,7 +772,7 @@ void decoder_LPD_fx(

        IF( !bfi )
        {
            TonalMDCTConceal_SaveTimeSignal_fx( st->hTonalMDCTConc, synthFB, L_frameTCX );
            TonalMDCTConceal_SaveTimeSignal( st->hTonalMDCTConc, synthFB, L_frameTCX );
        }
        decoder_tcx_post_fx( st, synth, synthFB, Aq, bfi );
        IF( EQ_16( st->core, TCX_20_CORE ) )
+4 −5
Original line number Diff line number Diff line
@@ -1319,7 +1319,6 @@ void ivas_mdct_core_reconstruct_fx(
                    con_tcx_ivas_fx( st, &synthFB_fx[0], hCPE->hStereoMdct->lastCoh_fx, &sts[0]->seed_acelp, 0, &st->hFdCngDec->hFdCngCom->A_cng[0] );
#else
                    con_tcx_ivas_fx( st, &synthFB_fx[0], hCPE->hStereoMdct->lastCoh_fx, &sts[0]->seed_acelp, 0, &st->hFdCngDec->hFdCngCom->A_cng[0], EQ_16(st->element_mode, EVS_MONO));

#endif // !HARMONIZE_2446_CON_TCX_FX
                }
            }
@@ -1358,7 +1357,7 @@ void ivas_mdct_core_reconstruct_fx(
            /* Signal that this frame is not TCX */
            IF( st->hTonalMDCTConc != NULL )
            {
                TonalMDCTConceal_UpdateState_fx( st->hTonalMDCTConc, 0, 0, 0, 0 );
                TonalMDCTConceal_UpdateState( st->hTonalMDCTConc, 0, 0, 0, 0 );
            }
            Scale_sig( st->mem_syn2_fx, M, st->Q_syn );
            Scale_sig( st->mem_syn_r, M, st->Q_syn );
@@ -1569,7 +1568,7 @@ void ivas_mdct_core_tns_ns_fx(
        {
            IF( st->hTonalMDCTConc != NULL )
            {
                TonalMDCTConceal_UpdateState_fx( st->hTonalMDCTConc, st->hTcxDec->L_frameTCX, 0, bfi, 0 );
                TonalMDCTConceal_UpdateState( st->hTonalMDCTConc, st->hTcxDec->L_frameTCX, 0, bfi, 0 );
            }

            /* nothing to do for missing LFE */
@@ -1738,11 +1737,11 @@ void ivas_mdct_core_tns_ns_fx(
        {
            IF( st->hTcxDec->tcxltp_last_gain_unmodified > 0 )
            {
                TonalMDCTConceal_UpdateState_fx( st->hTonalMDCTConc, L_frameTCX[ch], st->old_fpitch, bfi, (Word8) s_and( bfi, st->tonal_mdct_plc_active ) );
                TonalMDCTConceal_UpdateState( st->hTonalMDCTConc, L_frameTCX[ch], st->old_fpitch, bfi, (Word8) s_and( bfi, st->tonal_mdct_plc_active ) );
            }
            ELSE
            {
                TonalMDCTConceal_UpdateState_fx( st->hTonalMDCTConc, L_frameTCX[ch], 0, bfi, (Word8) s_and( bfi, st->tonal_mdct_plc_active ) );
                TonalMDCTConceal_UpdateState( st->hTonalMDCTConc, L_frameTCX[ch], 0, bfi, (Word8) s_and( bfi, st->tonal_mdct_plc_active ) );
            }
        }
    }