Home
last modified time | relevance | path

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

/external/aac/libSBRenc/src/
Dtran_det.cpp249 FIXP_DBL nrgTotal; in addLowbandEnergies() local
268 nrgTotal = ( scaleValueSaturate(accu1, 1-scaleEnergies[0]) ) in addLowbandEnergies()
271 return(nrgTotal); in addLowbandEnergies()
303 FIXP_DBL nrgTotal; in addHighbandEnergies() local
332 nrgTotal = FL2FXCONST_DBL(0.0f); in addHighbandEnergies()
342 nrgTotal = accu >> (scaleEnergies[0]-scale[0]); in addHighbandEnergies()
349 nrgTotal = accu >> (scaleEnergies[1]-scale[1]); in addHighbandEnergies()
352 return(nrgTotal); in addHighbandEnergies()
/external/aac/libAACenc/src/
Dadj_thr.cpp680 FIXP_DBL nrgSum14, nrgSum12, nrgSum34, nrgTotal; in FDKaacEnc_calcWeighting() local
685 nrgSum14 = nrgSum12 = nrgSum34 = nrgTotal = FL2FXCONST_DBL(0.f); in FDKaacEnc_calcWeighting()
695nrgTotal += ( psyOutChan->sfbEnergy[sfbGrp+sfb] >> 6 ); /* sum up nrg */ in FDKaacEnc_calcWeighting()
702nrgTotal = CalcLdData(nrgTotal); /* get ld64 of total… in FDKaacEnc_calcWeighting()
704 …nrgFacLd_14 = CalcLdData(nrgSum14) - nrgTotal; /* ld64(nrgSum14/nrg… in FDKaacEnc_calcWeighting()
705 …nrgFacLd_12 = CalcLdData(nrgSum12) - nrgTotal; /* ld64(nrgSum12/nrg… in FDKaacEnc_calcWeighting()
706 …nrgFacLd_34 = CalcLdData(nrgSum34) - nrgTotal; /* ld64(nrgSum34/nrg… in FDKaacEnc_calcWeighting()