Searched refs:bitsPerSample (Results 1 - 20 of 20) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c30 SLuint8 bitsPerSample; member in struct:__anon1668
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...]
H A Dsrcsink.c46 format_pcm.bitsPerSample = 16;
135 format_pcm.bitsPerSample = 17;
140 format_pcm.bitsPerSample = 24;
145 format_pcm.bitsPerSample = 16;
H A Dplaybq.c328 SLuint32 bitsPerSample; local
331 bitsPerSample = 32;
335 bitsPerSample = 32;
339 bitsPerSample = 24;
343 bitsPerSample = 16;
347 bitsPerSample = 8;
400 format_pcm.bitsPerSample = bitsPerSample;
401 format_pcm.containerSize = format_pcm.bitsPerSample;
H A Dplaybq.cpp328 SLuint32 bitsPerSample; local
331 bitsPerSample = 32;
335 bitsPerSample = 32;
339 bitsPerSample = 24;
343 bitsPerSample = 16;
347 bitsPerSample = 8;
400 format_pcm.bitsPerSample = bitsPerSample;
401 format_pcm.containerSize = format_pcm.bitsPerSample;
H A Dintbufq.c115 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java30 * <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) { argument
77 mBitsPerSample = bitsPerSample;
148 * @param bitsPerSample number of bits per sample,
152 public WaveHeader setBitsPerSample(short bitsPerSample) { argument
153 mBitsPerSample = bitsPerSample;
272 "WaveHeader format=%d numChannels=%d sampleRate=%d bitsPerSample=%d numBytes=%d",
/frameworks/av/media/img_utils/src/
H A DTiffIfd.cpp198 uint16_t bitsPerSample = *(bitsEntry->getData<uint16_t>()); local
201 if ((bitsPerSample % 8) != 0) {
203 bitsPerSample, mIfdId);
207 uint32_t bytesPerSample = bitsPerSample / 8;
/frameworks/base/core/java/android/speech/tts/
H A DFileSynthesisCallback.java284 short bitsPerSample = (short) (sampleSizeInBytes * 8);
300 header.putShort(bitsPerSample);
/frameworks/av/media/libstagefright/
H A DWAVExtractor.cpp61 int32_t bitsPerSample,
237 ALOGE("validBits(%d) != bitsPerSample(%d) are not supported",
241 // we only support valitBitsPerSample == bitsPerSample but some WAV_EXT
337 int32_t bitsPerSample,
344 mBitsPerSample(bitsPerSample),
333 WAVSource( const sp<DataSource> &dataSource, const sp<MetaData> &meta, uint16_t waveFormat, int32_t bitsPerSample, off64_t offset, size_t size) argument
/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h50 SLuint32 bitsPerSample; member in struct:SLAndroidDataFormat_PCM_EX_
H A DOpenSLES.h360 SLuint32 bitsPerSample; member in struct:SLDataFormat_PCM_
2337 SLuint32 bitsPerSample; member in struct:SLAudioEncoderSettings_
/frameworks/wilhelm/tests/examples/
H A DslesTestSawtoothBufferQueue.cpp172 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
H A DslesTestRecBuffQueue.cpp210 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
H A DslesTestDecodeToBuffQueue.cpp350 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
H A DslesTestFeedback.cpp368 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
/frameworks/wilhelm/src/
H A Ddata.c457 if (pDataFormat->mPCM.containerSize < pDataFormat->mPCM.bitsPerSample) {
461 SL_LOGE("%s: containerSize=%u, bitsPerSample=%u", name,
463 (unsigned) pDataFormat->mPCM.bitsPerSample);
/frameworks/wilhelm/tests/automated/
H A DBufferQueue_test.cpp123 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp861 const uint32_t bitsPerSample = BITS_PER_SAMPLE; local
891 uint16_t bits = static_cast<uint16_t>(bitsPerSample);
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp988 switch (df_pcm->bitsPerSample) {
1014 (SLuint32)df_pcm->bitsPerSample);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h385 XAuint32 bitsPerSample; member in struct:XADataFormat_PCM_
2740 XAuint32 bitsPerSample; member in struct:XAAudioEncoderSettings_

Completed in 1474 milliseconds