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()
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 …]
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()
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()
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 …]
Dline_pe.h138 const INT maxSfbPerGroup);
144 const INT maxSfbPerGroup,
Ddyn_bits.h130 INT maxSfbPerGroup; member
154 const INT sfbCnt, const INT maxSfbPerGroup,
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()
Dqc_main.cpp155 static INT FDKaacEnc_calcMaxValueInSfb(INT sfbCnt, INT maxSfbPerGroup,
968 psyOutCh->sfbCnt, psyOutCh->maxSfbPerGroup, in FDKaacEnc_QCMain()
975 psyOutCh->sfbCnt, psyOutCh->maxSfbPerGroup, in FDKaacEnc_QCMain()
1013 psyOutCh->maxSfbPerGroup, psyOutCh->sfbPerGroup, in FDKaacEnc_QCMain()
1235 static INT FDKaacEnc_calcMaxValueInSfb(INT sfbCnt, INT maxSfbPerGroup, in FDKaacEnc_calcMaxValueInSfb() argument
1243 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_calcMaxValueInSfb()
1455 for (sfb = qcChannel[0]->sectionData.maxSfbPerGroup - 1; sfb >= 0; sfb--) { in FDKaacEnc_crashRecovery()
1483 qcChannel[ch]->sectionData.maxSfbPerGroup = sfb; in FDKaacEnc_crashRecovery()
1484 psyChannel[ch]->maxSfbPerGroup = sfb; in FDKaacEnc_crashRecovery()
Dms_stereo.h114 const INT maxSfbPerGroup,
Dgrp_data.cpp126 INT *maxSfbPerGroup, /* out */ in FDKaacEnc_groupShortData() argument
158 *maxSfbPerGroup = highestSfb + 1; in FDKaacEnc_groupShortData()
Dgrp_data.h118 INT *maxSfbPerGroup,
Dquantize.h112 void FDKaacEnc_QuantizeSpectrum(INT sfbCnt, INT maxSfbPerGroup, INT sfbPerGroup,
Dintensity.h117 const INT sfbCnt, const INT sfbPerGroup, const INT maxSfbPerGroup,
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()
978 chMaxSfbPerGrp = pChSectionData->maxSfbPerGroup; in FDKaacEnc_ChannelElementWrite()
986 chMaxSfbPerGrp = psyOutChannel[ch]->maxSfbPerGroup; in FDKaacEnc_ChannelElementWrite()