Home
last modified time | relevance | path

Searched refs:fAbs (Results 1 – 25 of 25) sorted by relevance

/external/aac/libFDK/src/
Dautocorr2nd.cpp165 (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5))) - in autoCorr2nd_real()
177 mScale = CountLeadingBits(fAbs(ac->det)); in autoCorr2nd_real()
266 CntLeadingZeros((accu0 | accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | in autoCorr2nd_cplx()
267 fAbs(accu5) | fAbs(accu6) | fAbs(accu7) | fAbs(accu8))) - in autoCorr2nd_cplx()
285 mScale = CntLeadingZeros(fAbs(ac->det)) - 1; in autoCorr2nd_cplx()
Dfixpoint_math.cpp515 if ((e > 0) && (fAbs(res) >= FL2FXCONST_DBL(0.5))) { in fDivNormSigned()
546 L_num = fAbs(L_num); in fDivNormSigned()
552 L_denum = fAbs(L_denum); in fDivNormSigned()
660 leadingBits = CountLeadingBits(fAbs(exp_m)); in fPow()
684 leadingBits = CountLeadingBits(fAbs(exp_m)); in fLdPow()
726 for (i = 1; i < fAbs(exp); i++) { in fPowInt()
DFDK_decorrelate.cpp1070 localMaxVal |= fAbs(inputReal[qs]); in DuckerCalcEnergy()
1071 localMaxVal |= fAbs(inputImag[qs]); in DuckerCalcEnergy()
1074 localMaxVal |= fAbs(inputReal[qs]); in DuckerCalcEnergy()
1120 localMaxVal |= fAbs(inputReal[qs]); in DuckerCalcEnergy()
1121 localMaxVal |= fAbs(inputImag[qs]); in DuckerCalcEnergy()
1124 localMaxVal |= fAbs(inputReal[qs]); in DuckerCalcEnergy()
1252 maxDirRevNrg |= fAbs(tmp1); in DuckerApply()
1253 maxDirRevNrg |= fAbs(tmp2); in DuckerApply()
1383 maxDirRevNrg |= fAbs(self->peakDiff[pb]); in DuckerApplyPS()
1384 maxDirRevNrg |= fAbs(self->SmoothDirRevNrg[pb]); in DuckerApplyPS()
DFDK_lpc.cpp381 maxVal = fMax(maxVal, fAbs(workBuffer[i])); in CLpc_ParcorToLpc()
419 maxVal = fMax(maxVal, fAbs(workBuffer[i])); in CLpc_ParcorToLpc()
/external/aac/libSACenc/src/
Dsacenc_vectorfunctions.cpp131 maxVal |= fAbs(x[i].v.re); in sumUpCplxPow2()
132 maxVal |= fAbs(x[i].v.im); in sumUpCplxPow2()
180 maxVal |= fAbs(x[i][j].v.re); in sumUpCplxPow2Dim2()
181 maxVal |= fAbs(x[i][j].v.im); in sumUpCplxPow2Dim2()
405 maxVal |= fAbs(x[i][j].v.re); in FDKcalcPbScaleFactor()
406 maxVal |= fAbs(x[i][j].v.im); in FDKcalcPbScaleFactor()
421 maxVal |= fAbs(x[i]); in FDKcalcScaleFactor()
427 maxVal |= fAbs(y[i]); in FDKcalcScaleFactor()
443 maxVal |= fAbs(x[qs].v.re); in FDKcalcScaleFactorDPK()
444 maxVal |= fAbs(x[qs].v.im); in FDKcalcScaleFactorDPK()
Dsacenc_nlc_enc.cpp700 lav_fp[0] = FDKmax(lav_fp[0], fAbs(pair_vec[i][0])); in calc_huff_bits()
701 lav_fp[0] = FDKmax(lav_fp[0], fAbs(pair_vec[i][1])); in calc_huff_bits()
731 lav_fp[1] = FDKmax(lav_fp[1], fAbs(pair_vec[i + 1][0])); in calc_huff_bits()
732 lav_fp[1] = FDKmax(lav_fp[1], fAbs(pair_vec[i + 1][1])); in calc_huff_bits()
Dsacenc_onsetdetect.cpp329 maxVal |= fAbs(envs[i]); in fdk_sacenc_onsetDetect_Apply()
/external/aac/libSACdec/src/
Dsac_reshapeBBEnv.cpp249 maxVal |= fAbs(pReal[qs]); in getMaxValDmx()
250 maxVal |= fAbs(pImag[qs]); in getMaxValDmx()
253 maxVal |= fAbs(pReal[qs]); in getMaxValDmx()
273 maxVal |= fAbs(pReal[qs]); in getMaxValDryWet()
275 maxVal |= fAbs(pImag[qs]); in getMaxValDryWet()
279 maxVal |= fAbs(pReal[qs]); in getMaxValDryWet()
Dsac_process.cpp510 maxVal = fAbs(iReal0) | fAbs(iImag0); in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding()
511 maxVal |= fAbs(iReal1); in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding()
555 maxVal = fAbs(iReal0) | fAbs(iImag0); in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding()
556 maxVal |= fAbs(iReal1); in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding()
/external/aac/libFDK/include/
Dcommon_fix.h275 FDK_INLINE FIXP_DBL fAbs(FIXP_DBL x) { return fixabs_D(x); } in fAbs() function
276 FDK_INLINE FIXP_SGL fAbs(FIXP_SGL x) { return fixabs_S(x); } in fAbs() function
279 FDK_INLINE INT fAbs(INT x) { return fixabs_I(x); } in fAbs() function
305 #define fixp_abs(x) fAbs(x)
DFDK_trigFcts.h180 s = fAbs(s); in fixp_sin_cos_residual_inline()
/external/aac/libAACenc/src/
Dquantize.cpp327 if (fAbs(quantSpectrum[i]) > MAX_QUANT) { in FDKaacEnc_calcSfbDist()
373 if (fAbs(quantSpectrum[i]) > MAX_QUANT) { in FDKaacEnc_calcSfbQuantEnergyAndDist()
Dintensity.cpp441 if (fAbs(channelCorr[sfb + sfboffs]) > in FDKaacEnc_prepareIntensityDecision()
467 if (fAbs(channelCorr[sfb + sfboffs]) >= isParams->corr_thresh) { in FDKaacEnc_prepareIntensityDecision()
544 if (fAbs(isScaleLast - realIsScale[sfboffs + sfb]) < in FDKaacEnc_finalizeIntensityDecision()
Dsf_estim.cpp1128 fMax(fMax(fAbs(qcOutChannel->mdctSpectrum[j + 0]), in FDKaacEnc_EstimateScaleFactorsChannel()
1129 fAbs(qcOutChannel->mdctSpectrum[j + 1])), in FDKaacEnc_EstimateScaleFactorsChannel()
1130 fMax(fAbs(qcOutChannel->mdctSpectrum[j + 2]), in FDKaacEnc_EstimateScaleFactorsChannel()
1131 fAbs(qcOutChannel->mdctSpectrum[j + 3])))); in FDKaacEnc_EstimateScaleFactorsChannel()
Daacenc_tns.cpp912 sumSqrCoef += fAbs(tnsInfo->coef[subBlockNumber][HIFILT][i] - in FDKaacEnc_TnsDetect()
922 if (fAbs(tnsInfo->coef[subBlockNumber][HIFILT][i]) > 1) { in FDKaacEnc_TnsDetect()
995 absDiff = fAbs(tnsInfoDest->coef[w][HIFILT][i] - in FDKaacEnc_TnsSync()
Dmetadata_compressor.cpp409 maxSample = fMax(maxSample, (INT_PCM)fAbs(pSamples[c])); in findPeakLevels()
Dadj_thr.cpp1021 CalcLdData(fAbs(scaleValue(sfbThrExp, minScale) + in FDKaacEnc_reduceThresholdsCBR()
/external/aac/libPCMutils/src/
Dlimiter.cpp242 tmp2 = fAbs(tmp2); in pcmLimiter_Apply()
Dpcmdmx_lib.cpp437 spkrPos.y = /* 1x */ PCMDMX_SPKR_POS_Y_SPREAD + (SCHAR)fAbs(offset) - 1; in getSpeakerPos()
/external/aac/libAACdec/src/
Dblock.cpp139 if (fAbs(q) != 16) return (q); in CBlock_GetEscape()
445 FIXP_DBL value = fAbs(signedValue); in InverseQuantizeBand()
Daacdec_hcr.cpp544 abs_qsc = fAbs(qsc); in HcrReorderQuantizedSpectralCoefficients()
/external/aac/libMpegTPDec/src/
Dtpdec_asc.cpp1480 UINT const nBits = fAbs(configSize_bits); in StoreConfigAsBitstream()
1968 asc->m_sc.m_usacConfig.UsacConfigBits = fAbs(configSize_bits); in UsacConfig_Parse()
2246 self->configBits = fAbs(configSize_bits); in AudioSpecificConfig_Parse()
/external/aac/libSBRenc/src/
Dtran_det.cpp221 delta = (FIXP_DBL)fAbs(delta); in spectralChange()
/external/aac/libSBRdec/src/
Dhbe.cpp678 ((INT)fMultDiv2((FIXP_SGL)fAbs(exponent), (FIXP_SGL)0x5556)) >> 16; in invCubeRootNorm2()
/external/aac/libDRCdec/src/
DdrcDec_selectionProcess.cpp1472 val = fAbs(drcFeatureRequest.dynamicRange.requestValue - peakToAverage); in _selectDynamicRange()