Searched refs:sfbGrp (Results 1 – 5 of 5) sorted by relevance
/external/aac/libAACenc/src/ |
D | adj_thr.cpp | 447 INT ch, sfb, sfbGrp; in FDKaacEnc_calcThreshExp() local 451 for (sfbGrp = 0; sfbGrp < psyOutChannel[ch]->sfbCnt; in FDKaacEnc_calcThreshExp() 452 sfbGrp += psyOutChannel[ch]->sfbPerGroup) { in FDKaacEnc_calcThreshExp() 454 thrExpLdData = psyOutChannel[ch]->sfbThresholdLdData[sfbGrp + sfb] >> 2; in FDKaacEnc_calcThreshExp() 455 thrExp[ch][sfbGrp + sfb] = CalcInvLdData(thrExpLdData); in FDKaacEnc_calcThreshExp() 470 INT ch, sfb, sfbGrp, nSfb; in FDKaacEnc_adaptMinSnr() local 490 for (sfbGrp = 0; sfbGrp < psyOutChannel[ch]->sfbCnt; in FDKaacEnc_adaptMinSnr() 491 sfbGrp += psyOutChannel[ch]->sfbPerGroup) { in FDKaacEnc_adaptMinSnr() 495 accu += psyOutChannel[ch]->sfbEnergy[sfbGrp + sfb] >> 6; in FDKaacEnc_adaptMinSnr() 513 for (sfbGrp = 0; sfbGrp < sfbCnt; sfbGrp += sfbPerGroup) { in FDKaacEnc_adaptMinSnr() [all …]
|
D | line_pe.cpp | 123 INT sfbGrp, sfb; in FDKaacEnc_prepareSfbPe() local 129 for (sfbGrp = 0; sfbGrp < sfbCnt; sfbGrp += sfbPerGroup) { in FDKaacEnc_prepareSfbPe() 131 if ((FIXP_DBL)sfbEnergyLdData[sfbGrp + sfb] > in FDKaacEnc_prepareSfbPe() 132 (FIXP_DBL)sfbThresholdLdData[sfbGrp + sfb]) { in FDKaacEnc_prepareSfbPe() 133 sfbWidth = sfbOffset[sfbGrp + sfb + 1] - sfbOffset[sfbGrp + sfb]; in FDKaacEnc_prepareSfbPe() 135 avgFormFactorLdData = ((-sfbEnergyLdData[sfbGrp + sfb] >> 1) + in FDKaacEnc_prepareSfbPe() 138 peChanData->sfbNLines[sfbGrp + sfb] = (INT)CalcInvLdData( in FDKaacEnc_prepareSfbPe() 139 (sfbFormFactorLdData[sfbGrp + sfb] + formFacScaling) + in FDKaacEnc_prepareSfbPe() 143 peChanData->sfbNLines[sfbGrp + sfb] = in FDKaacEnc_prepareSfbPe() 144 fMin(sfbWidth, peChanData->sfbNLines[sfbGrp + sfb]); in FDKaacEnc_prepareSfbPe() [all …]
|
D | psy_main.cpp | 1042 int sfbGrp; in FDKaacEnc_psyMain() local 1060 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain() 1061 LdDataVector(&psyData[ch]->sfbEnergy.Long[sfbGrp], in FDKaacEnc_psyMain() 1062 &psyOutChannel[ch]->sfbEnergyLdData[sfbGrp], in FDKaacEnc_psyMain() 1067 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain() 1068 LdDataVector(&psyData[ch]->sfbThreshold.Long[sfbGrp], in FDKaacEnc_psyMain() 1069 &psyOutChannel[ch]->sfbThresholdLdData[sfbGrp], in FDKaacEnc_psyMain() 1072 psyOutChannel[ch]->sfbThresholdLdData[sfbGrp + sfb] = in FDKaacEnc_psyMain() 1073 fixMax(psyOutChannel[ch]->sfbThresholdLdData[sfbGrp + sfb], in FDKaacEnc_psyMain() 1079 for (sfbGrp = 0; sfbGrp < noSfb; sfbGrp += hPsyConfShort->sfbCnt) { in FDKaacEnc_psyMain() [all …]
|
D | sf_estim.cpp | 135 INT j, sfb, sfbGrp; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() local 141 for (sfbGrp = 0; sfbGrp < tmp0; sfbGrp += step) { in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() 145 for (j = psyOutChan->sfbOffsets[sfbGrp + sfb]; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() 146 j < psyOutChan->sfbOffsets[sfbGrp + sfb + 1]; j++) { in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() 150 sfbFormFactorLdData[sfbGrp + sfb] = CalcLdData(formFactor); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() 154 sfbFormFactorLdData[sfbGrp + sfb] = FL2FXCONST_DBL(-1.0f); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
|
D | qc_main.cpp | 1418 INT sfb, sfbGrp; in FDKaacEnc_crashRecovery() local 1456 for (sfbGrp = 0; sfbGrp < psyChannel[0]->sfbCnt; in FDKaacEnc_crashRecovery() 1457 sfbGrp += psyChannel[0]->sfbPerGroup) { in FDKaacEnc_crashRecovery() 1459 sect = sectionToScf[ch][sfbGrp + sfb]; in FDKaacEnc_crashRecovery() 1461 savedBits += bitsPerScf[ch][sfbGrp + sfb]; in FDKaacEnc_crashRecovery()
|