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 | 386 INT ch, sfb, sfbGrp; in FDKaacEnc_calcThreshExp() local 390 for(sfbGrp = 0;sfbGrp < psyOutChannel[ch]->sfbCnt;sfbGrp+= psyOutChannel[ch]->sfbPerGroup) { in FDKaacEnc_calcThreshExp() 392 thrExpLdData = psyOutChannel[ch]->sfbThresholdLdData[sfbGrp+sfb]>>2 ; in FDKaacEnc_calcThreshExp() 393 thrExp[ch][sfbGrp+sfb] = CalcInvLdData(thrExpLdData); in FDKaacEnc_calcThreshExp() 409 INT ch, sfb, sfbGrp, nSfb; in FDKaacEnc_adaptMinSnr() local 420 for (sfbGrp=0; sfbGrp < psyOutChannel[ch]->sfbCnt; sfbGrp+=psyOutChannel[ch]->sfbPerGroup) { in FDKaacEnc_adaptMinSnr() 422 accu += psyOutChannel[ch]->sfbEnergy[sfbGrp+sfb]>>6; in FDKaacEnc_adaptMinSnr() 437 for (sfbGrp=0; sfbGrp < psyOutChannel[ch]->sfbCnt; sfbGrp+=psyOutChannel[ch]->sfbPerGroup) { in FDKaacEnc_adaptMinSnr() 439 if ( (msaParam->startRatio + qcOutChannel[ch]->sfbEnergyLdData[sfbGrp+sfb]) < avgEnLD64 ) { in FDKaacEnc_adaptMinSnr() 440 …dbRatio = fMult((avgEnLD64 - qcOutChannel[ch]->sfbEnergyLdData[sfbGrp+sfb]),FL2FXCONST_DBL(0.30102… in FDKaacEnc_adaptMinSnr() [all …]
|
D | psy_main.cpp | 1058 int sfbGrp; in FDKaacEnc_psyMain() local 1079 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain() 1080 …LdDataVector(&psyData[ch]->sfbEnergy.Long[sfbGrp], &psyOutChannel[ch]->sfbEnergyLdData[sfbGrp], ps… in FDKaacEnc_psyMain() 1084 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain() 1085 …LdDataVector(&psyData[ch]->sfbThreshold.Long[sfbGrp], &psyOutChannel[ch]->sfbThresholdLdData[sfbGr… in FDKaacEnc_psyMain() 1087 psyOutChannel[ch]->sfbThresholdLdData[sfbGrp+sfb] = in FDKaacEnc_psyMain() 1088 … fixMax(psyOutChannel[ch]->sfbThresholdLdData[sfbGrp+sfb], FL2FXCONST_DBL(-0.515625f)); in FDKaacEnc_psyMain() 1093 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain() 1094 …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 | 1486 INT sfb, sfbGrp ; in FDKaacEnc_crashRecovery() local 1529 for (sfbGrp = 0; sfbGrp < psyChannel[0]->sfbCnt; sfbGrp += psyChannel[0]->sfbPerGroup) in FDKaacEnc_crashRecovery() 1533 int sect = sectionToScf[ch][sfbGrp+sfb]; in FDKaacEnc_crashRecovery() 1535 savedBits += bitsPerScf[ch][sfbGrp+sfb] ; in FDKaacEnc_crashRecovery()
|