Searched refs:CntLeadingZeros (Results 1 – 18 of 18) sorted by relevance
/external/aac/libSBRdec/src/ |
D | transcendent.h | 219 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()
|
D | sbr_dec.cpp | 401 reserve = fixMax(0,CntLeadingZeros(maxVal)-1) ; in sbr_dec() 982 reserve = CntLeadingZeros(maxVal)-1; in resetSbrDec()
|
D | env_calc.cpp | 1198 int reserve = CntLeadingZeros(fixp_abs(filtBuffer[band]))-1; in equalizeFiltBufferExp() 1389 preShift = CntLeadingZeros(maxVal)-1; in calcNrgPerSubband() 1493 preShift = CntLeadingZeros(maxVal)-1; in calcNrgPerSfb()
|
D | psdec.cpp | 707 INT scale_left = fixMax(0, CntLeadingZeros(peakDiff) - 1); in deCorrelateSlotBased()
|
/external/aac/libFDK/src/mips/ |
D | scale.cpp | 115 return fixMax((INT)0,(CntLeadingZeros(maxVal) - 1)); in getScalefactor()
|
/external/aac/libAACdec/src/ |
D | conceal.cpp | 1337 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()
|
D | aacdec_tns.cpp | 242 s = fixMax(CntLeadingZeros(maxVal)-6,0); in CTns_Filter() 244 s = fixMax(CntLeadingZeros(maxVal)-5,0); in CTns_Filter()
|
D | block.h | 272 return CntLeadingZeros (value) - scale - 2 ; in GetScaleFromValue()
|
D | aacdec_drc.cpp | 922 res = CntLeadingZeros(max_mantissa) - 1; in aacDecoder_drcApply()
|
D | block.cpp | 403 UINT freeBits = CntLeadingZeros(value); in InverseQuantizeBand()
|
/external/aac/libAACenc/src/ |
D | intensity.cpp | 187 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()
|
D | chaosmeasure.cpp | 120 INT leadingBits = CntLeadingZeros(center)-1; in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
|
D | quantize.cpp | 123 …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()
|
D | band_nrg.cpp | 115 sfbMaxScaleSpec[i] = (maxSpc==(FIXP_DBL)0) ? (DFRACT_BITS-2) : CntLeadingZeros(maxSpc)-1; in FDKaacEnc_CalcSfbMaxScaleSpec()
|
D | adj_thr.cpp | 796 INT scale = CntLeadingZeros(frameEnergy) - 1; in FDKaacEnc_reduceThresholdsVBR()
|
/external/aac/libFDK/src/ |
D | autocorr2nd.cpp | 164 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/ |
D | common_fix.h | 256 #define CntLeadingZeros(x) fixnormz_D(x) macro
|
/external/aac/libSBRenc/src/ |
D | ps_main.cpp | 337 …sc = fixMax(0,CntLeadingZeros( fixMax(fixMax(fixp_abs(tmpLeftReal),fixp_abs(tmpLeftImag)),fixMax(f… in DownmixPSQmfData()
|