Home
last modified time | relevance | path

Searched refs:CalcLdData (Results 1 – 16 of 16) sorted by relevance

/external/aac/libSBRenc/src/
Dmh_det.cpp249 tmp1 = CalcLdData(gmOrig); /* CalcLd64(x)/64 */ in calculateFlatnessMeasure()
265 tmp1 = CalcLdData(gmTransp); /* CalcLd64(x)/64 */ in calculateFlatnessMeasure()
365 nrgLowLD64 = CalcLdData(nrgLow>>1); in removeLowPassDetection()
366 nrgDiffLD64 = CalcLdData((nrgLow>>1)-(nrgHigh>>1)); in removeLowPassDetection()
386 nrgLowLD64 = CalcLdData(nrgLow>>1); in removeLowPassDetection()
387 nrgDiffLD64 = CalcLdData((nrgLow>>1)-(nrgHigh>>1)); in removeLowPassDetection()
395 nrgHighLD64 = CalcLdData(nrgHigh>>1); in removeLowPassDetection()
396 nrgDiffLD64 = CalcLdData((nrgHigh>>1)-(nrgLow>>1)); in removeLowPassDetection()
410 nrgDiffLD64 = CalcLdData((pNrgVector[i]>>1)-(pNrgVector[maxDerivPos + 2]>>1)); in removeLowPassDetection()
411 nrgLD64 = CalcLdData(pNrgVector[i]>>1); in removeLowPassDetection()
[all …]
Denv_est.cpp420 …noise_level_left[i] = NOISE_FLOOR_OFFSET_64 - (CalcLdData(((temp1>>1) + (temp2>>1)))); /* no scal… in coupleNoiseFloor()
421 noise_level_right[i] = CalcLdData(temp2) - CalcLdData(temp1); in coupleNoiseFloor()
425 …noise_level_left[i] = NOISE_FLOOR_OFFSET_64 - (CalcLdData(((temp1>>1) + (temp2>>1))) + FL2FXCONST… in coupleNoiseFloor()
426 noise_level_right[i] = CalcLdData(temp2) - CalcLdData(temp1); in coupleNoiseFloor()
430 …noise_level_left[i] = NOISE_FLOOR_OFFSET_64 - (CalcLdData(((temp1>>(7+1)) + (temp2>>1))) + FL2FXC… in coupleNoiseFloor()
431 noise_level_right[i] = (CalcLdData(temp2) + FL2FXCONST_DBL(0.109375f)) - CalcLdData(temp1); in coupleNoiseFloor()
435 …noise_level_left[i] = NOISE_FLOOR_OFFSET_64 - (CalcLdData(((temp1>>1) + (temp2>>(7+1)))) + FL2FXC… in coupleNoiseFloor()
436 …noise_level_right[i] = CalcLdData(temp2) - (CalcLdData(temp1) + FL2FXCONST_DBL(0.109375f)); /* sca… in coupleNoiseFloor()
808 …tmp0 = CalcLdData(nrgLeft); /* scaled by 1/6… in calculateSbrEnvelope()
811 …tmp2 = CalcLdData(tmp2); /* scaled by 1/6… in calculateSbrEnvelope()
[all …]
Dinvf_est.cpp371 …origQuotaMeanFilt = (fMultDiv2(FL2FXCONST_DBL(2.f*0.375f), (FIXP_DBL)(CalcLdData(max(detectorValue… in decisionAlgorithm()
372 …sbrQuotaMeanFilt = (fMultDiv2(FL2FXCONST_DBL(2.f*0.375f), (FIXP_DBL)(CalcLdData(max(detectorValue… in decisionAlgorithm()
374 …nrg = (fMultDiv2(FL2FXCONST_DBL(2.f*0.375f), (FIXP_DBL)(CalcLdData(detectorValues->a… in decisionAlgorithm()
Dtran_det.cpp154 tmp0 = CalcLdData(accu2); in spectralChange()
155 tmp1 = CalcLdData(accu1); in spectralChange()
156 tmp2 = (tmp0 - tmp1 + CalcLdData(len1)-CalcLdData(len2)); in spectralChange()
Dnf_est.cpp370 …(FIXP_DBL)NOISE_FLOOR_OFFSET_64 - (FIXP_DBL)CalcLdData(noiseLevels[band + env*noNoiseBands]+(FIXP_… in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
Dps_encode.cpp705 …ICC = CalcInvLdData( (CalcLdData((cNrgR + cNrgI)>>1)>>1) - (FIXP_DBL)((sc1-1)<<(DFRACT_BITS-1-LD_D… in calculateICC()
/external/aac/libAACenc/src/
Dquantize.cpp335 xfsf = CalcLdData(xfsf); in FDKaacEnc_calcSfbDist()
392 *en = CalcLdData(energy)+FL2FXCONST_DBL(0.03125f); in FDKaacEnc_calcSfbQuantEnergyAndDist()
393 *dist = CalcLdData(distortion); in FDKaacEnc_calcSfbQuantEnergyAndDist()
Dadj_thr.cpp202 avgEnLD64 = CalcLdData(accu); in FDKaacEnc_adaptMinSnr()
277 avgEnLdData = CalcLdData(avgEn); in FDKaacEnc_initAvoidHoleFlag()
471 …nrgTotal = CalcLdData(nrgTotal); /* get ld64 of total… in FDKaacEnc_calcWeighting()
473 …nrgFacLd_14 = CalcLdData(nrgSum14) - nrgTotal; /* ld64(nrgSum14/nrg… in FDKaacEnc_calcWeighting()
474 …nrgFacLd_12 = CalcLdData(nrgSum12) - nrgTotal; /* ld64(nrgSum12/nrg… in FDKaacEnc_calcWeighting()
475 …nrgFacLd_34 = CalcLdData(nrgSum34) - nrgTotal; /* ld64(nrgSum34/nrg… in FDKaacEnc_calcWeighting()
666 …sfbThrReducedLdData = CalcLdData(fAbs(scaleValue(sfbThrExp, minScale) + scaleValue(redVal,(DFRACT_… in FDKaacEnc_reduceThresholdsCBR()
724 CalcInvLdData( (((CalcLdData(frameFormFactor)>>1) - in FDKaacEnc_calcChaosMeasure()
725 (CalcLdData(frameEnergy)>>(2+1))) - in FDKaacEnc_calcChaosMeasure()
726 …(fMultDiv2(FL2FXCONST_DBL(0.75f),CalcLdData((FIXP_DBL)frameNLines<<(DFRACT_BITS-1-SCALE_NLINES))) - in FDKaacEnc_calcChaosMeasure()
[all …]
Dtonality.cpp188 chaosMeasureSfbLD64 = CalcLdData((chaosMeasureSfb)) - sfbEnergyLD64[i]; in FDKaacEnc_CalcSfbTonality()
Dband_nrg.cpp150 bandEnergyLdData[i] = CalcLdData(bandEnergy[i]); in FDKaacEnc_CheckBandEnergyOptim()
Dmetadata_compressor.cpp750 …FIXP_DBL ldLevel = CalcLdData(level_b) + (FIXP_DBL)((level_e-12)<<(DFRACT_BITS-1-LD_DATA_SHIFT)) -… in FDK_DRC_Generator_Calc()
961 …FIXP_DBL ld_peak = CalcLdData(peak[i]) + (FIXP_DBL)((LONG)DOWNMIX_SHIFT<<(DFRACT_BITS-1-LD_DATA_SH… in FDK_DRC_Generator_Calc()
Daacenc_pns.cpp518 …ccf = CalcLdData(accu) + FL2FXCONST_DBL((float)1.0f/(float)LD_DATA_SCALING) - quot; /* ld(accu*2… in FDKaacEnc_PreProcessPnsChannelPair()
Dsf_estim.cpp135 sfbFormFactorLdData[sfbGrp+sfb] = CalcLdData(formFactor); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
196 sfbWidthLdData = CalcLdData(sfbWidthLdData); in FDKaacEnc_calcSfbRelevantLines()
1145 tmp = CalcLdData(maxSpec); in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
Dpsy_configuration.cpp564 sfbMinSnrLdData[sfb] = CalcLdData(snr); in FDKaacEnc_initMinSnr()
/external/aac/libFDK/src/
Dfixpoint_math.cpp142 FIXP_DBL CalcLdData(FIXP_DBL op) in CalcLdData() function
158 destVector[i] = CalcLdData(srcVector[i]); in LdDataVector()
/external/aac/libFDK/include/
Dfixpoint_math.h104 FIXP_DBL CalcLdData(FIXP_DBL op);