Home
last modified time | relevance | path

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

12

/external/aac/libAACenc/src/
Dbit_cnt.cpp147 t0 = fixp_abs(t0); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
149 t1 = fixp_abs(t1); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
151 t2 = fixp_abs(t2); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
153 t3 = fixp_abs(t3); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
212 t0 = fixp_abs(t0); in FDKaacEnc_count3_4_5_6_7_8_9_10_11()
214 t1 = fixp_abs(t1); in FDKaacEnc_count3_4_5_6_7_8_9_10_11()
216 t2 = fixp_abs(t2); in FDKaacEnc_count3_4_5_6_7_8_9_10_11()
218 t3 = fixp_abs(t3); in FDKaacEnc_count3_4_5_6_7_8_9_10_11()
276 t0 = fixp_abs(t0); in FDKaacEnc_count5_6_7_8_9_10_11()
278 t1 = fixp_abs(t1); in FDKaacEnc_count5_6_7_8_9_10_11()
[all …]
Dquantize.cpp334 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i] >> 1)); in FDKaacEnc_calcSfbDist()
386 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i] >> 1)); in FDKaacEnc_calcSfbQuantEnergyAndDist()
Dmetadata_compressor.cpp333 const int headroom1 = fNormz(fixp_abs(value1)) - 1; in fixpAdd()
334 const int headroom2 = fNormz(fixp_abs(*pValue2)) - 1; in fixpAdd()
458 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
499 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
518 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
573 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
615 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
728 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
835 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
986 peak[1] = fixMax(peak[1], fixp_abs(tmp)); in findPeakLevels()
Ddyn_bits.cpp525 if ((fixp_abs(scalefacGain[k] - lastValScf)) <= in FDKaacEnc_scfCount()
551 if (fixp_abs(scalefacGain[n] - lastValScf) <= in FDKaacEnc_scfCount()
Daacenc_pns.cpp467 accu = fixp_abs(accu); in FDKaacEnc_PreProcessPnsChannelPair()
Dband_nrg.cpp124 tmp = fixp_abs(mdctSpectrum[j]); in FDKaacEnc_CalcSfbMaxScaleSpec()
Dintensity.cpp204 FIXP_DBL tmp = fixp_abs((FIXP_DBL)mdctSpectrum[i]); in calcSfbMaxScale()
Daacenc_tns.cpp528 maxVal = fixMax(maxVal, fixp_abs(src[i])); in FDKaacEnc_ScaleUpSpectrum()
Dsf_estim.cpp148 sqrtFixp(fixp_abs(psyOutChan->mdctSpectrum[j])) >> FORM_FAC_SHIFT; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
Dqc_main.cpp1232 INT tmp = fixp_abs(quantSpectrum[line]); in FDKaacEnc_calcMaxValueInSfb()
/external/aac/libSBRenc/src/
Dps_main.cpp330 fixMax(fixp_abs(tmpLeftReal), fixp_abs(tmpLeftImag)), in DownmixPSQmfData()
331 fixMax(fixp_abs(tmpRightReal), fixp_abs(tmpRightImag)))) - in DownmixPSQmfData()
348 fixp_abs(stereoScaleFactor + fMult(tmpLeftReal, tmpRightReal) + in DownmixPSQmfData()
577 tmp = fixMax(tmp, (FIXP_DBL)fixp_abs(hybridData[col][0][0][i])); in psFindBestScaling()
578 tmp = fixMax(tmp, (FIXP_DBL)fixp_abs(hybridData[col][0][1][i])); in psFindBestScaling()
579 tmp = fixMax(tmp, (FIXP_DBL)fixp_abs(hybridData[col][1][0][i])); in psFindBestScaling()
580 tmp = fixMax(tmp, (FIXP_DBL)fixp_abs(hybridData[col][1][1][i])); in psFindBestScaling()
Dps_encode.cpp221 if (fixp_abs((input[band] >> 1) - (quantTable[idx + 1] >> 1)) > in quantizeCoef()
222 fixp_abs((input[band] >> 1) - (quantTable[idx] >> 1))) { in quantizeCoef()
226 quantErr += (fixp_abs(input[band] - quantTable[idx]) >> in quantizeCoef()
364 loudnDiff += fixp_abs(iidIdxCoarse[env][band]); in processIidData()
530 diff = fixp_abs(psData->iidIdx[env][b] - psData->iidIdxLast[b]); in similarIid()
560 diff = fixp_abs(psData->iccIdx[env][b] - psData->iccIdxLast[b]); in similarIcc()
706 fixMax(fixp_abs(pwrCr[env][i]), fixp_abs(pwrCi[env][i]))); in calculateICC()
Dton_corr.cpp270 num = fixp_abs(num); in FDKsbrEnc_CalculateTonalityQuotas()
274 denom = fixp_abs(denom); in FDKsbrEnc_CalculateTonalityQuotas()
597 if (fixp_abs(targetStopBand - goalSb) < 3) { in resetPatch()
Dmh_det.cpp503 fixp_abs(pFrameInfo->borders[0] - in isDetectionOfNewToneAllowed()
956 tmp = fixp_abs( in calculateCompVector()
978 tmp = fixp_abs( in calculateCompVector()
Dbit_sbr.cpp875 FDK_ASSERT(fixp_abs(delta) <= sbrEnvData->codeBookScfLavBalance); in writeEnvelopeData()
877 FDK_ASSERT(fixp_abs(delta) <= sbrEnvData->codeBookScfLav); in writeEnvelopeData()
Denv_est.cpp453 val = fixp_abs((nrgVal - (INT)panTable[ampRes][i])); in mapPanorama()
1001 fixp_abs( in calculateSbrEnvelope()
Dsbr_encoder.cpp916 newDiff = fixp_abs((INT)pVKMaster[band] - cutoffSb); in FDKsbrEnc_SbrGetXOverFreq()
/external/aac/libSBRdec/src/
Dlpp_tran.cpp507 absDet = fixp_abs(ac.det); in lppTransposer()
517 absTmp = fixp_abs(tmp); in lppTransposer()
543 absTmp = fixp_abs(tmp); in lppTransposer()
586 absTmp = fixp_abs(tmp); in lppTransposer()
596 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposer()
607 absTmp = fixp_abs(tmp); in lppTransposer()
616 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposer()
648 if (fixp_abs(ac.r01r) >= fixp_abs(ac.r11r)) { in lppTransposer()
659 fDivNorm(fixp_abs(ac.r01r), fixp_abs(ac.r11r), &scale); in lppTransposer()
1047 absDet = fixp_abs(ac.det); in lppTransposerHBE()
[all …]
/external/aac/libSACdec/src/
Dsac_smoothing.cpp274 if (fixp_abs(tmp) > fMult((quantCoarse ? FL2FXCONST_DBL(50.f / 180.f) in SpatialDecSmoothOPD()
/external/aac/libSACenc/src/
Dsacenc_dmx_tdom_enh.cpp229 const int headroom1 = fNormz(fixp_abs(value1)) - 1; in fixpAddNorm()
230 const int headroom2 = fNormz(fixp_abs(*pValue2)) - 1; in fixpAddNorm()
/external/aac/libAACdec/src/
Daacdec_hcr.cpp629 if (fixp_abs(locMax) > (FIXP_DBL)MAX_QUANTIZED_VALUE) { in HcrReorderQuantizedSpectralCoefficients()
1174 if (fixp_abs(pQuantizedSpectralCoefficients in DecodePCWs()
1190 if (fixp_abs(pQuantizedSpectralCoefficients in DecodePCWs()
Daacdec_hcrs.cpp1211 if (fixp_abs(pResultBase[iQSC++]) == (FIXP_DBL)ESCAPE_VALUE) { in Hcr_State_BODY_SIGN_ESC__SIGN()
1218 if (fixp_abs(pResultBase[iQSC]) == (FIXP_DBL)ESCAPE_VALUE) { in Hcr_State_BODY_SIGN_ESC__SIGN()
Dblock.cpp481 locMax = fMax(fixp_abs(pSpectralCoefficient[i]), locMax); in maxabs_D()
543 if (fixp_abs(locMax) > (FIXP_DBL)MAX_QUANTIZED_VALUE) { in CBlock_InverseQuantizeSpectralData()
Dconceal.cpp1291 FIXP_SGL diff = fixp_abs((pFactor[i] >> 1) - referenceVal); in findEquiFadeFrame()
/external/aac/libFDK/include/
Dcommon_fix.h305 #define fixp_abs(x) fAbs(x) macro

12