Lines Matching refs:sfbNext
265 INT sfbPrev, sfbNext; in FDKaacEnc_countScfBitsDiff() local
287 sfbNext = stopSfb; in FDKaacEnc_countScfBitsDiff()
288 while ((sfbNext<sfbCnt) && (scfOld[sfbNext]==FDK_INT_MIN)) in FDKaacEnc_countScfBitsDiff()
289 sfbNext++; in FDKaacEnc_countScfBitsDiff()
290 if (sfbNext<sfbCnt) in FDKaacEnc_countScfBitsDiff()
291 scfBitsDiff += FDKaacEnc_bitCountScalefactorDelta(scfNew[sfbLast]-scfNew[sfbNext]) - in FDKaacEnc_countScfBitsDiff()
292 FDKaacEnc_bitCountScalefactorDelta(scfOld[sfbLast]-scfOld[sfbNext]); in FDKaacEnc_countScfBitsDiff()
472 INT sfbLast, sfbAct, sfbNext; in FDKaacEnc_assimilateSingleScf() local
494 sfbNext = -1; in FDKaacEnc_assimilateSingleScf()
501 sfbNext++; in FDKaacEnc_assimilateSingleScf()
502 while ((sfbNext < psyOutChan->sfbCnt) && (scf[sfbNext] == FDK_INT_MIN)) in FDKaacEnc_assimilateSingleScf()
503 sfbNext++; in FDKaacEnc_assimilateSingleScf()
504 if ((sfbLast>=0) && (sfbAct>=0) && (sfbNext<psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
508 scfNext = scf + sfbNext; in FDKaacEnc_assimilateSingleScf()
512 else if ((sfbLast==-1) && (sfbAct>=0) && (sfbNext<psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
516 scfNext = scf + sfbNext; in FDKaacEnc_assimilateSingleScf()
520 else if ((sfbLast>=0) && (sfbAct>=0) && (sfbNext==psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
532 (sfbLast>=0 || sfbNext<psyOutChan->sfbCnt) && in FDKaacEnc_assimilateSingleScf()
616 sfbNext = -1; in FDKaacEnc_assimilateSingleScf()
626 sfbAct = sfbNext; in FDKaacEnc_assimilateSingleScf()
628 } while (sfbNext < psyOutChan->sfbCnt); in FDKaacEnc_assimilateSingleScf()