Home
last modified time | relevance | path

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

/external/aac/libAACenc/src/
Dpsy_main.cpp637 INT finalShift = MAX_SHIFT_DBL; in FDKaacEnc_psyMain() local
679 finalShift = fixMin(minSpecShift, nrgShift); in FDKaacEnc_psyMain()
684 if (finalShift > psyData[0]->mdctScale + 3) in FDKaacEnc_psyMain()
685 finalShift = psyData[0]->mdctScale + 3; in FDKaacEnc_psyMain()
687 FDK_ASSERT(finalShift >= 0); /* right shift is not allowed */ in FDKaacEnc_psyMain()
690 FIXP_DBL ldShift = finalShift * FL2FXCONST_DBL(2.0 / 64); in FDKaacEnc_psyMain()
697 scale = fixMin((scale - finalShift) << 1, DFRACT_BITS - 1); in FDKaacEnc_psyMain()
710 if (finalShift != 0) { in FDKaacEnc_psyMain()
719 spectrum[line] <<= finalShift; in FDKaacEnc_psyMain()
725 (pSfbMaxScaleSpec[ch] + w * maxSfb[ch])[sfb] -= finalShift; in FDKaacEnc_psyMain()
[all …]