HomeSort by relevance Sort by last modified time
    Searched refs:ulaw (Results 1 - 3 of 3) sorted by null

  /external/webrtc/webrtc/modules/audio_coding/codecs/g711/
g711.c 73 uint8_t ulaw_to_alaw(uint8_t ulaw) { return ulaw_to_alaw_table[ulaw]; }
g711.h 240 \param ulaw The u-law sample to decode.
243 static __inline int16_t ulaw_to_linear(uint8_t ulaw) {
247 ulaw = ~ulaw;
252 t = (((ulaw & 0x0F) << 3) + ULAW_BIAS) << (((int) ulaw & 0x70) >> 4);
253 return (int16_t)((ulaw & 0x80) ? (ULAW_BIAS - t) : (t - ULAW_BIAS));
338 uint8_t ulaw_to_alaw(uint8_t ulaw);
  /frameworks/opt/net/voip/src/jni/rtp/
G711Codec.cpp 74 int ulaw = ~ulaws[i]; local
75 int exponent = (ulaw >> 4) & 0x07;
76 int mantissa = ulaw & 0x0F;
78 samples[i] = (ulaw < 0 ? -sample : sample);

Completed in 616 milliseconds