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

  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/
g711.c 71 uint8_t alaw_to_ulaw(uint8_t alaw) { return alaw_to_ulaw_table[alaw]; }
g711.h 311 \param alaw The A-law sample to decode.
314 static __inline int16_t alaw_to_linear(uint8_t alaw) {
318 alaw ^= ALAW_AMI_MASK;
319 i = ((alaw & 0x0F) << 4);
320 seg = (((int) alaw & 0x70) >> 4);
325 return (int16_t)((alaw & 0x80) ? i : -i);
329 \param alaw The A-law sample to transcode.
332 uint8_t alaw_to_ulaw(uint8_t alaw);
335 \param alaw The u-law sample to transcode.
  /frameworks/opt/net/voip/src/jni/rtp/
G711Codec.cpp 124 int alaw = alaws[i] ^ 0x55; local
125 int exponent = (alaw >> 4) & 0x07;
126 int mantissa = alaw & 0x0F;
129 samples[i] = (alaw < 0 ? sample : -sample);

Completed in 82 milliseconds