Home
last modified time | relevance | path

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

/external/aac/libAACenc/src/
Dpsy_main.cpp927 INT energyShift = psyData[ch]->mdctScale * 2; in FDKaacEnc_psyMain() local
928 INT clipNrgShift = energyShift - THR_SHIFTBITS; in FDKaacEnc_psyMain()
956 energyShift += PCM_QUANT_THR_SCALE; in FDKaacEnc_psyMain()
957 if (energyShift >= 0) { in FDKaacEnc_psyMain()
958 energyShift = fixMin(DFRACT_BITS - 1, energyShift); in FDKaacEnc_psyMain()
962 (hThisPsyConf[ch]->sfbPcmQuantThreshold[i] >> energyShift)); in FDKaacEnc_psyMain()
965 energyShift = fixMin(DFRACT_BITS - 1, -energyShift); in FDKaacEnc_psyMain()
969 (hThisPsyConf[ch]->sfbPcmQuantThreshold[i] << energyShift)); in FDKaacEnc_psyMain()