/external/aac/libAACenc/src/ |
D | dyn_bits.cpp | 121 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 …]
|
D | sf_estim.cpp | 138 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 …]
|
D | psy_configuration.cpp | 195 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 …]
|
D | tonality.cpp | 118 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()
|
D | grp_data.cpp | 122 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()
|
D | intensity.cpp | 263 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 …]
|
D | dyn_bits.h | 122 INT sfbCnt; member 129 INT sfbCnt; member 154 const INT sfbCnt, const INT maxSfbPerGroup,
|
D | psy_configuration.h | 121 INT sfbCnt; /* number of existing sf bands */ member 154 UCHAR sfbCnt; /* Number of scalefactor bands */ member 159 UCHAR sfbCnt; /* Number of scalefactor bands */ member
|
D | pnsparam.cpp | 502 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()
|
D | line_pe.cpp | 121 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()
|
D | psy_main.cpp | 376 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 …]
|
D | adj_thr.cpp | 451 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 …]
|
D | line_pe.h | 137 const INT sfbCnt, const INT sfbPerGroup, 143 const INT sfbCnt, const INT sfbPerGroup,
|
D | bitenc.cpp | 138 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()
|
D | ms_stereo.cpp | 113 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()
|
D | tonality.h | 112 FIXP_SGL *RESTRICT sfbTonality, INT sfbCnt,
|
D | ms_stereo.h | 112 const INT allowMS, const INT sfbCnt,
|
D | qc_main.cpp | 150 static INT FDKaacEnc_calcMaxValueInSfb(INT sfbCnt, INT maxSfbPerGroup, 952 psyOutCh->sfbCnt, psyOutCh->maxSfbPerGroup, in FDKaacEnc_QCMain() 959 psyOutCh->sfbCnt, psyOutCh->maxSfbPerGroup, in FDKaacEnc_QCMain() 996 qcOutCh->scf, psyOutCh->lastWindowSequence, psyOutCh->sfbCnt, in FDKaacEnc_QCMain() 1219 static INT FDKaacEnc_calcMaxValueInSfb(INT sfbCnt, INT maxSfbPerGroup, in FDKaacEnc_calcMaxValueInSfb() argument 1226 for (sfbOffs = 0; sfbOffs < sfbCnt; sfbOffs += sfbPerGroup) in FDKaacEnc_calcMaxValueInSfb() 1420 qcChannel[ch]->sectionData.huffsection[sect].sfbCnt; in FDKaacEnc_crashRecovery() 1440 for (sfbGrp = 0; sfbGrp < psyChannel[0]->sfbCnt; in FDKaacEnc_crashRecovery() 1444 qcChannel[ch]->sectionData.huffsection[sect].sfbCnt--; in FDKaacEnc_crashRecovery() 1447 if (qcChannel[ch]->sectionData.huffsection[sect].sfbCnt == 0) { in FDKaacEnc_crashRecovery()
|
D | grp_data.h | 114 SFB_ENERGY *sfbSpreadEnergy, const INT sfbCnt,
|
D | intensity.h | 117 const INT sfbCnt, const INT sfbPerGroup, const INT maxSfbPerGroup,
|
D | quantize.h | 112 void FDKaacEnc_QuantizeSpectrum(INT sfbCnt, INT maxSfbPerGroup, INT sfbPerGroup,
|
D | pnsparam.h | 145 INT sampleRate, INT sfbCnt,
|
D | tns_func.h | 116 TNS_INFO *tnsInfo, INT sfbCnt, const FIXP_DBL *spectrum,
|
D | interface.h | 122 INT sfbCnt; member
|
D | pns_func.h | 111 PNS_CONFIG *pnsConf, INT bitRate, INT sampleRate, INT usePns, INT sfbCnt,
|