HomeSort by relevance Sort by last modified time
    Searched refs:bitsPerSample (Results 1 - 25 of 163) sorted by null

1 2 3 4 5 6 7

  /external/webrtc/webrtc/modules/audio_device/android/
opensles_common.cc 30 configuration.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
  /hardware/qcom/msm8996/kernel-headers/linux/
msm_audio_ape.h 32 uint16_t bitsPerSample;
  /hardware/qcom/msm8996/original-kernel-headers/linux/
msm_audio_ape.h 19 uint16_t bitsPerSample;
  /external/aac/libSYS/src/
wav_file.cpp 166 FDKfread_EL(&(wav->header.bitsPerSample), 2, 1, wav->fp);
270 if (nBits == wav->header.bitsPerSample) {
271 result = FDKfread_EL(buffer, wav->header.bitsPerSample >> 3, numSamples, wav->fp) ;
277 result += FDKfread_EL(&tmp, wav->header.bitsPerSample >> 3, 1, wav->fp) ;
280 if ( !IS_LITTLE_ENDIAN() && wav->header.bitsPerSample != 24 && wav->header.bitsPerSample < 32) {
281 tmp >>= (32-wav->header.bitsPerSample);
285 if (wav->header.bitsPerSample > nBits)
286 tmp >>= (wav->header.bitsPerSample-nBits);
288 tmp <<= (nBits-wav->header.bitsPerSample);
    [all...]
  /frameworks/wilhelm/tests/sandbox/
configbq.c 30 SLuint8 bitsPerSample;
101 format->milliHz / 1000, format->bitsPerSample);
111 format_pcm.bitsPerSample = format->bitsPerSample;
112 format_pcm.containerSize = format->bitsPerSample;
150 float seconds = (((i * 8) / (format->bitsPerSample * format->numChannels)) * 1000.0) /
155 if (8 == format->bitsPerSample) {
159 assert(16 == format->bitsPerSample);
169 if (8 == format->bitsPerSample) {
172 assert(16 == format->bitsPerSample);
    [all...]
srcsink.c 46 format_pcm.bitsPerSample = 16;
135 format_pcm.bitsPerSample = 17;
140 format_pcm.bitsPerSample = 24;
145 format_pcm.bitsPerSample = 16;
playbq.c 322 SLuint32 bitsPerSample;
325 bitsPerSample = 32;
329 bitsPerSample = 32;
333 bitsPerSample = 24;
337 bitsPerSample = 16;
341 bitsPerSample = 8;
394 format_pcm.bitsPerSample = bitsPerSample;
395 format_pcm.containerSize = format_pcm.bitsPerSample;
playbq.cpp 322 SLuint32 bitsPerSample;
325 bitsPerSample = 32;
329 bitsPerSample = 32;
333 bitsPerSample = 24;
337 bitsPerSample = 16;
341 bitsPerSample = 8;
394 format_pcm.bitsPerSample = bitsPerSample;
395 format_pcm.containerSize = format_pcm.bitsPerSample;
  /frameworks/wilhelm/src/android/
android_sles_conversions.h 30 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
AudioRecorder_to_android.cpp 198 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
201 df_pcm->containerSize, (SLuint32)df_pcm->bitsPerSample);
442 df_pcm->bitsPerSample,
  /external/aac/libSYS/include/
wav_file.h 150 USHORT bitsPerSample;
202 * \param bitsPerSample Desired number of bits per audio sample of the resulting WAV file.
206 INT WAV_OutputOpen(HANDLE_WAV *pWav, const char *outputFilename, INT sampleRate, INT numChannels, INT bitsPerSample);
  /external/libvncserver/libvncclient/
vncviewer.c 139 rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,
165 client->format.depth = bitsPerSample*samplesPerPixel;
178 client->format.redMax = (1 << bitsPerSample) - 1;
179 client->format.greenMax = (1 << bitsPerSample) - 1;
180 client->format.blueMax = (1 << bitsPerSample) - 1;
183 client->format.greenShift = bitsPerSample;
184 client->format.blueShift = bitsPerSample * 2;
187 client->format.redShift = bitsPerSample*2;
188 client->format.greenShift = bitsPerSample*1;
191 client->format.redShift = bitsPerSample*3
    [all...]
  /system/media/audio_utils/
tinysndfile.c 200 unsigned bitsPerSample = little2u(&fmt[14]);
201 if (bitsPerSample != 8 && bitsPerSample != 16 && bitsPerSample != 24 &&
202 bitsPerSample != 32) {
204 fprintf(stderr, "bitsPerSample %u != 8 or 16 or 24 or 32\n", bitsPerSample);
208 unsigned bytesPerFrame = (bitsPerSample >> 3) * channels;
212 switch (bitsPerSample) {
331 unsigned bitsPerSample;
    [all...]
  /packages/apps/SpeechRecorder/src/com/android/speechrecorder/
WaveHeader.java 30 * <li> bitsPerSample - usually 16 for PCM, 8 for ALAW, or 8 for ULAW.
70 * @param bitsPerSample usually 16 for PCM, 8 for ULAW or 8 for ALAW.
73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) {
77 mBitsPerSample = bitsPerSample;
148 * @param bitsPerSample number of bits per sample,
152 public WaveHeader setBitsPerSample(short bitsPerSample) {
153 mBitsPerSample = bitsPerSample;
272 "WaveHeader format=%d numChannels=%d sampleRate=%d bitsPerSample=%d numBytes=%d",
  /external/libvncserver/libvncserver/
main.c 768 static void rfbInitServerFormat(rfbScreenInfoPtr screen, int bitsPerSample)
788 format->redMax = (1 << bitsPerSample) - 1;
789 format->greenMax = (1 << bitsPerSample) - 1;
790 format->blueMax = (1 << bitsPerSample) - 1;
793 format->greenShift = bitsPerSample;
794 format->blueShift = bitsPerSample * 2;
797 format->redShift = bitsPerSample*2;
798 format->greenShift = bitsPerSample*1;
801 format->redShift = bitsPerSample*3;
802 format->greenShift = bitsPerSample*2
    [all...]
  /external/libvncserver/examples/
mac.c 452 int bitsPerSample=CGDisplayBitsPerSample(kCGDirectMainDisplay);
456 bitsPerSample,
460 rfbScreen->serverFormat.redShift = bitsPerSample*2;
461 rfbScreen->serverFormat.greenShift = bitsPerSample*1;
  /external/opencv3/modules/imgcodecs/src/
grfmt_tiff.cpp 741 int bitsPerSample = 8 * bytesPerChannel;
815 strm.putWord(bitsPerSample);
816 strm.putWord(bitsPerSample);
817 strm.putWord(bitsPerSample);
819 strm.putWord(bitsPerSample);
820 bitsPerSample = bitsPerSamplePos;
835 TIFF_TYPE_SHORT, channels, bitsPerSample );
  /frameworks/av/media/img_utils/src/
TiffIfd.cpp 192 ALOGE("%s: IFD %u doesn't have a BitsPerSample tag set", __FUNCTION__, mIfdId);
198 uint16_t bitsPerSample = *(bitsEntry->getData<uint16_t>());
201 if ((bitsPerSample % 8) != 0) {
202 ALOGE("%s: BitsPerSample %d in IFD %u is not byte-aligned.", __FUNCTION__,
203 bitsPerSample, mIfdId);
207 uint32_t bytesPerSample = bitsPerSample / 8;
  /frameworks/wilhelm/tests/examples/
slesTestRecBuffQueue.cpp 254 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
258 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_32;
262 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_8;
267 pcm.bitsPerSample = 32;
  /cts/tests/tests/nativemedia/sl/src/
SLObjectCreationTest.cpp 165 formatPcmSnk.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
216 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
  /frameworks/base/core/java/android/speech/tts/
FileSynthesisCallback.java 289 short bitsPerSample = (short) (sampleSizeInBytes * 8);
305 header.putShort(bitsPerSample);
  /frameworks/av/media/libstagefright/
WAVExtractor.cpp 63 int32_t bitsPerSample,
224 ALOGE("validBits(%d) != bitsPerSample(%d) are not supported",
228 // we only support valitBitsPerSample == bitsPerSample but some WAV_EXT
351 int32_t bitsPerSample,
358 mBitsPerSample(bitsPerSample),
  /external/webrtc/webrtc/modules/media_file/
media_file_utility.h 184 uint32_t bitsPerSample,
  /external/opencv/otherlibs/highgui/
grfmt_tiff.cpp 710 int bitsPerSample = 8; // TODO support 16 bit
770 bitsPerSample = m_strm.GetPos();
790 TIFF_TYPE_SHORT, channels, bitsPerSample );
  /frameworks/wilhelm/src/
data.c 426 if (pDataFormat->mPCM.bitsPerSample == 0 ||
427 pDataFormat->mPCM.containerSize < pDataFormat->mPCM.bitsPerSample) {
431 SL_LOGE("%s: containerSize=%u, bitsPerSample=%u", name,
433 (unsigned) pDataFormat->mPCM.bitsPerSample);
    [all...]

Completed in 772 milliseconds

1 2 3 4 5 6 7