Home
last modified time | relevance | path

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

/frameworks/av/media/codecs/g711/decoder/
Dg711DecAlaw.cpp30 int32_t mant = ix & 0x0f; in DecodeALaw() local
33 mant += 16; in DecodeALaw()
36 mant = (mant << 4) + 8; in DecodeALaw()
39 mant = mant << (iexp - 1); in DecodeALaw()
42 *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/codecs/amrwb/enc/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()