Lines Matching refs:scfAct
467 INT scfAct, *scfLast, *scfNext, scfMin, scfMax;
500 scfAct = scf[sfbAct];
508 scfAct = scf[sfbAct];
509 scfLast = &scfAct;
516 scfAct = scf[sfbAct];
518 scfNext = &scfAct;
527 (scfAct > scfMin) &&
528 (scfAct <= scfMin+MAX_SCF_DELTA) &&
529 (scfAct >= scfMax-MAX_SCF_DELTA) &&
549 sfbPeOld = FDKaacEnc_calcSingleSpecPe(scfAct,sfbConstPePart[sfbAct],sfbNRelevantLines[sfbAct])
550 +FDKaacEnc_countSingleScfBits(scfAct, *scfLast, *scfNext);
557 scfAct--;
559 if (scfAct < minScfCalculated[sfbAct] && scfAct>=scfMax-MAX_SCF_DELTA){
561 sfbPeNew = FDKaacEnc_calcSingleSpecPe(scfAct,sfbConstPePart[sfbAct],sfbNRelevantLines[sfbAct])
562 +FDKaacEnc_countSingleScfBits(scfAct,*scfLast, *scfNext);
573 scfAct);
577 scf[sfbAct] = scfAct;
588 minScfCalculated[sfbAct] = scfAct;
595 } while (scfAct > scfMin);
640 INT scfTmp[MAX_GROUPED_SFB], scfMin, scfMax, scfAct;
662 scfAct = scfMax;
666 scfAct--;
671 /* search for region where all scfs are bigger than scfAct */
673 while (sfb<sfbCnt && (scf[sfb]==FDK_INT_MIN || scf[sfb] <= scfAct))
677 while (sfb<sfbCnt && (scf[sfb]==FDK_INT_MIN || scf[sfb] > scfAct))
681 /* check if in all sfb of a valid region scfAct >= minScf[sfb] */
687 if (scfAct < minScf[sfb]) {
696 /* replace scfs in region by scfAct */
699 scfTmp[sfb] = scfAct;
727 scfAct);
745 scf[sfb] = scfAct;
759 } while (scfAct > scfMin);
779 INT scfTmp[MAX_GROUPED_SFB], scfAct, scfNew;
804 scfAct = FDK_INT_MIN;
806 /* search for region with same scf values scfAct */
807 scfPrev = scfAct;
813 scfAct = scf[startSfb];
822 scfNext = scfAct;
825 scfPrev = scfAct;
832 scfHi = fixMax(scfPrevNextMax, scfAct);
835 if (scfPrevNextMax >= scfAct)
836 scfLo = fixMin(scfAct, scfPrevNextMin);
922 if (scfAct==scf[startSfb] &&
923 scfLo < scfAct &&