Searched refs:sfbGrp (Results 1 – 5 of 5) sorted by relevance
/external/aac/libAACenc/src/ |
D | line_pe.cpp | 112 INT sfbGrp,sfb; in FDKaacEnc_prepareSfbPe() local 117 for (sfbGrp = 0;sfbGrp < sfbCnt;sfbGrp+=sfbPerGroup) { in FDKaacEnc_prepareSfbPe() 119 if ((FIXP_DBL)sfbEnergyLdData[sfbGrp+sfb] > (FIXP_DBL)sfbThresholdLdData[sfbGrp+sfb]) { in FDKaacEnc_prepareSfbPe() 120 sfbWidth = sfbOffset[sfbGrp+sfb+1] - sfbOffset[sfbGrp+sfb]; in FDKaacEnc_prepareSfbPe() 122 avgFormFactorLdData = ((-sfbEnergyLdData[sfbGrp+sfb]>>1) + (CalcLdInt(sfbWidth)>>1))>>1; in FDKaacEnc_prepareSfbPe() 123 peChanData->sfbNLines[sfbGrp+sfb] = in FDKaacEnc_prepareSfbPe() 124 … (INT)CalcInvLdData( (sfbFormFactorLdData[sfbGrp+sfb] + formFacScaling) + avgFormFactorLdData); in FDKaacEnc_prepareSfbPe() 126 peChanData->sfbNLines[sfbGrp+sfb] = fMin(sfbWidth, peChanData->sfbNLines[sfbGrp+sfb]); in FDKaacEnc_prepareSfbPe() 129 peChanData->sfbNLines[sfbGrp+sfb] = 0; in FDKaacEnc_prepareSfbPe() 153 INT sfbGrp,sfb; in FDKaacEnc_calcSfbPe() local [all …]
|
D | adj_thr.cpp | 360 INT ch, sfb, sfbGrp; in FDKaacEnc_calcThreshExp() local 364 for(sfbGrp = 0;sfbGrp < psyOutChannel[ch]->sfbCnt;sfbGrp+= psyOutChannel[ch]->sfbPerGroup) { in FDKaacEnc_calcThreshExp() 366 thrExpLdData = psyOutChannel[ch]->sfbThresholdLdData[sfbGrp+sfb]>>2 ; in FDKaacEnc_calcThreshExp() 367 thrExp[ch][sfbGrp+sfb] = CalcInvLdData(thrExpLdData); in FDKaacEnc_calcThreshExp() 383 INT ch, sfb, sfbGrp, nSfb; in FDKaacEnc_adaptMinSnr() local 394 for (sfbGrp=0; sfbGrp < psyOutChannel[ch]->sfbCnt; sfbGrp+=psyOutChannel[ch]->sfbPerGroup) { in FDKaacEnc_adaptMinSnr() 396 accu += psyOutChannel[ch]->sfbEnergy[sfbGrp+sfb]>>6; in FDKaacEnc_adaptMinSnr() 411 for (sfbGrp=0; sfbGrp < psyOutChannel[ch]->sfbCnt; sfbGrp+=psyOutChannel[ch]->sfbPerGroup) { in FDKaacEnc_adaptMinSnr() 413 if ( (msaParam->startRatio + qcOutChannel[ch]->sfbEnergyLdData[sfbGrp+sfb]) < avgEnLD64 ) { in FDKaacEnc_adaptMinSnr() 414 …dbRatio = fMult((avgEnLD64 - qcOutChannel[ch]->sfbEnergyLdData[sfbGrp+sfb]),FL2FXCONST_DBL(0.30102… in FDKaacEnc_adaptMinSnr() [all …]
|
D | psy_main.cpp | 1051 int sfbGrp; in FDKaacEnc_psyMain() local 1072 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain() 1073 …LdDataVector(&psyData[ch]->sfbEnergy.Long[sfbGrp], &psyOutChannel[ch]->sfbEnergyLdData[sfbGrp], ps… in FDKaacEnc_psyMain() 1077 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain() 1078 …LdDataVector(&psyData[ch]->sfbThreshold.Long[sfbGrp], &psyOutChannel[ch]->sfbThresholdLdData[sfbGr… in FDKaacEnc_psyMain() 1080 psyOutChannel[ch]->sfbThresholdLdData[sfbGrp+sfb] = in FDKaacEnc_psyMain() 1081 … fixMax(psyOutChannel[ch]->sfbThresholdLdData[sfbGrp+sfb], FL2FXCONST_DBL(-0.515625f)); in FDKaacEnc_psyMain() 1086 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain() 1087 …LdDataVector(&psyData[ch]->sfbEnergyMS.Long[sfbGrp], &psyData[ch]->sfbEnergyMSLdData[sfbGrp], psyD… in FDKaacEnc_psyMain()
|
D | sf_estim.cpp | 122 INT j, sfb, sfbGrp; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() local 128 for(sfbGrp = 0; sfbGrp < tmp0; sfbGrp += step) { in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() 132 for(j=psyOutChan->sfbOffsets[sfbGrp+sfb]; j<psyOutChan->sfbOffsets[sfbGrp+sfb+1]; j++ ) { in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() 135 sfbFormFactorLdData[sfbGrp+sfb] = CalcLdData(formFactor); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() 139 sfbFormFactorLdData[sfbGrp+sfb] = FL2FXCONST_DBL(-1.0f); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
|
D | qc_main.cpp | 1483 INT sfb, sfbGrp ; in FDKaacEnc_crashRecovery() local 1526 for (sfbGrp = 0; sfbGrp < psyChannel[0]->sfbCnt; sfbGrp += psyChannel[0]->sfbPerGroup) in FDKaacEnc_crashRecovery() 1530 int sect = sectionToScf[ch][sfbGrp+sfb]; in FDKaacEnc_crashRecovery() 1532 savedBits += bitsPerScf[ch][sfbGrp+sfb] ; in FDKaacEnc_crashRecovery()
|