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.cpp1248 INT tmp = fixp_abs(quantSpectrum[line]); in FDKaacEnc_calcMaxValueInSfb()
/external/aac/libSBRdec/src/
Dlpp_tran.cpp491 absDet = fixp_abs(ac.det); in lppTransposer()
501 absTmp = fixp_abs(tmp); in lppTransposer()
527 absTmp = fixp_abs(tmp); in lppTransposer()
570 absTmp = fixp_abs(tmp); in lppTransposer()
580 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposer()
591 absTmp = fixp_abs(tmp); in lppTransposer()
600 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposer()
632 if (fixp_abs(ac.r01r) >= fixp_abs(ac.r11r)) { in lppTransposer()
643 fDivNorm(fixp_abs(ac.r01r), fixp_abs(ac.r11r), &scale); in lppTransposer()
1033 absDet = fixp_abs(ac.det); in lppTransposerHBE()
[all …]
/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/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()
Dblock.cpp479 locMax = fMax(fixp_abs(pSpectralCoefficient[i]), locMax); in maxabs_D()
541 if (fixp_abs(locMax) > (FIXP_DBL)MAX_QUANTIZED_VALUE) { in CBlock_InverseQuantizeSpectralData()
Daacdec_hcrs.cpp1206 if (fixp_abs(pResultBase[iQSC++]) == (FIXP_DBL)ESCAPE_VALUE) { in Hcr_State_BODY_SIGN_ESC__SIGN()
1213 if (fixp_abs(pResultBase[iQSC]) == (FIXP_DBL)ESCAPE_VALUE) { in Hcr_State_BODY_SIGN_ESC__SIGN()
Dconceal.cpp1294 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