Home
last modified time | relevance | path

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

/hardware/knowles/athletico/sound_trigger_hal/tests/
Dconversion_routines.c6 int64_t* mant, in kst_split_aft() argument
12 *mant = uAft & 0x1FFFFFF; in kst_split_aft()
14 if (*exp || *mant) in kst_split_aft()
16 *mant |= 1 << 25; in kst_split_aft()
27 int64_t mant; in kst_aft_to_dbl() local
29 kst_split_aft((uint32_t*)pAfloat, &exp, &mant, &sign); in kst_aft_to_dbl()
30 if (exp || mant) in kst_aft_to_dbl()
34 ((uint64_t)(mant & ((1 << 25) - 1)) << (52 - 25)); in kst_aft_to_dbl()
/hardware/google/av/media/codecs/g711/
DC2SoftG711Dec.cpp244 int32_t mant = ix & 0x0f; in DecodeALaw() local
247 mant += 16; in DecodeALaw()
250 mant = (mant << 4) + 8; in DecodeALaw()
253 mant = mant << (iexp - 1); in DecodeALaw()
256 *out++ = (x > 127) ? mant : -mant; in DecodeALaw()
/hardware/knowles/athletico/sound_trigger_hal/
Dadnc_strm.c89 int64_t *mant, int32_t *sign) in kst_split_aft() argument
94 *mant = uAft & 0x1FFFFFF; in kst_split_aft()
96 if (*exp || *mant) { in kst_split_aft()
97 *mant |= 1 << 25; in kst_split_aft()
106 int64_t mant; in kst_aft_to_dbl() local
108 kst_split_aft((uint32_t *)pAfloat, &exp, &mant, &sign); in kst_aft_to_dbl()
109 if (exp || mant) { in kst_aft_to_dbl()
112 ((uint64_t)(mant & ((1 << 25) - 1)) << (52 - 25)); in kst_aft_to_dbl()