Searched refs:finalShift (Results 1 – 1 of 1) sorted by relevance
666 INT finalShift = MAX_SHIFT_DBL; in FDKaacEnc_psyMain() local709 finalShift = fixMin(minSpecShift, nrgShift); in FDKaacEnc_psyMain()713 if (finalShift > psyData[0]->mdctScale + 3 ) in FDKaacEnc_psyMain()714 finalShift = psyData[0]->mdctScale + 3; in FDKaacEnc_psyMain()716 FDK_ASSERT(finalShift >= 0); /* right shift is not allowed */ in FDKaacEnc_psyMain()719 FIXP_DBL ldShift = finalShift * FL2FXCONST_DBL(2.0/64); in FDKaacEnc_psyMain()724 scale = fixMin((scale-finalShift)<<1, DFRACT_BITS-1); in FDKaacEnc_psyMain()733 if ( finalShift != 0 ) { in FDKaacEnc_psyMain()738 psyData[ch]->mdctSpectrum[line+wOffset] <<= finalShift; in FDKaacEnc_psyMain()742 (pSfbMaxScaleSpec[ch]+w*maxSfb[ch])[sfb] -= finalShift; in FDKaacEnc_psyMain()[all …]