Home
last modified time | relevance | path

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

/external/aac/libSBRdec/src/
Dtranscendent.h219 preShift = CntLeadingZeros(FX_SGL2FX_DBL(b_m)); in FDK_divide_MantExp()
257 postShift = CntLeadingZeros(ratio_m)-1; in FDK_divide_MantExp()
275 preShift = CntLeadingZeros(b_m); in FDK_divide_MantExp()
313 postShift = CntLeadingZeros(ratio_m)-1; in FDK_divide_MantExp()
Dsbr_dec.cpp401 reserve = fixMax(0,CntLeadingZeros(maxVal)-1) ; in sbr_dec()
982 reserve = CntLeadingZeros(maxVal)-1; in resetSbrDec()
Denv_calc.cpp1198 int reserve = CntLeadingZeros(fixp_abs(filtBuffer[band]))-1; in equalizeFiltBufferExp()
1389 preShift = CntLeadingZeros(maxVal)-1; in calcNrgPerSubband()
1493 preShift = CntLeadingZeros(maxVal)-1; in calcNrgPerSfb()
Dpsdec.cpp707 INT scale_left = fixMax(0, CntLeadingZeros(peakDiff) - 1); in deCorrelateSlotBased()
/external/aac/libFDK/src/mips/
Dscale.cpp115 return fixMax((INT)0,(CntLeadingZeros(maxVal) - 1)); in getScalefactor()
/external/aac/libAACdec/src/
Dconceal.cpp1337 int sfbScale = (sizeof(LONG)<<3) - CntLeadingZeros(pSfbOffset[sfb+1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1342 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
1352 int sfbScale = (sizeof(LONG)<<3) - CntLeadingZeros(pSfbOffset[sfb+1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1357 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
1371 int sfbScale = (sizeof(LONG)<<3) - CntLeadingZeros(pSfbOffset[sfb+1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1376 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
1386 int sfbScale = (sizeof(LONG)<<3) - CntLeadingZeros(pSfbOffset[sfb+1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1391 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
Daacdec_tns.cpp242 s = fixMax(CntLeadingZeros(maxVal)-6,0); in CTns_Filter()
244 s = fixMax(CntLeadingZeros(maxVal)-5,0); in CTns_Filter()
Dblock.h272 return CntLeadingZeros (value) - scale - 2 ; in GetScaleFromValue()
Daacdec_drc.cpp922 res = CntLeadingZeros(max_mantissa) - 1; in aacDecoder_drcApply()
Dblock.cpp403 UINT freeBits = CntLeadingZeros(value); in InverseQuantizeBand()
/external/aac/libAACenc/src/
Dintensity.cpp187 sfbMaxScale = (maxSpc==FL2FXCONST_DBL(0.0)) ? (DFRACT_BITS-2) : CntLeadingZeros(maxSpc)-1; in calcSfbMaxScale()
286 sL = fixMax(0,(CntLeadingZeros(sfbEnergyLeft[sfb + sfboffs])-1)); in FDKaacEnc_prepareIntensityDecision()
287 sR = fixMax(0,(CntLeadingZeros(sfbEnergyRight[sfb + sfboffs])-1)); in FDKaacEnc_prepareIntensityDecision()
371 sL = fixMax(0,(CntLeadingZeros(square_l)-1)); in FDKaacEnc_prepareIntensityDecision()
372 sR = fixMax(0,(CntLeadingZeros(square_r)-1)); in FDKaacEnc_prepareIntensityDecision()
Dchaosmeasure.cpp120 INT leadingBits = CntLeadingZeros(center)-1; in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
Dquantize.cpp123 …INT accuShift = CntLeadingZeros(accu) - 1; /* CountLeadingBits() is not necessary here since te… in FDKaacEnc_quantizeLines()
136 …INT accuShift = CntLeadingZeros(accu) - 1; /* CountLeadingBits() is not necessary here since te… in FDKaacEnc_quantizeLines()
Dband_nrg.cpp115 sfbMaxScaleSpec[i] = (maxSpc==(FIXP_DBL)0) ? (DFRACT_BITS-2) : CntLeadingZeros(maxSpc)-1; in FDKaacEnc_CalcSfbMaxScaleSpec()
Dadj_thr.cpp796 INT scale = CntLeadingZeros(frameEnergy) - 1; in FDKaacEnc_reduceThresholdsVBR()
/external/aac/libFDK/src/
Dautocorr2nd.cpp164 mScale = CntLeadingZeros( (accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5)) ) - 1; in autoCorr2nd_real()
251 mScale = CntLeadingZeros( (accu0 | accu1 | accu2 | fAbs(accu3) | fAbs(accu4) | fAbs(accu5) | in autoCorr2nd_cplx()
/external/aac/libFDK/include/
Dcommon_fix.h256 #define CntLeadingZeros(x) fixnormz_D(x) macro
/external/aac/libSBRenc/src/
Dps_main.cpp337 …sc = fixMax(0,CntLeadingZeros( fixMax(fixMax(fixp_abs(tmpLeftReal),fixp_abs(tmpLeftImag)),fixMax(f… in DownmixPSQmfData()