Home
last modified time | relevance | path

Searched refs:fEnergySum (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPFrequency.cpp503 float fEnergySum = 0; in processFirstStages() local
510 fEnergySum += std::norm(cb.complexTemp[k]) * preGainSquared; //mag squared in processFirstStages()
520 fEnergySum = sqrt(fEnergySum * 2) / (mBlockSize * mWindowRms); in processFirstStages()
527 if (fEnergySum > pMbcBandParams->previousEnvelope) { in processFirstStages()
533 float fEnv = (1.0 - fTheta) * fEnergySum + fTheta * pMbcBandParams->previousEnvelope; in processFirstStages()
587 float fEnergySum = 0; in processFirstStages() local
589 fEnergySum += std::norm(cb.complexTemp[k]); in processFirstStages()
593 fEnergySum = sqrt(fEnergySum * 2) / (mBlockSize * mWindowRms); in processFirstStages()
598 if (fEnergySum > cb.mLimiterParams.previousEnvelope) { in processFirstStages()
604 float fEnv = (1.0 - fTheta) * fEnergySum + fTheta * cb.mLimiterParams.previousEnvelope; in processFirstStages()