Home
last modified time | relevance | path

Searched refs:sfb (Results 1 – 23 of 23) sorted by relevance

/external/aac/libAACenc/src/
Dsf_estim.cpp122 INT j, sfb, sfbGrp; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() local
129 for (sfb = 0; sfb < tmp1; sfb++) { 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()
138 for ( ; sfb < psyOutChan->sfbPerGroup; sfb++) { in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
139 sfbFormFactorLdData[sfbGrp+sfb] = FL2FXCONST_DBL(-1.0f); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
178 INT sfbOffs, sfb; in FDKaacEnc_calcSfbRelevantLines() local
188 for(sfb=0; sfb<maxSfbPerGroup; sfb++) { in FDKaacEnc_calcSfbRelevantLines()
190 if((FIXP_DBL)sfbEnergyLdData[sfbOffs+sfb] > (FIXP_DBL)sfbThresholdLdData[sfbOffs+sfb]) { in FDKaacEnc_calcSfbRelevantLines()
191 INT sfbWidth = sfbOffsets[sfbOffs+sfb+1] - sfbOffsets[sfbOffs+sfb]; in FDKaacEnc_calcSfbRelevantLines()
[all …]
Dms_stereo.cpp126 INT sfb,sfboffs, j; /* loop counters */ in FDKaacEnc_MsStereoProcessing() local
135 for(sfb=0; sfb<sfbCnt; sfb+=sfbPerGroup) { in FDKaacEnc_MsStereoProcessing()
138 if ( (isBook==NULL) ? 1 : (isBook[sfb+sfboffs] == 0) ) { in FDKaacEnc_MsStereoProcessing()
153 …minThresholdLdData = fixMin(sfbThresholdLeftLdData[sfb+sfboffs], sfbThresholdRightLdData[sfb+sfbof… in FDKaacEnc_MsStereoProcessing()
159 tmp = fixMax(sfbEnergyLeftLdData[sfb+sfboffs], sfbThresholdLeftLdData[sfb+sfboffs]); in FDKaacEnc_MsStereoProcessing()
160 pnlrLdData = (sfbThresholdLeftLdData[sfb+sfboffs]>>1) - (tmp>>1); in FDKaacEnc_MsStereoProcessing()
161 pnlrLdData = pnlrLdData + (sfbThresholdRightLdData[sfb+sfboffs]>>1); in FDKaacEnc_MsStereoProcessing()
162 tmp = fixMax(sfbEnergyRightLdData[sfb+sfboffs], sfbThresholdRightLdData[sfb+sfboffs]); in FDKaacEnc_MsStereoProcessing()
167 tmp = fixMax(sfbEnergyMidLdData[sfb+sfboffs], minThresholdLdData); in FDKaacEnc_MsStereoProcessing()
169 tmp = fixMax(sfbEnergySideLdData[sfb+sfboffs], minThresholdLdData); in FDKaacEnc_MsStereoProcessing()
[all …]
Daacenc_pns.cpp200 int sfb; in FDKaacEnc_PnsDetect() local
208 for (sfb=0; sfb<MAX_GROUPED_SFB; sfb++) { in FDKaacEnc_PnsDetect()
209 … noiseNrg[sfb] = NO_NOISE_PNS; /* clear nrg's of previous frame */ in FDKaacEnc_PnsDetect()
221 for (sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_PnsDetect()
222 pnsData->pnsFlag[sfb] = 0; /* clear all pnsFlags */ in FDKaacEnc_PnsDetect()
246 for(sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_PnsDetect()
249 if(sfb < startNoiseSfb){ in FDKaacEnc_PnsDetect()
250 pnsData->pnsFlag[sfb] = 0; in FDKaacEnc_PnsDetect()
261 if((pnsData->noiseFuzzyMeasure[sfb] > FL2FXCONST_SGL(0.5)) && in FDKaacEnc_PnsDetect()
262 …( (sfbThresholdLdData[sfb] + FL2FXCONST_DBL(0.5849625f/64.0f)) /* thr * 1.5 = thrLd +ld(1.5)/64 */ in FDKaacEnc_PnsDetect()
[all …]
Dgrp_data.cpp120 INT sfb; /* counts through scalefactor bands */ in FDKaacEnc_groupShortData() local
136 for (sfb = sfbActive-1; sfb >= highestSfb; sfb--) in FDKaacEnc_groupShortData()
138 for (line = sfbOffset[sfb+1]-1; line >= sfbOffset[sfb]; line--) in FDKaacEnc_groupShortData()
142 …if (line >= sfbOffset[sfb]) break; /* this band was not compl… in FDKaacEnc_groupShortData()
144 highestSfb = fixMax(highestSfb, sfb); in FDKaacEnc_groupShortData()
154 for (sfb = 0; sfb < sfbActive+1; sfb++) in FDKaacEnc_groupShortData()
156 groupedSfbOffset[i++] = offset + sfbOffset[sfb] * groupLen[grp]; in FDKaacEnc_groupShortData()
158 i += sfbCnt-sfb; in FDKaacEnc_groupShortData()
167 for (sfb = 0; sfb < sfbActive; sfb++) in FDKaacEnc_groupShortData()
169 groupedSfbMinSnrLdData[i++] = sfbMinSnrLdData[sfb]; in FDKaacEnc_groupShortData()
[all …]
Dintensity.cpp258 INT j,sfb,sfboffs; in FDKaacEnc_prepareIntensityDecision() local
279 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_prepareIntensityDecision()
281 FIXP_DBL isValue = sfbEnergyLdDataLeft[sfb+sfboffs]-sfbEnergyLdDataRight[sfb+sfboffs]; in FDKaacEnc_prepareIntensityDecision()
284 …realScale[sfb + sfboffs] = fixMin(FL2FXCONST_DBL(60.f/(1<<(REAL_SCALE_SF+LD_DATA_SHIFT))), fixMax(… in FDKaacEnc_prepareIntensityDecision()
286 sL = fixMax(0,(CntLeadingZeros(sfbEnergyLeft[sfb + sfboffs])-1)); in FDKaacEnc_prepareIntensityDecision()
287 sR = fixMax(0,(CntLeadingZeros(sfbEnergyRight[sfb + sfboffs])-1)); in FDKaacEnc_prepareIntensityDecision()
289 …normSfbLoudness[sfb + sfboffs] = sqrtFixp(sqrtFixp(((sfbEnergyLeft[sfb + sfboffs]<<s) >> 1) + ((sf… in FDKaacEnc_prepareIntensityDecision()
291 overallLoudness[grpCounter] += normSfbLoudness[sfb + sfboffs] >> OVERALL_LOUDNESS_SF; in FDKaacEnc_prepareIntensityDecision()
296 …if( (sfbEnergyLeft[sfb + sfboffs] >= fMult(isParams->left_right_ratio_threshold,sfbEnergyRight[s… in FDKaacEnc_prepareIntensityDecision()
297 …(fMult(isParams->left_right_ratio_threshold,sfbEnergyLeft[sfb + sfboffs]) <= sfbEnergyRight[sfb + … in FDKaacEnc_prepareIntensityDecision()
[all …]
Dline_pe.cpp112 INT sfbGrp,sfb; in FDKaacEnc_prepareSfbPe() local
118 for (sfb=0; sfb<maxSfbPerGroup; sfb++) { 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 …]
Dadj_thr.cpp386 INT ch, sfb, sfbGrp; in FDKaacEnc_calcThreshExp() local
391 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) { 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
421 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) { in FDKaacEnc_adaptMinSnr()
422 accu += psyOutChannel[ch]->sfbEnergy[sfbGrp+sfb]>>6; in FDKaacEnc_adaptMinSnr()
438 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) { 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 …]
Dnoisedet.cpp152 int i, k, sfb, sfbWidth; in FDKaacEnc_noiseDetect() local
158 for (sfb=0; sfb<sfbActive; sfb++) { in FDKaacEnc_noiseDetect()
161 sfbWidth = sfbOffset[sfb+1] - sfbOffset[sfb]; in FDKaacEnc_noiseDetect()
164 if (sfb < np->startSfb || sfbWidth < np->minSfbWidth) { in FDKaacEnc_noiseDetect()
165 noiseFuzzyMeasure[sfb] = FL2FXCONST_SGL(0.0f); in FDKaacEnc_noiseDetect()
171 …INT leadingBits = fixMax(0,(sfbMaxScaleSpec[sfb] - 3)); /* max sfbWidth = 96/4 ; 2^5=32 =>… in FDKaacEnc_noiseDetect()
177 for (i=sfbOffset[sfb]; i<sfbOffset[sfb]+k; i++) { in FDKaacEnc_noiseDetect()
200 testVal = fMultDiv2(testVal, np->powDistPSDcurve[sfb]); in FDKaacEnc_noiseDetect()
213 testVal = FX_SGL2FX_DBL(sfbtonality[sfb])>>1; /* 1/2 * sfbTonality */ in FDKaacEnc_noiseDetect()
226 noiseFuzzyMeasure[sfb] = fuzzyTotal; in FDKaacEnc_noiseDetect()
Dpsy_main.cpp457 INT sfb; /* counts through scalefactor bands */ in FDKaacEnc_psyMain() local
678 for (sfb = 0; sfb<psyData[ch]->sfbActive; sfb++) in FDKaacEnc_psyMain()
679 minSpecShift = fixMin(minSpecShift, (pSfbMaxScaleSpec[ch]+w*maxSfb[ch])[sfb]); in FDKaacEnc_psyMain()
722 for(sfb=0; sfb<psyData[ch]->sfbActive; sfb++) { in FDKaacEnc_psyMain()
723 INT scale = fixMax(0, (pSfbMaxScaleSpec[ch]+w*maxSfb[ch])[sfb]-4); in FDKaacEnc_psyMain()
725 if (scale >= 0) (pSfbEnergy[ch]+w*maxSfb[ch])[sfb] >>= (scale); in FDKaacEnc_psyMain()
726 else (pSfbEnergy[ch]+w*maxSfb[ch])[sfb] <<= (-scale); in FDKaacEnc_psyMain()
727 … (pSfbThreshold[ch]+w*maxSfb[ch])[sfb] = fMult((pSfbEnergy[ch]+w*maxSfb[ch])[sfb], C_RATIO); in FDKaacEnc_psyMain()
728 (pSfbEnergyLdData[ch]+w*maxSfb[ch])[sfb] += ldShift; in FDKaacEnc_psyMain()
741 for (sfb = 0; sfb<psyData[ch]->sfbActive; sfb++) in FDKaacEnc_psyMain()
[all …]
Dpsy_configuration.cpp466 INT sfb; in FDKaacEnc_initMinSnr() local
518 for (sfb = 0; sfb < sfbActive; sfb++) in FDKaacEnc_initMinSnr()
520 barcWidth = FDKaacEnc_BarcLineValue(numLines, sfbOffset[sfb+1], samplerate) - in FDKaacEnc_initMinSnr()
521 FDKaacEnc_BarcLineValue(numLines, sfbOffset[sfb], samplerate); in FDKaacEnc_initMinSnr()
527 sfbWidth = (sfbOffset[sfb+1] - sfbOffset[sfb]); in FDKaacEnc_initMinSnr()
564 sfbMinSnrLdData[sfb] = CalcLdData(snr); in FDKaacEnc_initMinSnr()
578 INT sfb; in FDKaacEnc_InitPsyConfiguration() local
633 for (sfb = 0; sfb < psyConf->sfbCnt; sfb++){ in FDKaacEnc_InitPsyConfiguration()
634 if (psyConf->sfbOffset[sfb] >= psyConf->lowpassLine) in FDKaacEnc_InitPsyConfiguration()
637 psyConf->sfbActive = FDKmax(sfb, 1); in FDKaacEnc_InitPsyConfiguration()
[all …]
Dquantize.cpp275 INT sfbOffs,sfb; in FDKaacEnc_QuantizeSpectrum() local
283 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) in FDKaacEnc_QuantizeSpectrum()
285 INT scalefactor = scalefactors[sfbOffs+sfb] ; in FDKaacEnc_QuantizeSpectrum()
288 sfbOffset[sfbOffs+sfb+1] - sfbOffset[sfbOffs+sfb], in FDKaacEnc_QuantizeSpectrum()
289 mdctSpectrum + sfbOffset[sfbOffs+sfb], in FDKaacEnc_QuantizeSpectrum()
290 quantizedSpectrum + sfbOffset[sfbOffs+sfb], in FDKaacEnc_QuantizeSpectrum()
Dqc_main.cpp1302 INT sfbOffs,sfb; in FDKaacEnc_calcMaxValueInSfb() local
1306 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) in FDKaacEnc_calcMaxValueInSfb()
1310 for (line = sfbOffset[sfbOffs+sfb]; line < sfbOffset[sfbOffs+sfb+1]; line++) in FDKaacEnc_calcMaxValueInSfb()
1316 maxValue[sfbOffs+sfb] = maxThisSfb; in FDKaacEnc_calcMaxValueInSfb()
1486 INT sfb, sfbGrp ; in FDKaacEnc_crashRecovery() local
1502 INT sfb ; in FDKaacEnc_crashRecovery() local
1505 for (sfb = qcChannel[ch]->sectionData.huffsection[sect].sfbStart; in FDKaacEnc_crashRecovery()
1506 sfb < qcChannel[ch]->sectionData.huffsection[sect].sfbStart + in FDKaacEnc_crashRecovery()
1508 sfb++) in FDKaacEnc_crashRecovery()
1510 bitsPerScf[ch][sfb] = 0; in FDKaacEnc_crashRecovery()
[all …]
Dbitenc.cpp121 INT i,sfb; in FDKaacEnc_encodeSpectralData() local
130 for(sfb=sectionData->huffsection[i].sfbStart; sfb<tmp; sfb++) in FDKaacEnc_encodeSpectralData()
132 FDKaacEnc_codeValues(quantSpectrum+sfbOffset[sfb], in FDKaacEnc_encodeSpectralData()
133 sfbOffset[sfb+1]-sfbOffset[sfb], in FDKaacEnc_encodeSpectralData()
389 INT sfb, sfbOff, msBits = 0; in FDKaacEnc_encodeMSInfo() local
410 for(sfb=0; sfb<maxSfb; sfb++) in FDKaacEnc_encodeMSInfo()
412 if(jsFlags[sfbOff+sfb] & MS_ON){ in FDKaacEnc_encodeMSInfo()
428 for(sfb=0; sfb<maxSfb; sfb++) { in FDKaacEnc_encodeMSInfo()
/external/aac/libAACdec/src/
Dconceal.cpp1319 int line, sfb, scaleFactorBandsTotal = 0; in CConcealment_CalcBandEnergy() local
1336 for (sfb = 0; sfb < scaleFactorBandsTotal; sfb++) { in CConcealment_CalcBandEnergy()
1338 int sfbScale = (sizeof(LONG)<<3) - CntLeadingZeros(pSfbOffset[sfb+1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1340 for ( ; line < pSfbOffset[sfb+1]; line++) { in CConcealment_CalcBandEnergy()
1343 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
1351 for (sfb = 0; sfb < scaleFactorBandsTotal; sfb++) { in CConcealment_CalcBandEnergy()
1353 int sfbScale = (sizeof(LONG)<<3) - CntLeadingZeros(pSfbOffset[sfb+1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1355 for (; line < pSfbOffset[sfb+1] << 3; line++) { in CConcealment_CalcBandEnergy()
1358 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
1370 for (sfb = 0; sfb < scaleFactorBandsTotal; sfb++) { in CConcealment_CalcBandEnergy()
[all …]
/external/llvm/test/CodeGen/X86/
Dloop-strength-reduce7.ll29 %sfb.314.i = add i32 %indvar32.i, 0 ; <i32> [#uses=3]
30 …%1 = getelementptr [4 x [21 x double]], [4 x [21 x double]]* null, i32 0, i32 %0, i32 %sfb.314.i …
35 …%3 = getelementptr %struct.III_scalefac_t, %struct.III_scalefac_t* null, i32 0, i32 1, i32 %sfb.31…
40 %4 = add i32 %sfb.314.i, 1 ; <i32> [#uses=1]
/external/llvm/test/Transforms/LoopDeletion/
D2008-05-06-Phi.ll53 …fac_t], [2 x %struct.III_scalefac_t]* %scalefac, i32 0, i32 0, i32 1, i32 %sfb.0, i32 %window.0 ;…
67 %tmp139 = add i32 %sfb.0, 1 ; <i32> [#uses=1]
71 %sfb.0 = phi i32 [ %tmp139, %bb137 ], [ 0, %bb341 ] ; <i32> [#uses=3]
72 %tmp142 = icmp slt i32 %sfb.0, 6 ; <i1> [#uses=1]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatTests.java1818 String sfb = dfb.format(fixedDate); in hasSameBehavior() local
1820 if (!sfa.equals(sfb)) { in hasSameBehavior()
1844 return sfa.equals(sfb); in hasSameBehavior()
1954 String sfb = dfb.format(dateInterval); in hasSameBehavior() local
1956 return sfa.equals(sfb); in hasSameBehavior()
2130 SelectFormat sfb = (SelectFormat) b; in hasSameBehavior() local
2133 return sfa.format(argument) != sfb.format(argument); in hasSameBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatTests.java1817 String sfb = dfb.format(fixedDate); in hasSameBehavior() local
1819 if (!sfa.equals(sfb)) { in hasSameBehavior()
1843 return sfa.equals(sfb); in hasSameBehavior()
1953 String sfb = dfb.format(dateInterval); in hasSameBehavior() local
1955 return sfa.equals(sfb); in hasSameBehavior()
2129 SelectFormat sfb = (SelectFormat) b; in hasSameBehavior() local
2132 return sfa.format(argument) != sfb.format(argument); in hasSameBehavior()
/external/iproute2/man/man8/
DMakefile8 tc-sfb.8 tc-sfq.8 tc-stab.8 tc-tbf.8 \
/external/llvm/test/CodeGen/ARM/
D2008-04-10-ScavengerAssert.ll150 %sfb.3.reg2mem.0.i = add i32 %indvar90.i, %tmp37.i55 ; <i32> [#uses=4]
151 … x [21 x double]], [4 x [21 x double]]* null, i32 0, i32 %tmp15747.i, i32 %sfb.3.reg2mem.0.i ; <d…
155 …r %struct.III_scalefac_t, %struct.III_scalefac_t* null, i32 0, i32 1, i32 %sfb.3.reg2mem.0.i, i32 …
157 …%tmp182.1.i = getelementptr [14 x i32], [14 x i32]* @scalefac_band.1, i32 0, i32 %sfb.3.reg2mem.0.…
158 %tmp185.i78 = add i32 %sfb.3.reg2mem.0.i, 1 ; <i32> [#uses=1]
/external/icu/icu4c/source/data/misc/
Dmetadata.txt994 replacement{"sfb"}
DsupplementalData.txt6194 "sfb",
/external/webrtc/talk/media/testdata/
Dvoice.rtpdump83 …�pjn``en�����������okj_VOMLNPSUZ]^hr����������������~jbj�������������������sfb`^]hoe[_�����|����c\…