Home
last modified time | relevance | path

Searched refs:CntLeadingZeros (Results 1 – 25 of 28) sorted by relevance

12

/external/aac/libSBRdec/src/
Dtranscendent.h239 preShift = CntLeadingZeros(FX_SGL2FX_DBL(b_m)); in FDK_divide_MantExp()
276 postShift = CntLeadingZeros(ratio_m) - 1; in FDK_divide_MantExp()
295 preShift = CntLeadingZeros(b_m); in FDK_divide_MantExp()
332 postShift = CntLeadingZeros(ratio_m) - 1; in FDK_divide_MantExp()
Denv_calc.cpp564 int preShift = 1 - CntLeadingZeros(maxVal); in apply_inter_tes()
602 int preShift = 1 - CntLeadingZeros(maxVal); in apply_inter_tes()
1839 int reserve = CntLeadingZeros(fixp_abs(filtBuffer[band])) - 1; in equalizeFiltBufferExp()
1952 (FIXP_DBL)(1 << (DFRACT_BITS - 1 - CntLeadingZeros(maxVal))); in maxSubbandSample()
2045 preShift = CntLeadingZeros(maxVal) - 1; in calcNrgPerSubband()
2151 preShift = CntLeadingZeros(maxVal) - 1; in calcNrgPerSfb()
Dsbr_dec.cpp382 reserve = fixMax(0, CntLeadingZeros(maxVal) - 1); in sbr_dec()
1189 reserve = ((LONG)maxVal != 0 ? CntLeadingZeros(maxVal) - 1 : 0); in resetSbrDec()
DHFgen_preFlat.cpp907 reserve = fixMax(0, CntLeadingZeros(maxVal) - 2); in sbrDecoder_calculateGainVec()
/external/aac/libSACdec/src/
Dsac_reshapeBBEnv.cpp256 clz = fixMax(0, CntLeadingZeros(maxVal) - 1); in getMaxValDmx()
282 clz = fixMax(0, CntLeadingZeros(maxVal) - 1); in getMaxValDryWet()
472 pPartNrgPrev2SF[0] = fixMax(0, CntLeadingZeros(maxVal) - 1); in extractBBEnv()
484 clz = fixMax(0, CntLeadingZeros(frameNrg) - 1); in extractBBEnv()
495 INT sn = fixMax(0, CntLeadingZeros(slotNrg[pb]) - 1); in extractBBEnv()
499 s = fixMax(0, CntLeadingZeros(res) - 1); in extractBBEnv()
538 clz = fixMax(0, CntLeadingZeros(normNrg) - 1); in extractBBEnv()
545 se = fixMax(0, CntLeadingZeros(env) - 1); in extractBBEnv()
640 sc = fixMax(0, CntLeadingZeros(slotAmp_wet) - 1); in SpatialDecReshapeBBEnv()
670 sc = fixMax(0, CntLeadingZeros(dryFac) - 1); in SpatialDecReshapeBBEnv()
Dsac_process.cpp513 s = fMax(CntLeadingZeros(maxVal) - 1, 0); in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding()
558 s = fMax(CntLeadingZeros(maxVal) - 1, 0); in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding()
/external/aac/libAACenc/src/
Dchaosmeasure.cpp145 INT leadingBits = CntLeadingZeros(center_0) - 1; in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
156 INT leadingBits = CntLeadingZeros(center_1) - 1; in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
Dintensity.cpp208 : CntLeadingZeros(maxSpc) - 1; in calcSfbMaxScale()
298 sL = fixMax(0, (CntLeadingZeros(sfbEnergyLeft[sfb + sfboffs]) - 1)); in FDKaacEnc_prepareIntensityDecision()
299 sR = fixMax(0, (CntLeadingZeros(sfbEnergyRight[sfb + sfboffs]) - 1)); in FDKaacEnc_prepareIntensityDecision()
413 sL = fixMax(0, (CntLeadingZeros(square_l) - 1)); in FDKaacEnc_prepareIntensityDecision()
414 sR = fixMax(0, (CntLeadingZeros(square_r) - 1)); in FDKaacEnc_prepareIntensityDecision()
Dquantize.cpp136 INT accuShift = CntLeadingZeros(accu) - 1; /* CountLeadingBits() is not in FDKaacEnc_quantizeLines()
152 INT accuShift = CntLeadingZeros(accu) - 1; /* CountLeadingBits() is not in FDKaacEnc_quantizeLines()
Dband_nrg.cpp127 j = CntLeadingZeros(maxSpc) - 1; in FDKaacEnc_CalcSfbMaxScaleSpec()
/external/aac/libFDK/src/
Dautocorr2nd.cpp164 mScale = CntLeadingZeros( in autoCorr2nd_real()
266 CntLeadingZeros((accu0 | accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | in autoCorr2nd_cplx()
285 mScale = CntLeadingZeros(fAbs(ac->det)) - 1; in autoCorr2nd_cplx()
DFDK_decorrelate.cpp1080 clz = fixMax(0, CntLeadingZeros(maxVal) - DUCKER_HEADROOM_BITS); in DuckerCalcEnergy()
1131 clz = fixMax(0, CntLeadingZeros(maxVal) - DUCKER_HEADROOM_BITS); in DuckerCalcEnergy()
1317 (SCHAR)fixMax(0, CntLeadingZeros(maxDirRevNrg) - 1); in DuckerApply()
1452 (SCHAR)fixMax(0, CntLeadingZeros(maxDirRevNrg) - 1); in DuckerApplyPS()
/external/aac/libSACenc/src/
Dsacenc_vectorfunctions.cpp134 cs = inScaleFactor - fixMax(0, CntLeadingZeros(maxVal) - 1); in sumUpCplxPow2()
184 cs = inScaleFactor - fixMax(0, CntLeadingZeros(maxVal) - 1); in sumUpCplxPow2Dim2()
409 outScaleFactor[pb] = -fixMax(0, CntLeadingZeros(maxVal) - 1); in FDKcalcPbScaleFactor()
447 clz = -fixMax(0, CntLeadingZeros(maxVal) - 1); in FDKcalcScaleFactorDPK()
Dsacenc_staticgain.cpp280 s = fixMax(0, CntLeadingZeros(fPreGainFactor__FDK) - 1); in fdk_sacenc_staticGain_Init()
Dsacenc_onsetdetect.cpp332 int s = fixMax(0, CntLeadingZeros(maxVal) - 1); in fdk_sacenc_onsetDetect_Apply()
/external/aac/libFDK/src/mips/
Dscale_mips.cpp129 return fixMax((INT)0, (CntLeadingZeros(maxVal) - 1)); in getScalefactor()
/external/aac/libAACdec/src/
Dconceal.cpp1147 CntLeadingZeros(pSfbOffset[sfb + 1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1152 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
1164 CntLeadingZeros(pSfbOffset[sfb + 1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1170 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
1187 CntLeadingZeros(pSfbOffset[sfb + 1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1192 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
1204 CntLeadingZeros(pSfbOffset[sfb + 1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1209 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
Dblock.h286 return CntLeadingZeros(value) - scale - 2; in GetScaleFromValue()
Dblock.cpp448 UINT freeBits = CntLeadingZeros(value); in InverseQuantizeBand()
589 scale = CntLeadingZeros(locMax) - scale - 2; in CBlock_InverseQuantizeSpectralData()
Dusacdec_lpd.cpp214 s1 = CntLeadingZeros(ener) - 1; in bass_pf_1sf_delay()
215 s2 = CntLeadingZeros(tmp) - 1; in bass_pf_1sf_delay()
329 s1 = CntLeadingZeros(gain) - 1; in bass_pf_1sf_delay()
Daacdec_drc.cpp989 res = CntLeadingZeros(max_mantissa) - 1; in aacDecoder_drcApply()
/external/aac/libDRCdec/src/
DdrcGainDec_process.cpp181 fMin(CntLeadingZeros(gainRight), CntLeadingZeros(gainLeft)) - 1, 8); in _interpolateDrcGain()
507 n_min = fMin(CntLeadingZeros(gainSb) - 1, n_min); in processDrcSubband()
DdrcDec_gainDecoder.cpp364 INT n_min = fMin(fMin(CntLeadingZeros(prevChannelGain[c]), in drcDec_GainDecoder_SetChannelGains()
365 CntLeadingZeros(hGainDec->channelGain[c])) - in drcDec_GainDecoder_SetChannelGains()
/external/aac/libFDK/include/
Dcommon_fix.h308 #define CntLeadingZeros(x) fixnormz_D(x) macro
/external/aac/libSBRenc/src/
Dps_main.cpp329 0, CntLeadingZeros(fixMax( in DownmixPSQmfData()

12