Home
last modified time | relevance | path

Searched refs:leadingBits (Results 1 – 5 of 5) sorted by relevance

/external/aac/libFDK/include/
Dclz.h124 int leadingBits = 0; in fixnormz_S() local
127 leadingBits++; in fixnormz_S()
131 return (leadingBits); in fixnormz_S()
139 INT leadingBits = 0; in fixnormz_D() local
142 leadingBits++; in fixnormz_D()
146 return (leadingBits); in fixnormz_D()
166 INT leadingBits = 0; in fixnorm_S() local
171 leadingBits = fixnormz_S(val) - 1; in fixnorm_S()
173 return (leadingBits); in fixnorm_S()
181 INT leadingBits = 0; in fixnorm_D() local
[all …]
/external/aac/libAACenc/src/
Dnoisedet.cpp171 …INT leadingBits = fixMax(0,(sfbMaxScaleSpec[sfb] - 3)); /* max sfbWidth = 96/4 ; 2^5=32 =>… in FDKaacEnc_noiseDetect() local
178 fhelp1 = fPow2AddDiv2(fhelp1, mdctSpectrum[i]<<leadingBits); in FDKaacEnc_noiseDetect()
179 fhelp2 = fPow2AddDiv2(fhelp2, mdctSpectrum[i+k]<<leadingBits); in FDKaacEnc_noiseDetect()
180 fhelp3 = fPow2AddDiv2(fhelp3, mdctSpectrum[i+2*k]<<leadingBits); in FDKaacEnc_noiseDetect()
181 fhelp4 = fPow2AddDiv2(fhelp4, mdctSpectrum[i+3*k]<<leadingBits); in FDKaacEnc_noiseDetect()
195 leadingBits = CountLeadingBits(maxVal); in FDKaacEnc_noiseDetect()
196 testVal = maxVal << leadingBits; in FDKaacEnc_noiseDetect()
197 refVal = minVal << leadingBits; in FDKaacEnc_noiseDetect()
Dchaosmeasure.cpp120 INT leadingBits = CntLeadingZeros(center)-1; in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast() local
121 tmp = schur_div(tmp<<leadingBits, center<<leadingBits, 8); in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
Dband_nrg.cpp190 …INT leadingBits = sfbMaxScaleSpec[i]-4; /* max sfbWidth = 96 ; 2^7=128 => 7/2 = 4 (spc*… in FDKaacEnc_CalcBandEnergyOptimLong() local
193 if (leadingBits>=0) { in FDKaacEnc_CalcBandEnergyOptimLong()
195 spec = mdctSpectrum[j]<<leadingBits; in FDKaacEnc_CalcBandEnergyOptimLong()
199 INT shift = -leadingBits; in FDKaacEnc_CalcBandEnergyOptimLong()
263 …int leadingBits = sfbMaxScaleSpec[i]-3; /* max sfbWidth = 36 ; 2^6=64 => 6/2 = 3 (spc*s… in FDKaacEnc_CalcBandEnergyOptimShort() local
267 FIXP_DBL spec = scaleValue(mdctSpectrum[j],leadingBits); in FDKaacEnc_CalcBandEnergyOptimShort()
/external/aac/libFDK/src/
Dfixpoint_math.cpp712 INT leadingBits; in fPow() local
714 leadingBits = CountLeadingBits(fAbs(exp_m)); in fPow()
715 exp_m = exp_m << leadingBits; in fPow()
716 exp_e -= leadingBits; in fPow()
741 INT leadingBits; in fLdPow() local
743 leadingBits = CountLeadingBits(fAbs(exp_m)); in fLdPow()
744 exp_m = exp_m << leadingBits; in fLdPow()
745 exp_e -= leadingBits; in fLdPow()
784 INT leadingBits; in fPowInt() local
785 leadingBits = CountLeadingBits( base_m ); in fPowInt()
[all …]