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

/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c30 SLuint8 bitsPerSample; member in struct:__anon2170
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.cpp307 SLuint32 bitsPerSample; local
310 bitsPerSample = 32;
314 bitsPerSample = 32;
318 bitsPerSample = 24;
322 bitsPerSample = 16;
326 bitsPerSample = 8;
379 format_pcm.bitsPerSample = bitsPerSample;
380 format_pcm.containerSize = format_pcm.bitsPerSample;
H A Dintbufq.c115 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
/frameworks/wilhelm/src/android/
H A Dandroid_sles_conversions.h30 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
H A DAudioRecorder_to_android.cpp264 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
267 df_pcm->containerSize, (SLuint32)df_pcm->bitsPerSample);
669 df_pcm->bitsPerSample,
H A DAudioPlayer_to_android.cpp1093 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
1096 df_pcm->containerSize, (SLuint32)df_pcm->bitsPerSample);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothCodecConfig.java76 int sampleRate, int bitsPerSample,
83 mBitsPerSample = bitsPerSample;
217 final int bitsPerSample = in.readInt();
224 sampleRate, bitsPerSample,
75 BluetoothCodecConfig(int codecType, int codecPriority, int sampleRate, int bitsPerSample, int channelMode, long codecSpecific1, long codecSpecific2, long codecSpecific3, long codecSpecific4) argument
/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/wilhelm/tests/examples/
H A DslesTestRecBuffQueue.cpp274 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
278 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_32;
282 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_8;
287 pcm.bitsPerSample = 32;
H A DslesTestSawtoothBufferQueue.cpp169 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
H A DslesTestDecodeToBuffQueue.cpp350 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
H A DslesTestFeedback.cpp428 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
/frameworks/base/core/java/android/speech/tts/
H A DFileSynthesisCallback.java289 short bitsPerSample = (short) (sampleSizeInBytes * 8);
305 header.putShort(bitsPerSample);
/frameworks/av/media/extractors/wav/
H A DWAVExtractor.cpp63 int32_t bitsPerSample,
225 ALOGE("validBits(%d) != bitsPerSample(%d) are not supported",
229 // we only support valitBitsPerSample == bitsPerSample but some WAV_EXT
353 int32_t bitsPerSample,
360 mBitsPerSample(bitsPerSample),
349 WAVSource( DataSourceBase *dataSource, MetaDataBase &meta, uint16_t waveFormat, int32_t bitsPerSample, off64_t offset, size_t size) argument
/frameworks/wilhelm/src/
H A Ddata.cpp424 if (pDataFormat->mPCM.bitsPerSample == 0 ||
425 pDataFormat->mPCM.containerSize < pDataFormat->mPCM.bitsPerSample) {
429 SL_LOGE("%s: containerSize=%u, bitsPerSample=%u", name,
431 (unsigned) pDataFormat->mPCM.bitsPerSample);
/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h52 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/automated/
H A DBufferQueue_test.cpp123 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp1095 const uint32_t bitsPerSample = BITS_PER_SAMPLE; local
1122 uint16_t bits = static_cast<uint16_t>(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 844 milliseconds