Lines Matching refs:sfb

455     INT sfb;  /* counts through scalefactor bands */  in FDKaacEnc_psyMain()  local
676 for (sfb = 0; sfb<psyData[ch]->sfbActive; sfb++) in FDKaacEnc_psyMain()
677 minSpecShift = fixMin(minSpecShift, (pSfbMaxScaleSpec[ch]+w*maxSfb[ch])[sfb]); in FDKaacEnc_psyMain()
720 for(sfb=0; sfb<psyData[ch]->sfbActive; sfb++) { in FDKaacEnc_psyMain()
721 INT scale = fixMax(0, (pSfbMaxScaleSpec[ch]+w*maxSfb[ch])[sfb]-4); in FDKaacEnc_psyMain()
723 if (scale >= 0) (pSfbEnergy[ch]+w*maxSfb[ch])[sfb] >>= (scale); in FDKaacEnc_psyMain()
724 else (pSfbEnergy[ch]+w*maxSfb[ch])[sfb] <<= (-scale); in FDKaacEnc_psyMain()
725 … (pSfbThreshold[ch]+w*maxSfb[ch])[sfb] = fMult((pSfbEnergy[ch]+w*maxSfb[ch])[sfb], C_RATIO); in FDKaacEnc_psyMain()
726 (pSfbEnergyLdData[ch]+w*maxSfb[ch])[sfb] += ldShift; in FDKaacEnc_psyMain()
739 for (sfb = 0; sfb<psyData[ch]->sfbActive; sfb++) in FDKaacEnc_psyMain()
740 (pSfbMaxScaleSpec[ch]+w*maxSfb[ch])[sfb] -= finalShift; in FDKaacEnc_psyMain()
754 for (sfb = 0; sfb<psyData[ch]->sfbActive; sfb++) { in FDKaacEnc_psyMain()
755 (pSfbMaxScaleSpec[ch]+w*maxSfb[ch])[sfb] = 0; in FDKaacEnc_psyMain()
756 (pSfbEnergy[ch]+w*maxSfb[ch])[sfb] = (FIXP_DBL)0; in FDKaacEnc_psyMain()
757 (pSfbEnergyLdData[ch]+w*maxSfb[ch])[sfb] = FL2FXCONST_DBL(-1.0f); in FDKaacEnc_psyMain()
758 (pSfbThreshold[ch]+w*maxSfb[ch])[sfb] = (FIXP_DBL)0; in FDKaacEnc_psyMain()
834 for(sfb=0; sfb<hThisPsyConf[ch]->lowpassLine; sfb++) { in FDKaacEnc_psyMain()
835 psyData[ch]->mdctSpectrum[sfb] = psyData[ch]->mdctSpectrum[sfb] >> shift; in FDKaacEnc_psyMain()
839 for (sfb=0; sfb<psyData[ch]->sfbActive; sfb++) { in FDKaacEnc_psyMain()
840 pSfbThreshold[ch][sfb] >>= (2*shift); in FDKaacEnc_psyMain()
909 for(sfb=0; sfb<psyData[ch]->sfbActive; sfb++) { in FDKaacEnc_psyMain()
910 pSfbEnergyLdData[ch][sfb] -= scale*FL2FXCONST_DBL(1.0/LD_DATA_SCALING); in FDKaacEnc_psyMain()
911 pSfbEnergy[ch][sfb] >>= scale; in FDKaacEnc_psyMain()
912 pSfbThreshold[ch][sfb] >>= (tnsSpecShift<<1); in FDKaacEnc_psyMain()
1079 for (sfb=0;sfb<psyData[ch]->sfbActive;sfb++) { in FDKaacEnc_psyMain()
1080 psyOutChannel[ch]->sfbThresholdLdData[sfbGrp+sfb] = in FDKaacEnc_psyMain()
1081 … fixMax(psyOutChannel[ch]->sfbThresholdLdData[sfbGrp+sfb], FL2FXCONST_DBL(-0.515625f)); in FDKaacEnc_psyMain()
1095 for (sfb = psyData[ch]->sfbActive-1; sfb >= 0; sfb--) { in FDKaacEnc_psyMain()
1096 … for (line = hPsyConfLong->sfbOffset[sfb+1]-1; line >= hPsyConfLong->sfbOffset[sfb]; line--) { in FDKaacEnc_psyMain()
1099 if (line > hPsyConfLong->sfbOffset[sfb]) break; in FDKaacEnc_psyMain()
1101 maxSfbPerGroup[ch] = sfb + 1; in FDKaacEnc_psyMain()
1270 for(sfb = 0; sfb < psyData[ch]->sfbActive; sfb++) { in FDKaacEnc_psyMain()
1271 psyOutChannel[ch]->noiseNrg[sfb] = NO_NOISE_PNS; in FDKaacEnc_psyMain()