Home
last modified time | relevance | path

Searched refs:maxSfbPerGroup (Results 1 – 20 of 20) sorted by relevance

/external/aac/libAACenc/src/
Daacenc_pns.cpp175 const INT maxSfbPerGroup, FIXP_DBL *sfbThresholdLdData, in FDKaacEnc_PnsDetect() argument
256 for (sfb = 1; sfb < maxSfbPerGroup - 1; sfb++) { in FDKaacEnc_PnsDetect()
263 if (maxSfbPerGroup > 0) { in FDKaacEnc_PnsDetect()
265 if ((pnsData->noiseFuzzyMeasure[maxSfbPerGroup - 1] > in FDKaacEnc_PnsDetect()
267 (pnsData->pnsFlag[maxSfbPerGroup - 2])) { in FDKaacEnc_PnsDetect()
268 pnsData->pnsFlag[maxSfbPerGroup - 1] = 1; in FDKaacEnc_PnsDetect()
271 if (pnsData->pnsFlag[maxSfbPerGroup - 2] == 0) { in FDKaacEnc_PnsDetect()
272 pnsData->pnsFlag[maxSfbPerGroup - 1] = 0; in FDKaacEnc_PnsDetect()
281 for (sfb = 1; sfb < maxSfbPerGroup - 1; sfb++) { in FDKaacEnc_PnsDetect()
Dline_pe.cpp122 const INT maxSfbPerGroup) { in FDKaacEnc_prepareSfbPe() argument
130 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_prepareSfbPe()
165 const INT maxSfbPerGroup, in FDKaacEnc_calcSfbPe() argument
181 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_calcSfbPe()
Ddyn_bits.cpp370 if (sectionData->maxSfbPerGroup == 0) return; in FDKaacEnc_noiselessCounter()
378 FDKaacEnc_buildBitLookUp(quantSpectrum, sectionData->maxSfbPerGroup, in FDKaacEnc_noiselessCounter()
383 FDKaacEnc_gmStage0(huffsection, bitLookUp, sectionData->maxSfbPerGroup, in FDKaacEnc_noiselessCounter()
387 FDKaacEnc_gmStage1(huffsection, bitLookUp, sectionData->maxSfbPerGroup, in FDKaacEnc_noiselessCounter()
397 sectionData->maxSfbPerGroup, sideInfoTab, useVCB11); in FDKaacEnc_noiselessCounter()
405 for (i = 0; i < sectionData->maxSfbPerGroup; i += huffsection[i].sfbCnt) { in FDKaacEnc_noiselessCounter()
621 const INT sfbCnt, const INT maxSfbPerGroup, in FDKaacEnc_dynBitCount() argument
630 sectionData->maxSfbPerGroup = maxSfbPerGroup; in FDKaacEnc_dynBitCount()
Dadj_thr.cpp453 for (sfb = 0; sfb < psyOutChannel[ch]->maxSfbPerGroup; sfb++) { in FDKaacEnc_calcThreshExp()
492 int maxSfbPerGroup = psyOutChannel[ch]->maxSfbPerGroup; in FDKaacEnc_adaptMinSnr() local
493 nSfb += maxSfbPerGroup; in FDKaacEnc_adaptMinSnr()
494 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_adaptMinSnr()
509 int maxSfbPerGroup = psyOutChannel[ch]->maxSfbPerGroup; in FDKaacEnc_adaptMinSnr() local
518 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_adaptMinSnr()
557 for (sfb = 0; sfb < psyOutChannel[ch]->maxSfbPerGroup; sfb++) in FDKaacEnc_initAvoidHoleFlag()
562 for (sfb = 0; sfb < psyOutChannel[ch]->maxSfbPerGroup; sfb++) in FDKaacEnc_initAvoidHoleFlag()
574 for (sfb = 0; sfb < psyOutChannel[ch]->maxSfbPerGroup; sfb++) { in FDKaacEnc_initAvoidHoleFlag()
581 if (sfb < psyOutChannel[ch]->maxSfbPerGroup - 1) in FDKaacEnc_initAvoidHoleFlag()
[all …]
Dintensity.cpp264 const INT sfbPerGroup, const INT maxSfbPerGroup, const INT *sfbOffset) { in FDKaacEnc_prepareIntensityDecision() argument
287 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_prepareIntensityDecision()
344 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_prepareIntensityDecision()
493 const INT sfbCnt, const INT sfbPerGroup, const INT maxSfbPerGroup) { in FDKaacEnc_finalizeIntensityDecision() argument
505 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_finalizeIntensityDecision()
556 if (currentIsSfbCount > 0 && (!inIsBlock || sfb == maxSfbPerGroup - 1)) { in FDKaacEnc_finalizeIntensityDecision()
621 const INT sfbCnt, const INT sfbPerGroup, const INT maxSfbPerGroup, in FDKaacEnc_IntensityStereoProcessing() argument
653 realIsScale, normSfbLoudness, sfbCnt, sfbPerGroup, maxSfbPerGroup, in FDKaacEnc_IntensityStereoProcessing()
658 sfbPerGroup, maxSfbPerGroup); in FDKaacEnc_IntensityStereoProcessing()
661 for (sfboffs = 0; sfboffs < maxSfbPerGroup; sfboffs++) { in FDKaacEnc_IntensityStereoProcessing()
Dline_pe.h138 const INT maxSfbPerGroup);
144 const INT maxSfbPerGroup,
Ddyn_bits.h130 INT maxSfbPerGroup; member
154 const INT sfbCnt, const INT maxSfbPerGroup,
Dms_stereo.cpp115 const INT maxSfbPerGroup, in FDKaacEnc_MsStereoProcessing() argument
158 for (sfboffs = 0; sfboffs < maxSfbPerGroup; sfboffs++) { in FDKaacEnc_MsStereoProcessing()
250 ((numMsMaskFalse < maxSfbPerGroup) && (numMsMaskFalse < 9))) { in FDKaacEnc_MsStereoProcessing()
254 for (sfboffs = 0; sfboffs < maxSfbPerGroup; sfboffs++) { in FDKaacEnc_MsStereoProcessing()
Dpsy_main.cpp414 INT maxSfbPerGroup[(2)]; in FDKaacEnc_psyMain() local
1053 &maxSfbPerGroup[ch], psyOutChannel[ch]->sfbMinSnrLdData, in FDKaacEnc_psyMain()
1099 maxSfbPerGroup[ch] = sfb + 1; in FDKaacEnc_psyMain()
1100 maxSfbPerGroup[ch] = in FDKaacEnc_psyMain()
1101 fixMax(fixMin(5, psyData[ch]->sfbActive), maxSfbPerGroup[ch]); in FDKaacEnc_psyMain()
1148 maxSfbPerGroup[ch], /* count of Sfb which are not zero. */ in FDKaacEnc_psyMain()
1165 maxSfbPerGroup[0] = maxSfbPerGroup[1] = in FDKaacEnc_psyMain()
1166 fixMax(maxSfbPerGroup[0], maxSfbPerGroup[1]); in FDKaacEnc_psyMain()
1185 psyConf[0].sfbCnt, psyConf[0].sfbCnt, maxSfbPerGroup[0], in FDKaacEnc_psyMain()
1194 maxSfbPerGroup[0], psyOutChannel[0]->sfbOffsets); in FDKaacEnc_psyMain()
[all …]
Dsf_estim.cpp139 int tmp1 = psyOutChan->maxSfbPerGroup; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
187 const INT sfbCnt, const INT sfbPerGroup, const INT maxSfbPerGroup, in FDKaacEnc_calcSfbRelevantLines() argument
202 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_calcSfbRelevantLines()
1087 for (sfb = 0; sfb < psyOutChannel->maxSfbPerGroup; sfb++) { in FDKaacEnc_EstimateScaleFactorsChannel()
1182 psyOutChannel->maxSfbPerGroup, sfbNRelevantLines); in FDKaacEnc_EstimateScaleFactorsChannel()
1206 for (sfb = 0; sfb < psyOutChannel->maxSfbPerGroup; sfb++) { in FDKaacEnc_EstimateScaleFactorsChannel()
1215 for (sfb = 0; sfb < psyOutChannel->maxSfbPerGroup; sfb++) { in FDKaacEnc_EstimateScaleFactorsChannel()
1236 for (sfb = 0; sfb < psyOutChannel->maxSfbPerGroup; sfb++) { in FDKaacEnc_EstimateScaleFactorsChannel()
1246 for (sfb = 0; sfb < psyOutChannel->maxSfbPerGroup; sfb++) { in FDKaacEnc_EstimateScaleFactorsChannel()
1264 for (sfb = 0; sfb < psyOutChannel->maxSfbPerGroup; sfb++) { in FDKaacEnc_EstimateScaleFactorsChannel()
Dms_stereo.h114 const INT maxSfbPerGroup,
Dgrp_data.h118 INT *maxSfbPerGroup,
Dintensity.h117 const INT sfbCnt, const INT sfbPerGroup, const INT maxSfbPerGroup,
Dquantize.h112 void FDKaacEnc_QuantizeSpectrum(INT sfbCnt, INT maxSfbPerGroup, INT sfbPerGroup,
Dqc_main.cpp150 static INT FDKaacEnc_calcMaxValueInSfb(INT sfbCnt, INT maxSfbPerGroup,
952 psyOutCh->sfbCnt, psyOutCh->maxSfbPerGroup, in FDKaacEnc_QCMain()
959 psyOutCh->sfbCnt, psyOutCh->maxSfbPerGroup, in FDKaacEnc_QCMain()
997 psyOutCh->maxSfbPerGroup, psyOutCh->sfbPerGroup, in FDKaacEnc_QCMain()
1219 static INT FDKaacEnc_calcMaxValueInSfb(INT sfbCnt, INT maxSfbPerGroup, in FDKaacEnc_calcMaxValueInSfb() argument
1227 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_calcMaxValueInSfb()
1439 for (sfb = qcChannel[0]->sectionData.maxSfbPerGroup - 1; sfb >= 0; sfb--) { in FDKaacEnc_crashRecovery()
1467 qcChannel[ch]->sectionData.maxSfbPerGroup = sfb; in FDKaacEnc_crashRecovery()
1468 psyChannel[ch]->maxSfbPerGroup = sfb; in FDKaacEnc_crashRecovery()
Dgrp_data.cpp126 INT *maxSfbPerGroup, /* out */ in FDKaacEnc_groupShortData() argument
158 *maxSfbPerGroup = highestSfb + 1; in FDKaacEnc_groupShortData()
Dinterface.h124 INT maxSfbPerGroup; member
Dpns_func.h116 const INT maxSfbPerGroup, FIXP_DBL *sfbThresholdLdData,
Dquantize.cpp278 void FDKaacEnc_QuantizeSpectrum(INT sfbCnt, INT maxSfbPerGroup, INT sfbPerGroup, in FDKaacEnc_QuantizeSpectrum() argument
292 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_QuantizeSpectrum()
Dbitenc.cpp181 INT groupingMask, INT maxSfbPerGroup, in FDKaacEnc_encodeIcsInfo() argument
208 FDKwriteBits(hBitStream, maxSfbPerGroup, 6); in FDKaacEnc_encodeIcsInfo()
218 FDKwriteBits(hBitStream, maxSfbPerGroup, 4); in FDKaacEnc_encodeIcsInfo()
980 chMaxSfbPerGrp = pChSectionData->maxSfbPerGroup; in FDKaacEnc_ChannelElementWrite()
988 chMaxSfbPerGrp = psyOutChannel[ch]->maxSfbPerGroup; in FDKaacEnc_ChannelElementWrite()