Commit dfdaaaa7 authored by Anjaneyulu Sana's avatar Anjaneyulu Sana
Browse files

Fix for 3GPP issue 1287: Major spectral difference between signal decoded from...

Fix for 3GPP issue 1287: Major spectral difference between signal decoded from fixed- and floating-point encoded bitstreams at 13.2kbps for OSBA inputs
parent fd8bc4cd
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2666,9 +2666,10 @@ void IGFEncApplyMono_ivas_fx(

        FOR( Word16 i = 0; i < N_MAX + L_MDCT_OVLP_MAX; i++ )
        {
            common_pPowerSpectrum_fx[i] = L_shl( common_pPowerSpectrum_fx[i], sub( pPowerSpectrumParameter_exp[i], common_pPowerSpectrum_exp ) );
            common_pPowerSpectrum_fx[i] = L_shl( pPowerSpectrumParameter_fx[i], sub( pPowerSpectrumParameter_exp[i], common_pPowerSpectrum_exp ) );
            move16();
        }
        pPowerSpectrumParameter_fx = common_pPowerSpectrum_fx;
    }
    IGF_ErodeSpectrum_ivas_fx( &highPassEner_exp, st->hIGFEnc, pMDCTSpectrum_fx, pPowerSpectrumParameter_fx, common_pPowerSpectrum_exp, igfGridIdx, 0 );
}