Searched refs:CountLeadingBits (Results 1 – 20 of 20) sorted by relevance
/external/aac/libFDK/src/ |
D | fixpoint_math.cpp | 528 norm_f1 = CountLeadingBits(f1); in fMultNorm() 530 norm_f2 = CountLeadingBits(f2); in fMultNorm() 555 norm_num = CountLeadingBits(L_num); in fDivNorm() 560 norm_den = CountLeadingBits(L_denum); in fDivNorm() 610 norm_num = CountLeadingBits(num); in fDivNormHighPrec() 615 norm_den = CountLeadingBits(denom); in fDivNormHighPrec() 714 leadingBits = CountLeadingBits(fAbs(exp_m)); in fPow() 743 leadingBits = CountLeadingBits(fAbs(exp_m)); in fLdPow() 785 leadingBits = CountLeadingBits( base_m ); in fPowInt() 804 int ansScale = CountLeadingBits( result ); in fPowInt()
|
D | autocorr2nd.cpp | 175 mScale = CountLeadingBits(fAbs(ac->det)); in autoCorr2nd_real() 268 mScale = CountLeadingBits(fAbs(ac->det)); in autoCorr2nd_cplx()
|
/external/aac/libSBRenc/src/ |
D | sbr_misc.cpp | 247 INT shiftNum = CountLeadingBits(num); in FDKsbrEnc_LSI_divide_scale_fract() 248 INT shiftDenom = CountLeadingBits(denom); in FDKsbrEnc_LSI_divide_scale_fract() 249 INT shiftScale = CountLeadingBits(scale); in FDKsbrEnc_LSI_divide_scale_fract()
|
D | ps_main.cpp | 356 int sc_num = CountLeadingBits(stereoScaleFactor) ; in DownmixPSQmfData() 357 int sc_denum = CountLeadingBits(tmpScaleFactor) ; in DownmixPSQmfData() 602 dynBandScale[band] = CountLeadingBits(fixMax(maxVal[0][band],maxBandValue[band])); in psFindBestScaling() 604 …dynBandScale[band] = fixMax(0,CountLeadingBits(fixMax(maxVal[0][band],maxBandValue[band]))-FRACT_B… in psFindBestScaling() 612 *dmxScale = fixMin(DFRACT_BITS, CountLeadingBits(maxValue)); in psFindBestScaling() 614 *dmxScale = fixMax(0,fixMin(FRACT_BITS, CountLeadingBits(FX_QMF2FX_DBL(maxValue)))); in psFindBestScaling()
|
D | ton_corr.cpp | 252 numShift = CountLeadingBits(num) - 2; in FDKsbrEnc_CalculateTonalityQuotas() 255 denomShift = CountLeadingBits(denom); in FDKsbrEnc_CalculateTonalityQuotas() 263 commonShift = fixMin(commonShift,CountLeadingBits(tmp)); in FDKsbrEnc_CalculateTonalityQuotas()
|
D | ps_encode.cpp | 690 INT scale, invScale = CountLeadingBits(invNrg); in calculateICC() 701 sc1 = CountLeadingBits( fixMax(fixp_abs(pwrCr[env][i]),fixp_abs(pwrCi[env][i])) ) ; in calculateICC() 708 sc1 = CountLeadingBits(invNrg); in calculateICC() 711 sc2 = CountLeadingBits(ICC); in calculateICC()
|
D | env_est.cpp | 299 scale = CountLeadingBits(max_val); in FDKsbrEnc_getEnergyFromCplxQmfData() 385 scale = CountLeadingBits(max_val); in FDKsbrEnc_getEnergyFromCplxQmfDataFull() 622 tmpScale = CountLeadingBits(nrg); in mhLoweringEnergy() 910 tmpScale = CountLeadingBits(nrgLeft); in calculateSbrEnvelope() 936 sc0 = CountLeadingBits(nrgLeft2); in calculateSbrEnvelope() 937 sc1 = CountLeadingBits(nrgRight); in calculateSbrEnvelope()
|
D | tran_det.cpp | 504 …shift = fixMax(0,CountLeadingBits(mean_val)-6); /* -6 to keep room for accumulating… in calculateThresholds() 881 dBf_e = (DFRACT_BITS-1 - tmp) - CountLeadingBits(dBf_int); in FDKsbrEnc_InitSbrFastTransientDetector()
|
D | mh_det.cpp | 237 shiftFac0 = CountLeadingBits(sfmOrig); in calculateFlatnessMeasure() 238 shiftFac1 = CountLeadingBits(sfmTransp); in calculateFlatnessMeasure()
|
/external/aac/libAACenc/src/ |
D | quantize.cpp | 189 ex = CountLeadingBits(accu); in FDKaacEnc_invQuantizeLines() 223 ex = CountLeadingBits(accu); in FDKaacEnc_invQuantizeLines() 335 scale = CountLeadingBits(diff); in FDKaacEnc_calcSfbDist() 391 scale = CountLeadingBits(diff); in FDKaacEnc_calcSfbQuantEnergyAndDist()
|
D | channel_map.cpp | 351 int sc_brTot = CountLeadingBits(bitrateTot); in FDKaacEnc_InitElementBits() 431 int sc = CountLeadingBits(fixMax(maxChannelBits,averageBitsTot)); in FDKaacEnc_InitElementBits() 436 sc = CountLeadingBits(maxChannelBits); in FDKaacEnc_InitElementBits() 466 int sc = CountLeadingBits(fixMax(maxChannelBits,averageBitsTot)); in FDKaacEnc_InitElementBits()
|
D | noisedet.cpp | 195 leadingBits = CountLeadingBits(maxVal); in FDKaacEnc_noiseDetect()
|
D | aacenc_tns.cpp | 489 scale = CountLeadingBits(maxVal); in FDKaacEnc_ScaleUpSpectrum() 1267 shiftval = CountLeadingBits(maxVal); in FDKaacEnc_ParcorToLpc()
|
D | adj_thr.cpp | 897 …int minScale = fixMin(CountLeadingBits(sfbThrExp), CountLeadingBits(redVal) - (DFRACT_BITS-1-redVa… in FDKaacEnc_reduceThresholdsCBR() 1230 …int minScale = fixMin(CountLeadingBits(thrExp[elementId][ch][sfbGrp+sfb]), CountLeadingBits(redVal… in FDKaacEnc_correctThresh()
|
D | qc_main.cpp | 766 int sc_bitResTot = CountLeadingBits(totalBitreservoir); in FDKaacEnc_BitResRedistribution() 767 int sc_bitResTotMax = CountLeadingBits(totalBitreservoirMax); in FDKaacEnc_BitResRedistribution()
|
D | aacenc.cpp | 532 sc = CountLeadingBits(encBitrate); in FDKaacEnc_Initialize()
|
D | psy_main.cpp | 701 nrgShift = (CountLeadingBits(maxNrg)>>1) + (minSpecShift-4); in FDKaacEnc_psyMain()
|
/external/aac/libSBRdec/src/ |
D | env_extr.cpp | 1124 pointer_bits = DFRACT_BITS - 1 - CountLeadingBits((FIXP_DBL)(n+1)); in extractFrameInfo() 1161 pointer_bits = DFRACT_BITS - 1 - CountLeadingBits((FIXP_DBL)(n+1)); in extractFrameInfo() 1250 pointer_bits = DFRACT_BITS - 1 - CountLeadingBits((FIXP_DBL)(nL+nR+1)); in extractFrameInfo()
|
D | env_calc.cpp | 753 SCHAR charTemp = CountLeadingBits(maxGain); in calculateSbrEnvelope()
|
/external/aac/libFDK/include/ |
D | common_fix.h | 257 #define CountLeadingBits(x) fixnorm_D(x) macro
|