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