Home
last modified time | relevance | path

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

/external/aac/libFDK/src/
Dautocorr2nd.cpp164 (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5))) - in autoCorr2nd_real()
176 mScale = CountLeadingBits(fAbs(ac->det)); in autoCorr2nd_real()
265 CntLeadingZeros((accu0 | accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | in autoCorr2nd_cplx()
266 fAbs(accu5) | fAbs(accu6) | fAbs(accu7) | fAbs(accu8))) - in autoCorr2nd_cplx()
284 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()
666 leadingBits = CountLeadingBits(fAbs(exp_m)); in fPow()
690 leadingBits = CountLeadingBits(fAbs(exp_m)); in fLdPow()
732 for (i = 1; i < fAbs(exp); i++) { in fPowInt()
DFDK_lpc.cpp381 maxVal = fMax(maxVal, fAbs(workBuffer[i])); in CLpc_ParcorToLpc()
419 maxVal = fMax(maxVal, fAbs(workBuffer[i])); in CLpc_ParcorToLpc()
DFDK_decorrelate.cpp1227 maxDirRevNrg |= fAbs(tmp1); in DuckerApply()
1228 maxDirRevNrg |= fAbs(tmp2); in DuckerApply()
1353 maxDirRevNrg |= fAbs(self->peakDiff[pb]); in DuckerApplyPS()
1354 maxDirRevNrg |= fAbs(self->SmoothDirRevNrg[pb]); in DuckerApplyPS()
/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/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.cpp1019 CalcLdData(fAbs(scaleValue(sfbThrExp, minScale) + in FDKaacEnc_reduceThresholdsCBR()
/external/aac/libSACdec/src/
Dsac_process.cpp517 maxVal = fAbs(iReal0) | fAbs(iImag0); in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding()
518 maxVal |= fAbs(iReal1); in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding()
561 maxVal = fAbs(iReal0) | fAbs(iImag0); in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding()
562 maxVal |= fAbs(iReal1); in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding()
/external/aac/libPCMutils/src/
Dlimiter.cpp213 (tmp2 == (FIXP_DBL)MINVAL_DBL) ? (FIXP_DBL)MAXVAL_DBL : 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.cpp141 if (fAbs(q) != 16) return (q); in CBlock_GetEscape()
447 FIXP_DBL value = fAbs(signedValue); in InverseQuantizeBand()
Daacdec_hcr.cpp544 abs_qsc = fAbs(qsc); in HcrReorderQuantizedSpectralCoefficients()
/external/aac/libMpegTPDec/src/
Dtpdec_asc.cpp1649 UINT const nBits = fAbs(configSize_bits); in StoreConfigAsBitstream()
2194 asc->m_sc.m_usacConfig.UsacConfigBits = fAbs(configSize_bits); in UsacConfig_Parse()
2499 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.cpp1537 val = fAbs(drcFeatureRequest.dynamicRange.requestValue - peakToAverage); in _selectDynamicRange()