Lines Matching refs:sectionData
278 noiselessCounter(SECTION_DATA *sectionData,
309 sectionData->noOfSections = 0;
310 sectionData->huffmanBits = 0;
311 sectionData->sideInfoBits = 0;
314 if (sectionData->maxSfbPerGroup == 0)
320 for (grpNdx=0; grpNdx<sectionData->sfbCnt; grpNdx+=sectionData->sfbPerGroup) {
322 sectionInfo = sectionData->sectionInfo + sectionData->noOfSections;
325 sectionData->maxSfbPerGroup,
334 gmStage0(sectionInfo, bitLookUp, sectionData->maxSfbPerGroup);
339 gmStage1(sectionInfo, bitLookUp, sectionData->maxSfbPerGroup, sideInfoTab);
348 sectionData->maxSfbPerGroup,
355 for (i=0; i<sectionData->maxSfbPerGroup; i+=sectionInfo[i].sfbCnt) {
359 sectionData->huffmanBits = (sectionData->huffmanBits +
361 sectionData->sideInfoBits = (sectionData->sideInfoBits + sideInfoTab[sectionInfo[i].sfbCnt]);
362 sectionData->sectionInfo[sectionData->noOfSections] = sectionInfo[i];
363 sectionData->noOfSections = sectionData->noOfSections + 1;
378 SECTION_DATA * sectionData)
398 sectionData->scalefacBits = 0;
406 sectionData->firstScf = 0;
408 psectionInfo = sectionData->sectionInfo;
409 for (i=0; i<sectionData->noOfSections; i++) {
412 sectionData->firstScf = psectionInfo->sfbStart;
413 lastValScf = scalefacGain[sectionData->firstScf];
419 psectionInfo = sectionData->sectionInfo;
420 for (i=0; i<sectionData->noOfSections; i++, psectionInfo += 1) {
463 for (m = i + 1; (m < sectionData->noOfSections) && (found == 0); m++) {
505 sectionData->scalefacBits += bitCountScalefactorDelta(deltaScf);
524 SECTION_DATA *sectionData)
526 sectionData->blockType = blockType;
527 sectionData->sfbCnt = sfbCnt;
528 sectionData->sfbPerGroup = sfbPerGroup;
530 sectionData->noOfGroups = sfbCnt/sfbPerGroup;
532 sectionData->noOfGroups = 0x7fff;
533 sectionData->maxSfbPerGroup = maxSfbPerGroup;
535 noiselessCounter(sectionData,
536 sectionData->mergeGainLookUp,
537 (lookUpTable)sectionData->bitLookUp,
545 sectionData);
548 return (sectionData->huffmanBits + sectionData->sideInfoBits +
549 sectionData->scalefacBits);