Home | History | Annotate | Download | only in src

Lines Matching refs:finalShift

664         INT finalShift   = MAX_SHIFT_DBL;
707 finalShift = fixMin(minSpecShift, nrgShift);
711 if (finalShift > psyData[0]->mdctScale + 3 )
712 finalShift = psyData[0]->mdctScale + 3;
714 FDK_ASSERT(finalShift >= 0); /* right shift is not allowed */
716 /* correct sfbEnergy and sfbEnergyLdData with new finalShift */
717 FIXP_DBL ldShift = finalShift * FL2FXCONST_DBL(2.0/64);
722 scale = fixMin((scale-finalShift)<<1, DFRACT_BITS-1);
731 if ( finalShift != 0 ) {
736 psyData[ch]->mdctSpectrum[line+wOffset] <<= finalShift;
740 (pSfbMaxScaleSpec[ch]+w*maxSfb[ch])[sfb] -= finalShift;
743 psyData[ch]->mdctScale -= finalShift;