Home
last modified time | relevance | path

Searched refs:CountLeadingBits (Results 1 – 22 of 22) sorted by relevance

/external/aac/libFDK/src/
Dfixpoint_math.cpp435 norm_f1 = CountLeadingBits(f1); in fMultNorm()
437 norm_f2 = CountLeadingBits(f2); in fMultNorm()
465 norm_num = CountLeadingBits(L_num); in fDivNorm()
470 norm_den = CountLeadingBits(L_denum); in fDivNorm()
543 norm_num = CountLeadingBits(L_num); in fDivNormSigned()
549 norm_den = CountLeadingBits(L_denum); in fDivNormSigned()
578 norm_num = CountLeadingBits(num); in fDivNormHighPrec()
583 norm_den = CountLeadingBits(denom); in fDivNormHighPrec()
666 leadingBits = CountLeadingBits(fAbs(exp_m)); in fPow()
690 leadingBits = CountLeadingBits(fAbs(exp_m)); in fLdPow()
[all …]
Dautocorr2nd.cpp176 mScale = CountLeadingBits(fAbs(ac->det)); in autoCorr2nd_real()
/external/aac/libSBRenc/src/
Dsbr_misc.cpp241 INT shiftNum = CountLeadingBits(num); in FDKsbrEnc_LSI_divide_scale_fract()
242 INT shiftDenom = CountLeadingBits(denom); in FDKsbrEnc_LSI_divide_scale_fract()
243 INT shiftScale = CountLeadingBits(scale); in FDKsbrEnc_LSI_divide_scale_fract()
Dps_main.cpp354 int sc_num = CountLeadingBits(stereoScaleFactor); in DownmixPSQmfData()
355 int sc_denum = CountLeadingBits(tmpScaleFactor); in DownmixPSQmfData()
590 CountLeadingBits(fixMax(maxVal[0][band], maxBandValue[band])); in psFindBestScaling()
593 0, CountLeadingBits(fixMax(maxVal[0][band], maxBandValue[band])) - in psFindBestScaling()
602 *dmxScale = fixMin(DFRACT_BITS, CountLeadingBits(maxValue)); in psFindBestScaling()
604 *dmxScale = fixMax(0, fixMin(FRACT_BITS, CountLeadingBits((maxValue)))); in psFindBestScaling()
Dton_corr.cpp278 numShift = CountLeadingBits(num) - 2; in FDKsbrEnc_CalculateTonalityQuotas()
281 denomShift = CountLeadingBits(denom); in FDKsbrEnc_CalculateTonalityQuotas()
290 commonShift = fixMin(commonShift, CountLeadingBits(tmp)); in FDKsbrEnc_CalculateTonalityQuotas()
Denv_est.cpp325 scale = CountLeadingBits(max_val); in FDKsbrEnc_getEnergyFromCplxQmfData()
415 scale = CountLeadingBits(max_val); in FDKsbrEnc_getEnergyFromCplxQmfDataFull()
672 tmpScale = CountLeadingBits(nrg); in mhLoweringEnergy()
937 tmpScale = CountLeadingBits(nrgLeft); in calculateSbrEnvelope()
967 sc0 = CountLeadingBits(nrgLeft2); in calculateSbrEnvelope()
968 sc1 = CountLeadingBits(nrgRight); in calculateSbrEnvelope()
Dtran_det.cpp511 0, CountLeadingBits(mean_val) - in calculateThresholds()
884 dBf_e = (DFRACT_BITS - 1 - tmp) - CountLeadingBits(dBf_int); in FDKsbrEnc_InitSbrFastTransientDetector()
Dmh_det.cpp258 shiftFac0 = CountLeadingBits(sfmOrig); in calculateFlatnessMeasure()
259 shiftFac1 = CountLeadingBits(sfmTransp); in calculateFlatnessMeasure()
Dps_encode.cpp705 num_e = CountLeadingBits( in calculateICC()
/external/aac/libAACenc/src/
Dquantize.cpp200 ex = CountLeadingBits(accu); in FDKaacEnc_invQuantizeLines()
235 ex = CountLeadingBits(accu); in FDKaacEnc_invQuantizeLines()
336 scale = CountLeadingBits(diff); in FDKaacEnc_calcSfbDist()
388 scale = CountLeadingBits(diff); in FDKaacEnc_calcSfbQuantEnergyAndDist()
Dchannel_map.cpp380 int sc_brTot = CountLeadingBits(bitrateTot); in FDKaacEnc_InitElementBits()
468 int sc = CountLeadingBits(fixMax(maxChannelBits, averageBitsTot)); in FDKaacEnc_InitElementBits()
477 sc = CountLeadingBits(maxChannelBits); in FDKaacEnc_InitElementBits()
513 int sc = CountLeadingBits(fixMax(maxChannelBits, averageBitsTot)); in FDKaacEnc_InitElementBits()
563 int sc = CountLeadingBits(fixMax(maxChannelBits, averageBitsTot)); in FDKaacEnc_InitElementBits()
Dnoisedet.cpp202 leadingBits = CountLeadingBits(maxVal); in FDKaacEnc_noiseDetect()
Dadj_thr.cpp1013 int minScale = fixMin(CountLeadingBits(sfbThrExp), in FDKaacEnc_reduceThresholdsCBR()
1014 CountLeadingBits(redVal_m) - redVal_e) - in FDKaacEnc_reduceThresholdsCBR()
1392 CountLeadingBits(thrExp[elementId][ch][sfbGrp + sfb]), in FDKaacEnc_correctThresh()
1393 CountLeadingBits(redVal_m) - redVal_e) - in FDKaacEnc_correctThresh()
Daacenc_tns.cpp530 scale = CountLeadingBits(maxVal); in FDKaacEnc_ScaleUpSpectrum()
Dpsy_main.cpp670 nrgShift = (CountLeadingBits(maxNrg) >> 1) + (minSpecShift - 4); in FDKaacEnc_psyMain()
/external/aac/libSACenc/src/
Dsacenc_vectorfunctions.cpp336 s2 = fixMin(fixMax(0, CountLeadingBits(p12r[i]) - 1), in calcCoherenceVec()
337 fixMax(0, CountLeadingBits(p12i[i]) - 1)); in calcCoherenceVec()
339 s1 = fixMin(fixMax(0, CountLeadingBits(p1[i]) - 1), in calcCoherenceVec()
340 fixMax(0, CountLeadingBits(p2[i]) - 1)); in calcCoherenceVec()
434 return (-CountLeadingBits(maxVal)); in FDKcalcScaleFactor()
/external/aac/libSBRdec/src/
Denv_extr.cpp1486 pointer_bits = DFRACT_BITS - 1 - CountLeadingBits((FIXP_DBL)(n + 1)); in extractFrameInfo()
1519 pointer_bits = DFRACT_BITS - 1 - CountLeadingBits((FIXP_DBL)(n + 1)); in extractFrameInfo()
1597 DFRACT_BITS - 1 - CountLeadingBits((FIXP_DBL)(nL + nR + 1)); in extractFrameInfo()
DHFgen_preFlat.cpp825 int room = CountLeadingBits(mult); in polyval()
Denv_calc.cpp711 int r = CountLeadingBits(gain[i]); in apply_inter_tes()
1290 SCHAR charTemp = CountLeadingBits(maxGain); in calculateSbrEnvelope()
2330 int headroom = CountLeadingBits(*ptrNrgGain); in calcSubbandGain()
/external/aac/libDRCdec/src/
DdrcGainDec_process.cpp179 (30 - CountLeadingBits(stepsize)); in _interpolateDrcGain()
/external/aac/libFDK/include/
Dcommon_fix.h309 #define CountLeadingBits(x) fixnorm_D(x) macro
/external/aac/libAACdec/src/
Dstereo.cpp1006 int alpha_re_headroom = CountLeadingBits((INT)tempRe) - 16; in CJointStereo_ApplyMS()
1008 int alpha_im_headroom = CountLeadingBits((INT)tempIm) - 16; in CJointStereo_ApplyMS()