Home
last modified time | relevance | path

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

/external/aac/libSBRdec/src/
Denv_calc.cpp729 SCHAR sumRef_e, boostGain_e, maxGain_e, accu_e = 0; in calculateSbrEnvelope() local
734 &maxGain, &maxGain_e); in calculateSbrEnvelope()
738 maxGain_e += FDK_sbrDecoder_sbr_limGains_e[hHeaderData->bs_data.limiterGains]; in calculateSbrEnvelope()
742 maxGain_e = -FRACT_BITS; in calculateSbrEnvelope()
745 maxGain_e -= charTemp; in calculateSbrEnvelope()
749 if (maxGain_e >= maxGainLimit_e) { /* upper limit (e.g. 96 dB) */ in calculateSbrEnvelope()
751 maxGain_e = maxGainLimit_e; in calculateSbrEnvelope()
758 …if ( (pNrgs->nrgGain_e[k] > maxGain_e) || (pNrgs->nrgGain_e[k] == maxGain_e && pNrgs->nrgGain[k]>m… in calculateSbrEnvelope()
763 …FDK_divide_MantExp(maxGain, maxGain_e, pNrgs->nrgGain[k], pNrgs->nrgGain_e[k], &noiseAmp, &noiseAm… in calculateSbrEnvelope()
767 pNrgs->nrgGain_e[k] = maxGain_e; in calculateSbrEnvelope()