Lines Matching refs:sfbCnt
138 int tmp0 = psyOutChan->sfbCnt; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
187 const INT sfbCnt, const INT sfbPerGroup, const INT maxSfbPerGroup, in FDKaacEnc_calcSfbRelevantLines() argument
199 FDKmemclear(sfbNRelevantLines, sfbCnt * sizeof(FIXP_DBL)); in FDKaacEnc_calcSfbRelevantLines()
201 for (sfbOffs = 0; sfbOffs < sfbCnt; sfbOffs += sfbPerGroup) { in FDKaacEnc_calcSfbRelevantLines()
275 static FIXP_DBL FDKaacEnc_countScfBitsDiff(INT *scfOld, INT *scfNew, INT sfbCnt, in FDKaacEnc_countScfBitsDiff() argument
303 while ((sfbNext < sfbCnt) && (scfOld[sfbNext] == FDK_INT_MIN)) sfbNext++; in FDKaacEnc_countScfBitsDiff()
304 if (sfbNext < sfbCnt) in FDKaacEnc_countScfBitsDiff()
478 for (i = 0; i < psyOutChan->sfbCnt; i++) { in FDKaacEnc_assimilateSingleScf()
494 while ((sfbNext < psyOutChan->sfbCnt) && (scf[sfbNext] == FDK_INT_MIN)) in FDKaacEnc_assimilateSingleScf()
496 if ((sfbLast >= 0) && (sfbAct >= 0) && (sfbNext < psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
504 (sfbNext < psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
512 (sfbNext == psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
522 if ((sfbAct >= 0) && (sfbLast >= 0 || sfbNext < psyOutChan->sfbCnt) && in FDKaacEnc_assimilateSingleScf()
622 } while (sfbNext < psyOutChan->sfbCnt); in FDKaacEnc_assimilateSingleScf()
643 INT sfbCnt = psyOutChan->sfbCnt; in FDKaacEnc_assimilateMultipleScf() local
648 for (sfb = 0; sfb < sfbCnt; sfb++) { in FDKaacEnc_assimilateMultipleScf()
666 while (sfb < sfbCnt && (scf[sfb] == FDK_INT_MIN || scf[sfb] <= scfAct)) in FDKaacEnc_assimilateMultipleScf()
670 while (sfb < sfbCnt && (scf[sfb] == FDK_INT_MIN || scf[sfb] > scfAct)) in FDKaacEnc_assimilateMultipleScf()
676 if (startSfb < sfbCnt) { in FDKaacEnc_assimilateMultipleScf()
695 deltaScfBits = FDKaacEnc_countScfBitsDiff(scf, scfTmp, sfbCnt, in FDKaacEnc_assimilateMultipleScf()
748 } while (stopSfb <= sfbCnt); in FDKaacEnc_assimilateMultipleScf()
774 INT sfbCnt = psyOutChan->sfbCnt; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2() local
781 for (sfb = 0; sfb < sfbCnt; sfb++) { in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
795 while (sfb < sfbCnt && (scf[sfb] == FDK_INT_MIN)) sfb++; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
799 while (sfb < sfbCnt && in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
804 if (stopSfb < sfbCnt) in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
824 if (startSfb < sfbCnt && in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
861 deltaScfBits = FDKaacEnc_countScfBitsDiff(scf, scfTmp, sfbCnt, in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
936 deltaScfBits = FDKaacEnc_countScfBitsDiff(scf, scfTmp, sfbCnt, in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
989 for (k = 0; k < sfbCnt; k++) scfTmp[k] = scf[k]; in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
998 deltaScfBits = FDKaacEnc_countScfBitsDiff(scf, scfTmp, sfbCnt, in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1043 } while (stopSfb <= sfbCnt); in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1077 for (i = 0; i < psyOutChannel->sfbCnt; i++) { in FDKaacEnc_EstimateScaleFactorsChannel()
1085 for (sfbOffs = 0; sfbOffs < psyOutChannel->sfbCnt; in FDKaacEnc_EstimateScaleFactorsChannel()
1175 for (i = 0; i < psyOutChannel->sfbCnt; i++) in FDKaacEnc_EstimateScaleFactorsChannel()
1181 psyOutChannel->sfbCnt, psyOutChannel->sfbPerGroup, in FDKaacEnc_EstimateScaleFactorsChannel()
1204 for (sfbOffs = 0; sfbOffs < psyOutChannel->sfbCnt; in FDKaacEnc_EstimateScaleFactorsChannel()
1213 for (sfbOffs = 0; sfbOffs < psyOutChannel->sfbCnt; in FDKaacEnc_EstimateScaleFactorsChannel()
1234 for (sfbOffs = 0; sfbOffs < psyOutChannel->sfbCnt; in FDKaacEnc_EstimateScaleFactorsChannel()
1244 for (sfbOffs = 0; sfbOffs < psyOutChannel->sfbCnt; in FDKaacEnc_EstimateScaleFactorsChannel()
1262 for (sfbOffs = 0; sfbOffs < psyOutChannel->sfbCnt; in FDKaacEnc_EstimateScaleFactorsChannel()