Lines Matching refs:sfbDistNew

477   FIXP_DBL sfbDistNew;  in FDKaacEnc_assimilateSingleScf()  local
576 sfbDistNew = FDKaacEnc_calcSfbDist(qcOutChannel->mdctSpectrum+sfbOffs, in FDKaacEnc_assimilateSingleScf()
582 if (sfbDistNew < sfbDist[sfbAct]) { in FDKaacEnc_assimilateSingleScf()
585 sfbDist[sfbAct] = sfbDistNew; in FDKaacEnc_assimilateSingleScf()
651 FIXP_DBL sfbDistNew[MAX_GROUPED_SFB], distOldSum, distNewSum; in FDKaacEnc_assimilateMultipleScf() local
732 sfbDistNew[sfb] = FDKaacEnc_calcSfbDist(qcOutChannel->mdctSpectrum+sfbOffs, in FDKaacEnc_assimilateMultipleScf()
738 if (sfbDistNew[sfb] >qcOutChannel->sfbThresholdLdData[sfb]) { in FDKaacEnc_assimilateMultipleScf()
743 distNewSum += CalcInvLdData(sfbDistNew[sfb]) >> DIST_FAC_SHIFT; in FDKaacEnc_assimilateMultipleScf()
755 sfbDist[sfb] = sfbDistNew[sfb]; in FDKaacEnc_assimilateMultipleScf()
793 FIXP_DBL sfbDistNew[MAX_GROUPED_SFB], sfbDistMax[MAX_GROUPED_SFB]; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2() local
893 sfbDistNew[sfb] = FDKaacEnc_calcSfbDist(qcOutChannel->mdctSpectrum+sfbOffs[sfb], in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
899 if (sfbDistNew[sfb] > sfbDistMax[sfb]) { in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
902 if (sfbDistNew[sfb] == qcOutChannel->sfbEnergyLdData[sfb]) { in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
919 sfbDist[sfb] = sfbDistNew[sfb]; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
974 sfbDistNew[sfb] = FDKaacEnc_calcSfbDist(qcOutChannel->mdctSpectrum+sfbOffs[sfb], in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
980 if (sfbDistNew[sfb] > qcOutChannel->sfbThresholdLdData[sfb]) { in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
985 distNewSum += CalcInvLdData(sfbDistNew[sfb]) >> DIST_FAC_SHIFT; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
994 sfbDist[sfb] = sfbDistNew[sfb]; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1035 &sfbEnQ, &sfbDistNew[sfb]); in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1038 distNewSum += CalcInvLdData(sfbDistNew[sfb]) >> DIST_FAC_SHIFT; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1042 …if ((sfbDistNew[sfb] > (sfbDist[sfb]+FL2FXCONST_DBL(0.00259488556167f))) || (sfbEnQ < (qcOutChanne… in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1054 sfbDist[sfb] = sfbDistNew[sfb]; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()