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.cpp140 t0=fixp_abs(t0); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
141 t1=fixp_abs(t1); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
142 t2=fixp_abs(t2); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
143 t3=fixp_abs(t3); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
211 t0=fixp_abs(t0); in FDKaacEnc_count3_4_5_6_7_8_9_10_11()
212 t1=fixp_abs(t1); in FDKaacEnc_count3_4_5_6_7_8_9_10_11()
213 t2=fixp_abs(t2); in FDKaacEnc_count3_4_5_6_7_8_9_10_11()
214 t3=fixp_abs(t3); in FDKaacEnc_count3_4_5_6_7_8_9_10_11()
277 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.cpp323 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i]>>1)); in FDKaacEnc_calcSfbDist()
379 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i]>>1)); in FDKaacEnc_calcSfbQuantEnergyAndDist()
Dmetadata_compressor.cpp370 const int headroom1 = fNormz(fixp_abs(value1))-1; in fixpAdd()
371 const int headroom2 = fNormz(fixp_abs(*pValue2))-1; in fixpAdd()
891 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in FDK_DRC_Generator_Calc()
904 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in FDK_DRC_Generator_Calc()
918 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in FDK_DRC_Generator_Calc()
929 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in FDK_DRC_Generator_Calc()
948 peak[1] = fixMax(peak[1], fixp_abs(tmp)); in FDK_DRC_Generator_Calc()
Ddyn_bits.cpp598 if ( (fixp_abs(scalefacGain[k] - lastValScf)) <= CODE_BOOK_SCF_LAV) in FDKaacEnc_scfCount()
625 if (fixp_abs(scalefacGain[n] - lastValScf) <= CODE_BOOK_SCF_LAV) in FDKaacEnc_scfCount()
Dband_nrg.cpp112 tmp = fixp_abs(mdctSpectrum[j]); in FDKaacEnc_CalcSfbMaxScaleSpec()
Daacenc_pns.cpp516 accu = fixp_abs(accu); in FDKaacEnc_PreProcessPnsChannelPair()
Dsf_estim.cpp133 formFactor += sqrtFixp(fixp_abs(psyOutChan->mdctSpectrum[j]))>>FORM_FAC_SHIFT; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
1135 absSpec = fixp_abs(qcOutChannel->mdctSpectrum[j]); in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
Daacenc_tns.cpp519 maxVal = fixMax(maxVal,fixp_abs(src[i])); in FDKaacEnc_ScaleUpSpectrum()
1274 maxVal = fixMax(maxVal,(FIXP_DBL)fixp_abs(LpcCoeff[i])); in FDKaacEnc_ParcorToLpc()
Dintensity.cpp184 FIXP_DBL tmp = fixp_abs((FIXP_DBL)mdctSpectrum[i]); in calcSfbMaxScale()
Dqc_main.cpp1303 INT tmp = fixp_abs(quantSpectrum[line]); in FDKaacEnc_calcMaxValueInSfb()
/external/aac/libSBRenc/src/
Dps_main.cpp337 …x(0,CntLeadingZeros( fixMax(fixMax(fixp_abs(tmpLeftReal),fixp_abs(tmpLeftImag)),fixMax(fixp_abs(tm… in DownmixPSQmfData()
349 …tmpScaleFactor = fixp_abs(stereoScaleFactor + fMult(tmpLeftReal,tmpRightReal) + fMult(tmpLeftIm… in DownmixPSQmfData()
578 tmp = fixMax(tmp, (FIXP_QMF)fixp_abs(hybridData[col][0][0][i])); in psFindBestScaling()
579 tmp = fixMax(tmp, (FIXP_QMF)fixp_abs(hybridData[col][0][1][i])); in psFindBestScaling()
580 tmp = fixMax(tmp, (FIXP_QMF)fixp_abs(hybridData[col][1][0][i])); in psFindBestScaling()
581 tmp = fixMax(tmp, (FIXP_QMF)fixp_abs(hybridData[col][1][1][i])); in psFindBestScaling()
589 tmp = fixMax(tmp, (FIXP_QMF)fixp_abs(hybridData[col][0][0][i])); in psFindBestScaling()
590 tmp = fixMax(tmp, (FIXP_QMF)fixp_abs(hybridData[col][0][1][i])); in psFindBestScaling()
591 tmp = fixMax(tmp, (FIXP_QMF)fixp_abs(hybridData[col][1][0][i])); in psFindBestScaling()
592 tmp = fixMax(tmp, (FIXP_QMF)fixp_abs(hybridData[col][1][1][i])); in psFindBestScaling()
Dps_encode.cpp225 if( fixp_abs((input[band]>>1)-(quantTable[idx+1]>>1)) > in quantizeCoef()
226 fixp_abs((input[band]>>1)-(quantTable[idx]>>1)) ) in quantizeCoef()
231 …quantErr += (fixp_abs(input[band]-quantTable[idx])>>PS_QUANT_SCALE); /* don't scale before … in quantizeCoef()
374 loudnDiff += fixp_abs(iidIdxCoarse[env][band]); in processIidData()
531 diff = fixp_abs(psData->iidIdx[env][b] - psData->iidIdxLast[b]); in similarIid()
563 diff = fixp_abs(psData->iccIdx[env][b] - psData->iccIdxLast[b]); in similarIcc()
701 sc1 = CountLeadingBits( fixMax(fixp_abs(pwrCr[env][i]),fixp_abs(pwrCi[env][i])) ) ; in calculateICC()
Dton_corr.cpp245 num = fixp_abs(num); in FDKsbrEnc_CalculateTonalityQuotas()
248 denom = fixp_abs(denom); in FDKsbrEnc_CalculateTonalityQuotas()
578 if( fixp_abs(targetStopBand - goalSb) < 3) { in resetPatch()
Dmh_det.cpp505 fixp_abs(pFrameInfo->borders[0] - (prevTransientPos + transientPosOffset - in isDetectionOfNewToneAllowed()
999 … tmp = fixp_abs((FIXP_DBL)CalcLdData(pTonalityMatrix[maxPosT][maxPosF - 1]) + RELAXATION_LD64); in calculateCompVector()
1018 … tmp = fixp_abs((FIXP_DBL)CalcLdData(pTonalityMatrix[maxPosT][maxPosF + 1]) + RELAXATION_LD64); in calculateCompVector()
Dbit_sbr.cpp897 FDK_ASSERT (fixp_abs (delta) <= sbrEnvData->codeBookScfLavBalance); in writeEnvelopeData()
899 FDK_ASSERT (fixp_abs (delta) <= sbrEnvData->codeBookScfLav); in writeEnvelopeData()
Dtran_det.cpp157 delta = fixp_abs(fMult(tmp2, FL2FXCONST_DBL(0.6931471806f))); in spectralChange()
Dsbr_encoder.cpp757 newDiff = fixp_abs((INT)pVKMaster[band] - cutoffSb); in FDKsbrEnc_SbrGetXOverFreq()
1863 *delay += fixp_abs(delayDiff); in sbrEncoder_Init()
Denv_est.cpp320 val = fixp_abs ((nrgVal - (INT)panTable[ampRes][i])); in mapPanorama()
856 sfb_nrgLeft[m] -= (ca * fixp_abs((INT)h_sbr->sbrExtractEnvelope.envelopeCompensation[j])); in calculateSbrEnvelope()
/external/aac/libSBRdec/src/
Dlpp_tran.cpp408 absDet = fixp_abs(ac.det); in lppTransposer()
418 absTmp = fixp_abs(tmp); in lppTransposer()
444 absTmp = fixp_abs(tmp); in lppTransposer()
487 absTmp = fixp_abs(tmp); in lppTransposer()
498 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposer()
510 absTmp = fixp_abs(tmp); in lppTransposer()
520 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposer()
556 if ( fixp_abs(ac.r01r) >= fixp_abs(ac.r11r) ) { in lppTransposer()
566 FIXP_DBL result = fDivNorm(fixp_abs(ac.r01r), fixp_abs(ac.r11r), &scale); in lppTransposer()
/external/aac/libAACdec/src/
Dblock.cpp469 locMax = fMax(fixp_abs(pSpectralCoefficient[i]), locMax); in CBlock_InverseQuantizeSpectralData()
473 if (fixp_abs(locMax) > (FIXP_DBL)MAX_QUANTIZED_VALUE) { in CBlock_InverseQuantizeSpectralData()
Daacdec_tns.cpp238 maxVal = fixMax(maxVal,fixp_abs(spec[i])); in CTns_Filter()
Daacdec_hcr.cpp677 if ( fixp_abs(locMax) > (FIXP_DBL)MAX_QUANTIZED_VALUE ) { in HcrReorderQuantizedSpectralCoefficients()
1222 …if ( fixp_abs(pQuantizedSpectralCoefficients[quantizedSpectralCoefficientsIdx]) == (FIXP_DBL)ESCAP… in DecodePCWs()
1235 …if ( fixp_abs(pQuantizedSpectralCoefficients[quantizedSpectralCoefficientsIdx]) == (FIXP_DBL)ESCAP… in DecodePCWs()
Daacdec_hcrs.cpp1090 if ( fixp_abs(pResultBase[iQSC++]) == (FIXP_DBL)ESCAPE_VALUE ) { in Hcr_State_BODY_SIGN_ESC__SIGN()
1097 if ( fixp_abs(pResultBase[iQSC]) == (FIXP_DBL)ESCAPE_VALUE ) { in Hcr_State_BODY_SIGN_ESC__SIGN()
Dconceal.cpp1474 FIXP_SGL diff = fixp_abs((pFactor[i]>>1) - referenceVal); in findEquiFadeFrame()
/external/aac/libFDK/include/
Dcommon_fix.h253 #define fixp_abs(x) fAbs(x) macro

12