• Home
  • Raw
  • Download

Lines Matching full:sectiondata

390         SECTION_DATA* const RESTRICT sectionData,  in FDKaacEnc_noiselessCounter()  argument
419 sectionData->noOfSections = 0; in FDKaacEnc_noiselessCounter()
420 sectionData->huffmanBits = 0; in FDKaacEnc_noiselessCounter()
421 sectionData->sideInfoBits = 0; in FDKaacEnc_noiselessCounter()
424 if (sectionData->maxSfbPerGroup == 0) in FDKaacEnc_noiselessCounter()
428 for (grpNdx = 0; grpNdx < sectionData->sfbCnt; grpNdx += sectionData->sfbPerGroup) in FDKaacEnc_noiselessCounter()
430 huffsection = sectionData->huffsection + sectionData->noOfSections; in FDKaacEnc_noiselessCounter()
434 sectionData->maxSfbPerGroup, in FDKaacEnc_noiselessCounter()
441 …FDKaacEnc_gmStage0(huffsection, bitLookUp, sectionData->maxSfbPerGroup, noiseNrg+grpNdx, isBook+gr… in FDKaacEnc_noiselessCounter()
444 FDKaacEnc_gmStage1(huffsection, bitLookUp, sectionData->maxSfbPerGroup, sideInfoTab, useVCB11); in FDKaacEnc_noiselessCounter()
456 sectionData->maxSfbPerGroup, in FDKaacEnc_noiselessCounter()
468 for (i = 0; i < sectionData->maxSfbPerGroup; i += huffsection[i].sfbCnt) in FDKaacEnc_noiselessCounter()
476 /* the sections in the sectionData are now marked with the optimal code book */ in FDKaacEnc_noiselessCounter()
480sectionData->huffmanBits += huffsection[i].sectionBits - FDKaacEnc_getSideInfoBits(&huffsection[i]… in FDKaacEnc_noiselessCounter()
486sectionData->sideInfoBits += FDKaacEnc_getSideInfoBits(&huffsection[i], sideInfoTab, useVCB11); in FDKaacEnc_noiselessCounter()
487 sectionData->huffsection[sectionData->noOfSections++] = huffsection[i]; in FDKaacEnc_noiselessCounter()
531 SECTION_DATA* const RESTRICT sectionData, in FDKaacEnc_scfCount() argument
543 sectionData->scalefacBits = 0; in FDKaacEnc_scfCount()
548 sectionData->firstScf = 0; in FDKaacEnc_scfCount()
550 for (i=0; i<sectionData->noOfSections; i++) in FDKaacEnc_scfCount()
552 if (sectionData->huffsection[i].codeBook != CODE_BOOK_ZERO_NO) in FDKaacEnc_scfCount()
554 sectionData->firstScf = sectionData->huffsection[i].sfbStart; in FDKaacEnc_scfCount()
555 lastValScf = scalefacGain[sectionData->firstScf]; in FDKaacEnc_scfCount()
560 for (i=0; i<sectionData->noOfSections; i++) in FDKaacEnc_scfCount()
562 if ((sectionData->huffsection[i].codeBook == CODE_BOOK_IS_OUT_OF_PHASE_NO) || in FDKaacEnc_scfCount()
563 (sectionData->huffsection[i].codeBook == CODE_BOOK_IS_IN_PHASE_NO)) in FDKaacEnc_scfCount()
565 for (j = sectionData->huffsection[i].sfbStart; in FDKaacEnc_scfCount()
566 j < sectionData->huffsection[i].sfbStart + sectionData->huffsection[i].sfbCnt; in FDKaacEnc_scfCount()
571 sectionData->scalefacBits+=FDKaacEnc_bitCountScalefactorDelta(deltaIs); in FDKaacEnc_scfCount()
574 else if ((sectionData->huffsection[i].codeBook != CODE_BOOK_ZERO_NO) && in FDKaacEnc_scfCount()
575 (sectionData->huffsection[i].codeBook != CODE_BOOK_PNS_NO)) in FDKaacEnc_scfCount()
577 INT tmp = sectionData->huffsection[i].sfbStart + sectionData->huffsection[i].sfbCnt; in FDKaacEnc_scfCount()
578 for (j = sectionData->huffsection[i].sfbStart; j<tmp; j++) in FDKaacEnc_scfCount()
615 for (m=(i+1); (m < sectionData->noOfSections) && (found == 0); m++) in FDKaacEnc_scfCount()
617 …if ((sectionData->huffsection[m].codeBook != CODE_BOOK_ZERO_NO) && (sectionData->huffsection[m].co… in FDKaacEnc_scfCount()
619 INT end = sectionData->huffsection[m].sfbStart + sectionData->huffsection[m].sfbCnt; in FDKaacEnc_scfCount()
620 for (n = sectionData->huffsection[m].sfbStart; n<end; n++) in FDKaacEnc_scfCount()
658 sectionData->scalefacBits += FDKaacEnc_bitCountScalefactorDelta(deltaScf); in FDKaacEnc_scfCount()
661 } /* for (i=0; i<sectionData->noOfSections; i++) */ in FDKaacEnc_scfCount()
696 SECTION_DATA* const RESTRICT sectionData, in FDKaacEnc_noiseCount() argument
704 sectionData->noiseNrgBits = 0; in FDKaacEnc_noiseCount()
706 for (i = 0; i < sectionData->noOfSections; i++) { in FDKaacEnc_noiseCount()
707 if (sectionData->huffsection[i].codeBook == CODE_BOOK_PNS_NO) { in FDKaacEnc_noiseCount()
708 int sfbStart = sectionData->huffsection[i].sfbStart; in FDKaacEnc_noiseCount()
709 int sfbEnd = sfbStart + sectionData->huffsection[i].sfbCnt; in FDKaacEnc_noiseCount()
713 sectionData->noiseNrgBits+=PNS_PCM_BITS; in FDKaacEnc_noiseCount()
719 sectionData->noiseNrgBits+=FDKaacEnc_bitCountScalefactorDelta(deltaPns); in FDKaacEnc_noiseCount()
736 SECTION_DATA* const RESTRICT sectionData, in FDKaacEnc_dynBitCount() argument
743 sectionData->blockType = blockType; in FDKaacEnc_dynBitCount()
744 sectionData->sfbCnt = sfbCnt; in FDKaacEnc_dynBitCount()
745 sectionData->sfbPerGroup = sfbPerGroup; in FDKaacEnc_dynBitCount()
746 sectionData->noOfGroups = sfbCnt / sfbPerGroup; in FDKaacEnc_dynBitCount()
747 sectionData->maxSfbPerGroup = maxSfbPerGroup; in FDKaacEnc_dynBitCount()
750 sectionData, in FDKaacEnc_dynBitCount()
764 sectionData, in FDKaacEnc_dynBitCount()
767 FDKaacEnc_noiseCount(sectionData, in FDKaacEnc_dynBitCount()
770 return (sectionData->huffmanBits + in FDKaacEnc_dynBitCount()
771 sectionData->sideInfoBits + in FDKaacEnc_dynBitCount()
772 sectionData->scalefacBits + in FDKaacEnc_dynBitCount()
773 sectionData->noiseNrgBits); in FDKaacEnc_dynBitCount()