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

/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c30 SLuint8 bitsPerSample; member in struct:__anon1827
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.c322 SLuint32 bitsPerSample; local
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;
H A Dplaybq.cpp322 SLuint32 bitsPerSample; local
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;
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.cpp198 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
201 df_pcm->containerSize, (SLuint32)df_pcm->bitsPerSample);
442 df_pcm->bitsPerSample,
H A DAudioPlayer_to_android.cpp992 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
995 df_pcm->containerSize, (SLuint32)df_pcm->bitsPerSample);
/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.cpp254 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
258 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_32;
262 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_8;
267 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.cpp420 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/libstagefright/
H A DWAVExtractor.cpp63 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),
347 WAVSource( const sp<DataSource> &dataSource, const sp<MetaData> &meta, uint16_t waveFormat, int32_t bitsPerSample, off64_t offset, size_t size) argument
/frameworks/wilhelm/src/
H A Ddata.c426 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);
/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h51 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.cpp1093 const uint32_t bitsPerSample = BITS_PER_SAMPLE; local
1120 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 435 milliseconds