Searched refs:smoothGain (Results 1 - 1 of 1) sorted by relevance

/external/aac/libAACenc/src/
H A Dmetadata_compressor.cpp179 FIXP_DBL smoothGain[2]; /*!< gain smoothing states */ member in struct:DRC_COMP
581 FDKmemclear(drcComp->smoothGain, sizeof(drcComp->smoothGain));
641 drcComp->smoothGain[i] = FL2FXCONST_DBL(0.f);
785 drcComp->smoothGain[i] = FL2FXCONST_DBL(0.f);
818 if (gain < drcComp->smoothGain[i]) {
842 if ((gain < drcComp->smoothGain[i]) || (drcComp->holdCnt[i] == 0)) { /* hold gain unless we have an attack or hold period is over */
850 /* drcComp->smoothGain[i] = (1-alpha) * drcComp->smoothGain[i] + alpha * gain; */
851 accu = fMult(((FIXP_DBL)MAXVAL_DBL-alpha), drcComp->smoothGain[
[all...]

Completed in 45 milliseconds