Lines Matching refs:sectionData
117 SECTION_DATA *sectionData, in FDKaacEnc_encodeSpectralData() argument
124 for(i=0;i<sectionData->noOfSections;i++) in FDKaacEnc_encodeSpectralData()
126 if(sectionData->huffsection[i].codeBook != CODE_BOOK_PNS_NO) in FDKaacEnc_encodeSpectralData()
129 INT tmp = sectionData->huffsection[i].sfbStart+sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeSpectralData()
130 for(sfb=sectionData->huffsection[i].sfbStart; sfb<tmp; sfb++) in FDKaacEnc_encodeSpectralData()
134 sectionData->huffsection[i].codeBook, in FDKaacEnc_encodeSpectralData()
235 static INT FDKaacEnc_encodeSectionData(SECTION_DATA *sectionData, in FDKaacEnc_encodeSectionData() argument
246 switch(sectionData->blockType) in FDKaacEnc_encodeSectionData()
261 for(i=0;i<sectionData->noOfSections;i++) in FDKaacEnc_encodeSectionData()
263 INT codeBook = sectionData->huffsection[i].codeBook; in FDKaacEnc_encodeSectionData()
268 sectLen = sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeSectionData()
293 SECTION_DATA *sectionData, in FDKaacEnc_encodeScaleFactorData() argument
309 lastValScf=scalefac[sectionData->firstScf]; in FDKaacEnc_encodeScaleFactorData()
310 …lastValPns = globalGain-scalefac[sectionData->firstScf]+globalGainOffset-4*LOG_NORM_PCM-noiseOffse… in FDKaacEnc_encodeScaleFactorData()
313 for(i=0; i<sectionData->noOfSections; i++){ in FDKaacEnc_encodeScaleFactorData()
314 if (sectionData->huffsection[i].codeBook != CODE_BOOK_ZERO_NO) { in FDKaacEnc_encodeScaleFactorData()
316 if ((sectionData->huffsection[i].codeBook == CODE_BOOK_IS_OUT_OF_PHASE_NO) || in FDKaacEnc_encodeScaleFactorData()
317 (sectionData->huffsection[i].codeBook == CODE_BOOK_IS_IN_PHASE_NO)) in FDKaacEnc_encodeScaleFactorData()
319 INT sfbStart = sectionData->huffsection[i].sfbStart; in FDKaacEnc_encodeScaleFactorData()
320 INT tmp = sfbStart + sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeScaleFactorData()
329 else if(sectionData->huffsection[i].codeBook == CODE_BOOK_PNS_NO) { in FDKaacEnc_encodeScaleFactorData()
330 INT sfbStart = sectionData->huffsection[i].sfbStart; in FDKaacEnc_encodeScaleFactorData()
331 INT tmp = sfbStart + sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeScaleFactorData()
348 INT tmp = sectionData->huffsection[i].sfbStart+sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeScaleFactorData()
349 for(j=sectionData->huffsection[i].sfbStart; j<tmp; j++){ in FDKaacEnc_encodeScaleFactorData()
1053 pChSectionData = &(qcOutChannel[ch]->sectionData); in FDKaacEnc_ChannelElementWrite()
1139 if (siBits != qcOutChannel[ch]->sectionData.sideInfoBits) { in FDKaacEnc_ChannelElementWrite()
1157 …&& (sfDataBits != (qcOutChannel[ch]->sectionData.scalefacBits + qcOutChannel[ch]->sectionData.nois… in FDKaacEnc_ChannelElementWrite()
1215 if (spectralBits != qcOutChannel[ch]->sectionData.huffmanBits) { in FDKaacEnc_ChannelElementWrite()