Lines Matching refs:nrgGain_e
166 SCHAR nrgGain_e[MAX_FREQ_COEFFS]; member
386 SCHAR *nrgGain_e = in aliasingReduction() local
387 nrgs->nrgGain_e; /*!< subband gains to be modified (exponents) */ in aliasingReduction()
453 tmp_e = tmp_e + nrgGain_e[k]; in aliasingReduction()
476 nrgGain_e[k], &nrgGain[k], &nrgGain_e[k]); in aliasingReduction()
480 tmp_e = nrgGain_e[k] + nrgEst_e[k]; in aliasingReduction()
494 nrgGain_e[k] = nrgGain_e[k] + compensation_e; in aliasingReduction()
1304 if ((pNrgs->nrgGain_e[k] > maxGain_e) || in calculateSbrEnvelope()
1305 (pNrgs->nrgGain_e[k] == maxGain_e && pNrgs->nrgGain[k] > maxGain)) { in calculateSbrEnvelope()
1310 pNrgs->nrgGain_e[k], &noiseAmp, &noiseAmp_e); in calculateSbrEnvelope()
1314 pNrgs->nrgGain_e[k] = maxGain_e; in calculateSbrEnvelope()
1328 SCHAR tmp_e = pNrgs->nrgGain_e[k] + pNrgs->nrgEst_e[k]; in calculateSbrEnvelope()
1365 pNrgs->nrgGain_e[k] = pNrgs->nrgGain_e[k] + boostGain_e + 1; in calculateSbrEnvelope()
1404 FDK_sqrt_MantExp(&pNrgs->nrgGain[k], &pNrgs->nrgGain_e[k], in calculateSbrEnvelope()
1405 &pNrgs->nrgGain_e[k]); in calculateSbrEnvelope()
1425 FDKmemcpy(h_sbr_cal_env->filtBuffer_e, pNrgs->nrgGain_e, in calculateSbrEnvelope()
1439 pNrgs->nrgGain_e, /* current */ in calculateSbrEnvelope()
1463 scale_change = fixMax(scale_change, (int)pNrgs->nrgGain_e[k]); in calculateSbrEnvelope()
1473 int sc = scale_change - pNrgs->nrgGain_e[k] + (sc_change - 1); in calculateSbrEnvelope()
1475 pNrgs->nrgGain_e[k] += sc; in calculateSbrEnvelope()
1535 pNrgs->nrgGain_e[k] += -sc_change; in calculateSbrEnvelope()
1592 (SCHAR)((15 - sbrScaleFactor->hb_scale) + pNrgs->nrgGain_e[0] + 1 - in calculateSbrEnvelope()
1636 FDKmemcpy(h_sbr_cal_env->filtBuffer_e, pNrgs->nrgGain_e, in calculateSbrEnvelope()
1818 SCHAR *nrgGain_e, /*!< exponents of gains for current envelope */ in equalizeFiltBufferExp() argument
1825 diff = (int)(nrgGain_e[band] - filtBuffer_e[band]); in equalizeFiltBufferExp()
1851 nrgGain_e[band] += diff; in equalizeFiltBufferExp()
2252 &nrgs->nrgGain_e[i]; /*!< Resulting energy gain (exponent) */ in calcSubbandGain()