Searched refs:finalShift (Results 1 – 1 of 1) sorted by relevance
664 INT finalShift = MAX_SHIFT_DBL; in FDKaacEnc_psyMain() local707 finalShift = fixMin(minSpecShift, nrgShift); in FDKaacEnc_psyMain()711 if (finalShift > psyData[0]->mdctScale + 3 ) in FDKaacEnc_psyMain()712 finalShift = psyData[0]->mdctScale + 3; in FDKaacEnc_psyMain()714 FDK_ASSERT(finalShift >= 0); /* right shift is not allowed */ in FDKaacEnc_psyMain()717 FIXP_DBL ldShift = finalShift * FL2FXCONST_DBL(2.0/64); in FDKaacEnc_psyMain()722 scale = fixMin((scale-finalShift)<<1, DFRACT_BITS-1); in FDKaacEnc_psyMain()731 if ( finalShift != 0 ) { in FDKaacEnc_psyMain()736 psyData[ch]->mdctSpectrum[line+wOffset] <<= finalShift; in FDKaacEnc_psyMain()740 (pSfbMaxScaleSpec[ch]+w*maxSfb[ch])[sfb] -= finalShift; in FDKaacEnc_psyMain()[all …]