/external/aac/libAACenc/src/ |
D | bit_cnt.cpp | 140 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 …]
|
D | quantize.cpp | 320 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i]>>1)); in FDKaacEnc_calcSfbDist() 369 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i]>>1)); in FDKaacEnc_calcSfbQuantEnergyAndDist()
|
D | metadata_compressor.cpp | 370 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()
|
D | dyn_bits.cpp | 598 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()
|
D | band_nrg.cpp | 112 tmp = fixp_abs(mdctSpectrum[j]); in FDKaacEnc_CalcSfbMaxScaleSpec()
|
D | aacenc_pns.cpp | 516 accu = fixp_abs(accu); in FDKaacEnc_PreProcessPnsChannelPair()
|
D | aacenc_tns.cpp | 519 maxVal = fixMax(maxVal,fixp_abs(src[i])); in FDKaacEnc_ScaleUpSpectrum() 1271 maxVal = fixMax(maxVal,(FIXP_DBL)fixp_abs(LpcCoeff[i])); in FDKaacEnc_ParcorToLpc()
|
D | sf_estim.cpp | 133 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()
|
D | intensity.cpp | 184 FIXP_DBL tmp = fixp_abs((FIXP_DBL)mdctSpectrum[i]); in calcSfbMaxScale()
|
D | qc_main.cpp | 1303 INT tmp = fixp_abs(quantSpectrum[line]); in FDKaacEnc_calcMaxValueInSfb()
|
/external/aac/libSBRenc/src/ |
D | ps_main.cpp | 337 …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()
|
D | ps_encode.cpp | 225 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()
|
D | ton_corr.cpp | 245 num = fixp_abs(num); in FDKsbrEnc_CalculateTonalityQuotas() 248 denom = fixp_abs(denom); in FDKsbrEnc_CalculateTonalityQuotas() 578 if( fixp_abs(targetStopBand - goalSb) < 3) { in resetPatch()
|
D | mh_det.cpp | 505 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()
|
D | bit_sbr.cpp | 897 FDK_ASSERT (fixp_abs (delta) <= sbrEnvData->codeBookScfLavBalance); in writeEnvelopeData() 899 FDK_ASSERT (fixp_abs (delta) <= sbrEnvData->codeBookScfLav); in writeEnvelopeData()
|
D | tran_det.cpp | 157 delta = fixp_abs(fMult(tmp2, FL2FXCONST_DBL(0.6931471806f))); in spectralChange()
|
D | sbr_encoder.cpp | 757 newDiff = fixp_abs((INT)pVKMaster[band] - cutoffSb); in FDKsbrEnc_SbrGetXOverFreq() 1863 *delay += fixp_abs(delayDiff); in sbrEncoder_Init()
|
D | env_est.cpp | 320 val = fixp_abs ((nrgVal - (INT)panTable[ampRes][i])); in mapPanorama() 850 sfb_nrgLeft[m] -= (ca * fixp_abs((INT)h_sbr->sbrExtractEnvelope.envelopeCompensation[j])); in calculateSbrEnvelope()
|
/external/aac/libSBRdec/src/ |
D | lpp_tran.cpp | 408 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/ |
D | block.cpp | 469 locMax = fMax(fixp_abs(pSpectralCoefficient[i]), locMax); in CBlock_InverseQuantizeSpectralData() 473 if (fixp_abs(locMax) > (FIXP_DBL)MAX_QUANTIZED_VALUE) { in CBlock_InverseQuantizeSpectralData()
|
D | aacdec_tns.cpp | 238 maxVal = fixMax(maxVal,fixp_abs(spec[i])); in CTns_Filter()
|
D | aacdec_hcr.cpp | 677 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()
|
D | aacdec_hcrs.cpp | 1090 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()
|
D | conceal.cpp | 1474 FIXP_SGL diff = fixp_abs((pFactor[i]>>1) - referenceVal); in findEquiFadeFrame()
|
/external/aac/libFDK/include/ |
D | common_fix.h | 254 #define fixp_abs(x) fAbs(x) macro
|