Home
last modified time | relevance | path

Searched refs:sfbCnt (Results 1 – 25 of 29) sorted by relevance

12

/external/aac/libAACenc/src/
Ddyn_bits.cpp121 sideInfoBits = sideInfoTab[huffsection->sfbCnt]; in FDKaacEnc_getSideInfoBits()
136 huffsection[i].sfbCnt = 1; in FDKaacEnc_buildBitLookUp()
192 for (i = 0; i + huffsection[i].sfbCnt < maxSfb; i += huffsection[i].sfbCnt) { in FDKaacEnc_findMaxMerge()
210 sideInfoTab[huffsection[ndx1].sfbCnt + huffsection[ndx2].sfbCnt] + in FDKaacEnc_CalcMergeGain()
272 huffsection[mergeStart].sfbCnt++; in FDKaacEnc_gmStage1()
301 for (i = 0; i + huffsection[i].sfbCnt < maxSfb; i += huffsection[i].sfbCnt) { in FDKaacEnc_gmStage2()
304 i + huffsection[i].sfbCnt, useVCB11); in FDKaacEnc_gmStage2()
316 maxNdxNext = maxNdx + huffsection[maxNdx].sfbCnt; in FDKaacEnc_gmStage2()
319 huffsection[maxNdx].sfbCnt += huffsection[maxNdxNext].sfbCnt; in FDKaacEnc_gmStage2()
332 maxNdxNext = maxNdx + huffsection[maxNdx].sfbCnt; in FDKaacEnc_gmStage2()
[all …]
Dsf_estim.cpp138 int tmp0 = psyOutChan->sfbCnt; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
187 const INT sfbCnt, const INT sfbPerGroup, const INT maxSfbPerGroup, in FDKaacEnc_calcSfbRelevantLines() argument
199 FDKmemclear(sfbNRelevantLines, sfbCnt * sizeof(FIXP_DBL)); in FDKaacEnc_calcSfbRelevantLines()
201 for (sfbOffs = 0; sfbOffs < sfbCnt; sfbOffs += sfbPerGroup) { in FDKaacEnc_calcSfbRelevantLines()
275 static FIXP_DBL FDKaacEnc_countScfBitsDiff(INT *scfOld, INT *scfNew, INT sfbCnt, in FDKaacEnc_countScfBitsDiff() argument
303 while ((sfbNext < sfbCnt) && (scfOld[sfbNext] == FDK_INT_MIN)) sfbNext++; in FDKaacEnc_countScfBitsDiff()
304 if (sfbNext < sfbCnt) in FDKaacEnc_countScfBitsDiff()
478 for (i = 0; i < psyOutChan->sfbCnt; i++) { in FDKaacEnc_assimilateSingleScf()
494 while ((sfbNext < psyOutChan->sfbCnt) && (scf[sfbNext] == FDK_INT_MIN)) in FDKaacEnc_assimilateSingleScf()
496 if ((sfbLast >= 0) && (sfbAct >= 0) && (sfbNext < psyOutChan->sfbCnt)) { in FDKaacEnc_assimilateSingleScf()
[all …]
Dpsy_configuration.cpp195 INT *const sfbCnt) { in FDKaacEnc_initSfbTable() argument
230 *sfbCnt = sfbInfo[i].paramLong->sfbCnt; in FDKaacEnc_initSfbTable()
234 *sfbCnt = sfbInfo[i].paramShort->sfbCnt; in FDKaacEnc_initSfbTable()
248 for (i = 0; i < *sfbCnt; i++) { in FDKaacEnc_initSfbTable()
256 *sfbCnt = fixMin(i, *sfbCnt); in FDKaacEnc_initSfbTable()
257 sfbOffset[*sfbCnt] = fixMin(specStartOffset, granuleLengthWindow); in FDKaacEnc_initSfbTable()
571 psyConf->sfbOffset, &psyConf->sfbCnt); in FDKaacEnc_InitPsyConfiguration()
576 FDKaacEnc_initBarcValues(psyConf->sfbCnt, psyConf->sfbOffset, in FDKaacEnc_InitPsyConfiguration()
577 psyConf->sfbOffset[psyConf->sfbCnt], samplerate, in FDKaacEnc_InitPsyConfiguration()
580 FDKaacEnc_InitMinPCMResolution(psyConf->sfbCnt, psyConf->sfbOffset, in FDKaacEnc_InitPsyConfiguration()
[all …]
Dgrp_data.cpp122 SFB_ENERGY *sfbSpreadEnergy, const INT sfbCnt, in FDKaacEnc_groupShortData() argument
167 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
178 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
192 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
207 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
222 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
237 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
257 i += (groupLen[grp] * (sfbOffset[sfbCnt] - sfbOffset[sfb])); in FDKaacEnc_groupShortData()
Dtonality.cpp118 INT sfbCnt, const INT *RESTRICT sfbOffset,
124 FIXP_SGL *RESTRICT sfbTonality, INT sfbCnt, in FDKaacEnc_CalculateFullTonality() argument
127 INT numberOfLines = sfbOffset[sfbCnt]; in FDKaacEnc_CalculateFullTonality()
158 sfbTonality, sfbCnt, sfbOffset, sfbEnergyLD64); in FDKaacEnc_CalculateFullTonality()
179 INT sfbCnt, const INT *RESTRICT sfbOffset, in FDKaacEnc_CalcSfbTonality() argument
183 for (i = 0; i < sfbCnt; i++) { in FDKaacEnc_CalcSfbTonality()
Dintensity.cpp263 FIXP_DBL *realScale, FIXP_DBL *normSfbLoudness, const INT sfbCnt, in FDKaacEnc_prepareIntensityDecision() argument
284 for (grpCounter = 0, sfboffs = 0; sfboffs < sfbCnt; in FDKaacEnc_prepareIntensityDecision()
325 for (grpCounter = 0, sfboffs = 0; sfboffs < sfbCnt; in FDKaacEnc_prepareIntensityDecision()
493 const INT sfbCnt, const INT sfbPerGroup, const INT maxSfbPerGroup) { in FDKaacEnc_finalizeIntensityDecision() argument
498 for (sfboffs = 0; sfboffs < sfbCnt; sfboffs += sfbPerGroup) { in FDKaacEnc_finalizeIntensityDecision()
621 const INT sfbCnt, const INT sfbPerGroup, const INT maxSfbPerGroup, in FDKaacEnc_IntensityStereoProcessing() argument
633 FDKmemclear((void *)isBook, sfbCnt * sizeof(INT)); in FDKaacEnc_IntensityStereoProcessing()
634 FDKmemclear((void *)isMask, sfbCnt * sizeof(INT)); in FDKaacEnc_IntensityStereoProcessing()
635 FDKmemclear((void *)realIsScale, sfbCnt * sizeof(FIXP_DBL)); in FDKaacEnc_IntensityStereoProcessing()
636 FDKmemclear((void *)isScale, sfbCnt * sizeof(INT)); in FDKaacEnc_IntensityStereoProcessing()
[all …]
Dpsy_configuration.h121 INT sfbCnt; /* number of existing sf bands */ member
154 UCHAR sfbCnt; /* Number of scalefactor bands */ member
159 UCHAR sfbCnt; /* Number of scalefactor bands */ member
Ddyn_bits.h122 INT sfbCnt; member
129 INT sfbCnt; member
154 const INT sfbCnt, const INT maxSfbPerGroup,
Dpnsparam.cpp502 INT sampleRate, INT sfbCnt, in FDKaacEnc_GetPnsParam() argument
546 pnsInfo->startFreq, sampleRate, sfbCnt, sfbOffset); in FDKaacEnc_GetPnsParam()
562 for (i = 0; i < (sfbCnt - 1); i++) { in FDKaacEnc_GetPnsParam()
571 np->powDistPSDcurve[sfbCnt] = np->powDistPSDcurve[sfbCnt - 1]; in FDKaacEnc_GetPnsParam()
Dpsy_main.cpp376 hPsy->psyConf[0].sfbCnt, hPsy->psyConf[0].sfbPcmQuantThreshold, in FDKaacEnc_psyMainInit()
383 hPsy->psyConf[0].sfbCnt, hPsy->psyConf[0].sfbOffset, in FDKaacEnc_psyMainInit()
390 hPsy->psyConf[1].sfbCnt, hPsy->psyConf[1].sfbOffset, in FDKaacEnc_psyMainInit()
777 &psyOutChannel[ch]->tnsInfo, hThisPsyConf[ch]->sfbCnt, in FDKaacEnc_psyMain()
846 hThisPsyConf[ch]->sfbCnt, &hThisPsyConf[ch]->tnsConf, in FDKaacEnc_psyMain()
1044 hPsyConfShort->sfbCnt; in FDKaacEnc_psyMain()
1050 &psyData[ch]->sfbSpreadEnergy, hPsyConfShort->sfbCnt, in FDKaacEnc_psyMain()
1060 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain()
1067 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain()
1079 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain()
[all …]
Dline_pe.cpp121 const INT sfbCnt, const INT sfbPerGroup, in FDKaacEnc_prepareSfbPe() argument
129 for (sfbGrp = 0; sfbGrp < sfbCnt; sfbGrp += sfbPerGroup) { in FDKaacEnc_prepareSfbPe()
164 const INT sfbCnt, const INT sfbPerGroup, in FDKaacEnc_calcSfbPe() argument
180 for (sfbGrp = 0; sfbGrp < sfbCnt; sfbGrp += sfbPerGroup) { in FDKaacEnc_calcSfbPe()
Dadj_thr.cpp451 for (sfbGrp = 0; sfbGrp < psyOutChannel[ch]->sfbCnt; in FDKaacEnc_calcThreshExp()
490 for (sfbGrp = 0; sfbGrp < psyOutChannel[ch]->sfbCnt; in FDKaacEnc_adaptMinSnr()
510 int sfbCnt = psyOutChannel[ch]->sfbCnt; in FDKaacEnc_adaptMinSnr() local
513 for (sfbGrp = 0; sfbGrp < sfbCnt; sfbGrp += sfbPerGroup) { in FDKaacEnc_adaptMinSnr()
555 for (sfbGrp = 0; sfbGrp < psyOutChannel[ch]->sfbCnt; in FDKaacEnc_initAvoidHoleFlag()
560 for (sfbGrp = 0; sfbGrp < psyOutChannel[ch]->sfbCnt; in FDKaacEnc_initAvoidHoleFlag()
572 for (sfbGrp = 0; sfbGrp < psyOutChannel[ch]->sfbCnt; in FDKaacEnc_initAvoidHoleFlag()
626 for (sfbGrp = 0; sfbGrp < psyOutChanM->sfbCnt; in FDKaacEnc_initAvoidHoleFlag()
688 for (sfbGrp = 0; sfbGrp < psyOutChan->sfbCnt; in FDKaacEnc_initAvoidHoleFlag()
730 psyOutChan->sfbOffsets, psyOutChan->sfbCnt, psyOutChan->sfbPerGroup, in FDKaacEnc_preparePe()
[all …]
Dline_pe.h137 const INT sfbCnt, const INT sfbPerGroup,
143 const INT sfbCnt, const INT sfbPerGroup,
Dbitenc.cpp138 sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeSpectralData()
269 sectLen = sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeSectionData()
319 INT tmp = sfbStart + sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeScaleFactorData()
329 INT tmp = sfbStart + sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeScaleFactorData()
346 sectionData->huffsection[i].sfbCnt; in FDKaacEnc_encodeScaleFactorData()
380 static INT FDKaacEnc_encodeMSInfo(INT sfbCnt, INT grpSfb, INT maxSfb, in FDKaacEnc_encodeMSInfo() argument
400 for (sfbOff = 0; sfbOff < sfbCnt; sfbOff += grpSfb) { in FDKaacEnc_encodeMSInfo()
415 for (sfbOff = 0; sfbOff < sfbCnt; sfbOff += grpSfb) { in FDKaacEnc_encodeMSInfo()
982 chSfbCnt = pChSectionData->sfbCnt; in FDKaacEnc_ChannelElementWrite()
986 chSfbCnt = psyOutChannel[ch]->sfbCnt; in FDKaacEnc_ChannelElementWrite()
Dms_stereo.cpp113 const INT allowMS, const INT sfbCnt, in FDKaacEnc_MsStereoProcessing() argument
157 for (sfb = 0; sfb < sfbCnt; sfb += sfbPerGroup) { in FDKaacEnc_MsStereoProcessing()
253 for (sfb = 0; sfb < sfbCnt; sfb += sfbPerGroup) { in FDKaacEnc_MsStereoProcessing()
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()
1012 qcOutCh->scf, psyOutCh->lastWindowSequence, psyOutCh->sfbCnt, in FDKaacEnc_QCMain()
1235 static INT FDKaacEnc_calcMaxValueInSfb(INT sfbCnt, INT maxSfbPerGroup, in FDKaacEnc_calcMaxValueInSfb() argument
1242 for (sfbOffs = 0; sfbOffs < sfbCnt; sfbOffs += sfbPerGroup) in FDKaacEnc_calcMaxValueInSfb()
1436 qcChannel[ch]->sectionData.huffsection[sect].sfbCnt; in FDKaacEnc_crashRecovery()
1456 for (sfbGrp = 0; sfbGrp < psyChannel[0]->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()
Dtonality.h112 FIXP_SGL *RESTRICT sfbTonality, INT sfbCnt,
Dms_stereo.h112 const INT allowMS, const INT sfbCnt,
Dgrp_data.h114 SFB_ENERGY *sfbSpreadEnergy, const INT sfbCnt,
Dintensity.h117 const INT sfbCnt, const INT sfbPerGroup, const INT maxSfbPerGroup,
Dquantize.h112 void FDKaacEnc_QuantizeSpectrum(INT sfbCnt, INT maxSfbPerGroup, INT sfbPerGroup,
Dpnsparam.h145 INT sampleRate, INT sfbCnt,
Dtns_func.h116 TNS_INFO *tnsInfo, INT sfbCnt, const FIXP_DBL *spectrum,
Dinterface.h122 INT sfbCnt; member
Dpns_func.h111 PNS_CONFIG *pnsConf, INT bitRate, INT sampleRate, INT usePns, INT sfbCnt,

12