Home
last modified time | relevance | path

Searched refs:mant (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dutils.js162 var mant;
195 mant = Math.round(value / Math.pow(2, -149));
197 jspb.utils.split64Low = ((sign << 31) | mant) >>> 0;
202 mant = value * Math.pow(2, -exp);
203 mant = Math.round(mant * jspb.BinaryConstants.TWO_TO_23) & 0x7FFFFF;
206 jspb.utils.split64Low = ((sign << 31) | ((exp + 127) << 23) | mant) >>> 0;
250 var mant = value / Math.pow(2, -1074);
251 var mantHigh = (mant / jspb.BinaryConstants.TWO_TO_32);
253 jspb.utils.split64Low = (mant >>> 0);
259 var mant = value * Math.pow(2, -exp);
[all …]
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.cpp238 int32_t mant = ix & 0x0f; in DecodeALaw() local
241 mant += 16; in DecodeALaw()
244 mant = (mant << 4) + 8; in DecodeALaw()
247 mant = mant << (iexp - 1); in DecodeALaw()
250 *out++ = (x > 127) ? mant : -mant; in DecodeALaw()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp347 int32_t mant = ix & 0x0f; in DecodeALaw() local
350 mant += 16; in DecodeALaw()
353 mant = (mant << 4) + 8; in DecodeALaw()
356 mant = mant << (iexp - 1); in DecodeALaw()
359 *out++ = (x > 127) ? mant : -mant; in DecodeALaw()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dwb_vad.c47 Word16 mant /* i: value to be converted */ in ilog2() argument
53 if (mant <= 0) in ilog2()
55 mant = 1; in ilog2()
57 ex = norm_s(mant); in ilog2()
58 mant = mant << ex; in ilog2()
61 mant = vo_mult(mant, mant); in ilog2()
62 l_temp = vo_L_mult(mant, mant); in ilog2()
65 mant = extract_h(l_temp << ex2); in ilog2()
69 res = vo_sub(add1(res, 127), (mant >> 8)); in ilog2()