Lines Matching refs:sfb
1293 INT sfbOffs,sfb;
1297 for (sfb = 0; sfb < maxSfbPerGroup; sfb++)
1301 for (line = sfbOffset[sfbOffs+sfb]; line < sfbOffset[sfbOffs+sfb+1]; line++)
1307 maxValue[sfbOffs+sfb] = maxThisSfb;
1477 INT sfb, sfbGrp ;
1493 INT sfb ;
1496 for (sfb = qcChannel[ch]->sectionData.huffsection[sect].sfbStart;
1497 sfb < qcChannel[ch]->sectionData.huffsection[sect].sfbStart +
1499 sfb++)
1501 bitsPerScf[ch][sfb] = 0;
1503 (sfb < (qcChannel[ch]->sectionData.noOfGroups*qcChannel[ch]->sectionData.maxSfbPerGroup))*/ )
1505 INT sfbStartLine = sfbOffset[sfb] ;
1506 INT noOfLines = sfbOffset[sfb+1] - sfbStartLine ;
1507 bitsPerScf[ch][sfb] = FDKaacEnc_countValues(&(qcChannel[ch]->quantSpec[sfbStartLine]), noOfLines, codeBook) ;
1509 sectionToScf[ch][sfb] = sect ;
1518 for (sfb = qcChannel[0]->sectionData.maxSfbPerGroup-1; sfb >= 0; sfb--)
1524 int sect = sectionToScf[ch][sfbGrp+sfb];
1526 savedBits += bitsPerScf[ch][sfbGrp+sfb] ;
1539 } /* sfb loop */
1543 if (sfb == -1) {
1544 sfb = 0 ;
1549 qcChannel[ch]->sectionData.maxSfbPerGroup = sfb ;
1550 psyChannel[ch]->maxSfbPerGroup = sfb ;
1552 if(sfb==0) {
1559 { /* if stop sfb has changed save bits in side info, e.g. MS or TNS coding */