Home
last modified time | relevance | path

Searched refs:expon (Results 1 - 3 of 3) sorted by relevance

/third_party/libsnd/src/GSM610/
H A Drpe.c217 int16_t expon, mant ; in APCM_quantization_xmaxc_to_exp_mant() local
222 expon = 0 ; in APCM_quantization_xmaxc_to_exp_mant()
223 if (xmaxc > 15) expon = SASR_W (xmaxc, 3) - 1 ; in APCM_quantization_xmaxc_to_exp_mant()
224 mant = xmaxc - (expon << 3) ; in APCM_quantization_xmaxc_to_exp_mant()
227 { expon = -4 ; in APCM_quantization_xmaxc_to_exp_mant()
233 expon-- ; in APCM_quantization_xmaxc_to_exp_mant()
238 assert (expon >= -4 && expon <= 6) ; in APCM_quantization_xmaxc_to_exp_mant()
241 *expon_out = expon ; in APCM_quantization_xmaxc_to_exp_mant()
256 int16_t expon, man in APCM_quantization() local
335 APCM_inverse_quantization( register int16_t * xMc, int16_t mant, int16_t expon, register int16_t * xMp) APCM_inverse_quantization() argument
435 int16_t mant, expon ; Gsm_RPE_Encoding() local
454 int16_t expon, mant ; Gsm_RPE_Decoding() local
[all...]
/third_party/libsnd/src/G72x/
H A Dg72x.c334 short expon ; /* Integer part of base 2 log of 'd' */ in quantize() local
346 expon = quan (dqm >> 1, power2, 15) ; in quantize()
347 mant = ((dqm << 7) >> expon) & 0x7F ; /* Fractional portion. */ in quantize()
348 dl = (expon << 7) + mant ; in quantize()
418 short mag, expon ; /* Adaptive predictor, FLOAT A */ in update() local
547 { expon = quan (mag, power2, 15) ; in update()
549 (expon << 6) + ((mag << 6) >> expon) : in update()
550 (expon << 6) + ((mag << 6) >> expon) in update()
[all...]
/third_party/python/Lib/
H A Daifc.py189 expon = _read_short(f) # 2 bytes
191 if expon < 0:
193 expon = expon + 0x8000
196 if expon == himant == lomant == 0:
198 elif expon == 0x7FFF:
201 expon = expon - 16383
202 f = (himant * 0x100000000 + lomant) * pow(2.0, expon - 63)
233 expon
[all...]

Completed in 3 milliseconds