HomeSort by relevance Sort by last modified time
    Searched full:ulaw (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /frameworks/base/core/java/android/speech/srec/
UlawEncoderInputStream.java 28 * InputStream which transforms 16 bit pcm data to ulaw data.
52 // from 'ulaw' in wikipedia
84 int ulaw; local
86 ulaw = pcm <= 0 ? 0xff :
97 ulaw = -1 <= pcm ? 0x7f :
108 ulawBuf[ulawOffset++] = (byte)ulaw;
114 * The return value can be used to set ulaw encoder scaling.
131 * Create an InputStream which takes 16 bit pcm data and produces ulaw data.
133 * @param max pcm value corresponding to maximum ulaw value.
WaveHeader.java 27 * <li> format - usually PCM, ALAW or ULAW.
30 * <li> bitsPerSample - usually 16 for PCM, 8 for ALAW, or 8 for ULAW.
49 /** Indicates ULAW format. */
70 * @param bitsPerSample usually 16 for PCM, 8 for ULAW or 8 for ALAW.
140 * usually 16 for PCM, 8 for ULAW or 8 for ALAW.
149 * usually 16 for PCM, 8 for ULAW or 8 for ALAW.
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/
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);
g711.c 73 uint8_t ulaw_to_alaw(uint8_t ulaw) { return ulaw_to_alaw_table[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);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_cl.py 61 'TOP_DOWN', 'ULAW', 'UNCOMPRESSED', 'UNCOMPRESSED_AUDIO',
test_aifc.py 79 fout.setcomptype('ULAW', 'foo')
90 self.assertEqual(fout.getcomptype(), 'ULAW')
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_cl.py 61 'TOP_DOWN', 'ULAW', 'UNCOMPRESSED', 'UNCOMPRESSED_AUDIO',
test_aifc.py 79 fout.setcomptype('ULAW', 'foo')
90 self.assertEqual(fout.getcomptype(), 'ULAW')
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
sunau.py 51 getcomptype() -- returns compression type ('NONE' or 'ULAW')
228 return 'ULAW'
304 self._comptype = 'ULAW' # default is U-law
351 if type in ('NONE', 'ULAW'):
360 if self._comptype == 'ULAW':
386 if self._comptype == 'ULAW':
434 elif self._comptype == 'ULAW':
aifc.py 485 # for ULAW and ALAW try Compression Library
489 if self._comptype == 'ULAW':
498 if self._comptype == 'ULAW':
658 if comptype not in ('NONE', 'ULAW', 'ALAW', 'G722'):
678 if comptype not in ('NONE', 'ULAW', 'ALAW', 'G722'):
782 if self._comptype in ('ULAW', 'ALAW'):
786 raise Error, 'sample width must be 2 when compressing with ULAW or ALAW'
807 if self._comptype == 'ULAW':
815 if self._comptype == 'ULAW':
848 if self._comptype in ('ULAW', 'ALAW')
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
sunau.py 51 getcomptype() -- returns compression type ('NONE' or 'ULAW')
228 return 'ULAW'
304 self._comptype = 'ULAW' # default is U-law
351 if type in ('NONE', 'ULAW'):
360 if self._comptype == 'ULAW':
386 if self._comptype == 'ULAW':
434 elif self._comptype == 'ULAW':
aifc.py 485 # for ULAW and ALAW try Compression Library
489 if self._comptype == 'ULAW':
498 if self._comptype == 'ULAW':
658 if comptype not in ('NONE', 'ULAW', 'ALAW', 'G722'):
678 if comptype not in ('NONE', 'ULAW', 'ALAW', 'G722'):
782 if self._comptype in ('ULAW', 'ALAW'):
786 raise Error, 'sample width must be 2 when compressing with ULAW or ALAW'
807 if self._comptype == 'ULAW':
815 if self._comptype == 'ULAW':
848 if self._comptype in ('ULAW', 'ALAW')
    [all...]
  /development/ndk/platforms/android-3/include/linux/
telephony.h 128 ULAW = 8,
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/
telephony.h 128 ULAW = 8,
  /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/
telephony.h 128 ULAW = 8,
  /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/
telephony.h 128 ULAW = 8,
  /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/
telephony.h 128 ULAW = 8,
  /prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/
telephony.h 128 ULAW = 8,
  /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/
telephony.h 128 ULAW = 8,
  /prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/
telephony.h 128 ULAW = 8,
  /prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/
telephony.h 128 ULAW = 8,
  /prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/
telephony.h 128 ULAW = 8,
  /prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/
telephony.h 128 ULAW = 8,
  /prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/
telephony.h 128 ULAW = 8,

Completed in 377 milliseconds

1 2 3 4