Home
last modified time | relevance | path

Searched refs:huffsection (Results 1 – 4 of 4) sorted by relevance

/external/aac/libAACenc/src/
Ddyn_bits.cpp112 static INT FDKaacEnc_getSideInfoBits(const SECTION_INFO* const huffsection, in FDKaacEnc_getSideInfoBits() argument
118 ((huffsection->codeBook == 11) || (huffsection->codeBook >= 16))) { in FDKaacEnc_getSideInfoBits()
121 sideInfoBits = sideInfoTab[huffsection->sfbCnt]; in FDKaacEnc_getSideInfoBits()
132 SECTION_INFO* const huffsection) { in FDKaacEnc_buildBitLookUp() argument
136 huffsection[i].sfbCnt = 1; in FDKaacEnc_buildBitLookUp()
137 huffsection[i].sfbStart = i; in FDKaacEnc_buildBitLookUp()
138 huffsection[i].sectionBits = INVALID_BITCOUNT; in FDKaacEnc_buildBitLookUp()
139 huffsection[i].codeBook = -1; in FDKaacEnc_buildBitLookUp()
187 const SECTION_INFO* const huffsection, in FDKaacEnc_findMaxMerge() argument
192 for (i = 0; i + huffsection[i].sfbCnt < maxSfb; i += huffsection[i].sfbCnt) { in FDKaacEnc_findMaxMerge()
[all …]
Dbitenc.cpp135 if (sectionData->huffsection[i].codeBook != CODE_BOOK_PNS_NO) { in FDKaacEnc_encodeSpectralData()
137 INT tmp = sectionData->huffsection[i].sfbStart + in FDKaacEnc_encodeSpectralData()
138 sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeSpectralData()
139 for (sfb = sectionData->huffsection[i].sfbStart; sfb < tmp; sfb++) { in FDKaacEnc_encodeSpectralData()
142 sectionData->huffsection[i].codeBook, hBitStream); in FDKaacEnc_encodeSpectralData()
264 INT codeBook = sectionData->huffsection[i].codeBook; in FDKaacEnc_encodeSectionData()
269 sectLen = sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeSectionData()
313 if (sectionData->huffsection[i].codeBook != CODE_BOOK_ZERO_NO) { in FDKaacEnc_encodeScaleFactorData()
314 if ((sectionData->huffsection[i].codeBook == in FDKaacEnc_encodeScaleFactorData()
316 (sectionData->huffsection[i].codeBook == in FDKaacEnc_encodeScaleFactorData()
[all …]
Ddyn_bits.h133 SECTION_INFO huffsection[MAX_SECTIONS]; member
Dqc_main.cpp1432 INT codeBook = qcChannel[ch]->sectionData.huffsection[sect].codeBook; in FDKaacEnc_crashRecovery()
1434 for (sfb = qcChannel[ch]->sectionData.huffsection[sect].sfbStart; in FDKaacEnc_crashRecovery()
1435 sfb < qcChannel[ch]->sectionData.huffsection[sect].sfbStart + in FDKaacEnc_crashRecovery()
1436 qcChannel[ch]->sectionData.huffsection[sect].sfbCnt; in FDKaacEnc_crashRecovery()
1460 qcChannel[ch]->sectionData.huffsection[sect].sfbCnt--; in FDKaacEnc_crashRecovery()
1463 if (qcChannel[ch]->sectionData.huffsection[sect].sfbCnt == 0) { in FDKaacEnc_crashRecovery()