/frameworks/wilhelm/tests/sandbox/ |
D | configbq.c | 30 SLuint8 bitsPerSample; member 101 format->milliHz / 1000, format->bitsPerSample); in main() 111 format_pcm.bitsPerSample = format->bitsPerSample; in main() 112 format_pcm.containerSize = format->bitsPerSample; in main() 150 float seconds = (((i * 8) / (format->bitsPerSample * format->numChannels)) * 1000.0) / in main() 155 if (8 == format->bitsPerSample) { in main() 159 assert(16 == format->bitsPerSample); in main() 169 if (8 == format->bitsPerSample) { in main() 172 assert(16 == format->bitsPerSample); in main()
|
D | playbq.cpp | 307 SLuint32 bitsPerSample; in main() local 310 bitsPerSample = 32; in main() 314 bitsPerSample = 32; in main() 318 bitsPerSample = 24; in main() 322 bitsPerSample = 16; in main() 326 bitsPerSample = 8; in main() 379 format_pcm.bitsPerSample = bitsPerSample; in main() 380 format_pcm.containerSize = format_pcm.bitsPerSample; in main()
|
D | srcsink.c | 46 format_pcm.bitsPerSample = 16; in main() 135 format_pcm.bitsPerSample = 17; in main() 140 format_pcm.bitsPerSample = 24; in main() 145 format_pcm.bitsPerSample = 16; in main()
|
D | intbufq.c | 115 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in main()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothCodecConfig.java | 158 @SampleRate int sampleRate, @BitsPerSample int bitsPerSample, in BluetoothCodecConfig() argument 165 mBitsPerSample = bitsPerSample; in BluetoothCodecConfig() 324 final int bitsPerSample = in.readInt(); 331 sampleRate, bitsPerSample, 590 int bitsPerSample = other.mBitsPerSample; in similarCodecFeedingParameters() local 592 || bitsPerSample == BluetoothCodecConfig.BITS_PER_SAMPLE_NONE) { in similarCodecFeedingParameters() 593 bitsPerSample = mBitsPerSample; in similarCodecFeedingParameters() 601 mCodecType, /* priority */ 0, sampleRate, bitsPerSample, channelMode, in similarCodecFeedingParameters()
|
D | BluetoothCodecStatus.java | 113 int bitsPerSample = codecConfig.getBitsPerSample(); in isCodecConfigSelectable() local 114 if ((bitsPerSample & selectableConfig.getBitsPerSample()) == 0 in isCodecConfigSelectable() 115 && bitsPerSample != BluetoothCodecConfig.BITS_PER_SAMPLE_NONE) { in isCodecConfigSelectable()
|
/frameworks/av/media/libstagefright/flac/dec/ |
D | FLACDecoder.cpp | 130 unsigned bitsPerSample) { in copyTo16Signed() argument 131 const int leftShift = 16 - (int)bitsPerSample; // cast to int to prevent unsigned overflow. in copyTo16Signed() 153 unsigned bitsPerSample) { in copyToFloat() argument 154 const unsigned leftShift = 32 - bitsPerSample; in copyToFloat() 400 const unsigned bitsPerSample = getBitsPerSample(); in decodeOneFrame() local 406 bitsPerSample); in decodeOneFrame() 412 bitsPerSample); in decodeOneFrame()
|
/frameworks/av/media/extractors/flac/ |
D | FLACExtractor.cpp | 48 static inline bool shouldExtractorOutputFloat(int bitsPerSample) in shouldExtractorOutputFloat() argument 50 return bitsPerSample > 16 && AIBinder_getCallingUid() == AID_MEDIA; in shouldExtractorOutputFloat() 410 unsigned bitsPerSample) { in copyTo16Signed() argument 411 const int leftShift = 16 - (int)bitsPerSample; // cast to int to prevent unsigned overflow. in copyTo16Signed() 433 unsigned bitsPerSample) { in copyToFloat() argument 434 const unsigned leftShift = 32 - bitsPerSample; in copyToFloat() 624 const unsigned bitsPerSample = getBitsPerSample(); in readBuffer() local 630 bitsPerSample); in readBuffer() 636 bitsPerSample); in readBuffer()
|
/frameworks/av/media/img_utils/src/ |
D | TiffIfd.cpp | 198 uint16_t bitsPerSample = *(bitsEntry->getData<uint16_t>()); in validateAndSetStripTags() local 201 if ((bitsPerSample % 8) != 0) { in validateAndSetStripTags() 203 bitsPerSample, mIfdId); in validateAndSetStripTags() 207 uint32_t bytesPerSample = bitsPerSample / 8; in validateAndSetStripTags()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestRecBuffQueue.cpp | 274 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in TestRecToBuffQueue() 278 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_32; in TestRecToBuffQueue() 282 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_8; in TestRecToBuffQueue() 287 pcm.bitsPerSample = 32; in TestRecToBuffQueue()
|
D | slesTestSawtoothBufferQueue.cpp | 169 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in TestPlaySawtoothBufferQueue()
|
D | slesTestDecodeToBuffQueue.cpp | 350 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in TestDecToBuffQueue()
|
D | slesTestFeedback.cpp | 428 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in main()
|
/frameworks/wilhelm/src/android/ |
D | android_sles_conversions.h | 30 if (df_pcm->containerSize != df_pcm->bitsPerSample) { in sles_to_android_sampleFormat()
|
D | AudioRecorder_to_android.cpp | 265 if (df_pcm->containerSize != df_pcm->bitsPerSample) { in android_audioRecorder_checkSourceSink() 268 df_pcm->containerSize, (SLuint32)df_pcm->bitsPerSample); in android_audioRecorder_checkSourceSink() 670 df_pcm->bitsPerSample, in android_audioRecorder_realize()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 127 int32_t bitsPerSample = 0; in audioTrack() local 128 if (!md->findInt32(kKeyBitsPerSample, &bitsPerSample)) { in audioTrack() 173 codecPrivateBuf, bitsPerSample); in audioTrack() 212 codecPrivateBuf, bitsPerSample); in audioTrack()
|
/frameworks/base/core/java/android/speech/tts/ |
D | FileSynthesisCallback.java | 289 short bitsPerSample = (short) (sampleSizeInBytes * 8); in makeWavHeader() local 305 header.putShort(bitsPerSample); in makeWavHeader()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightMetadataRetriever.cpp | 565 int32_t bitsPerSample = -1; in parseMetaData() local 567 trackMeta->findInt32(kKeyBitsPerSample, &bitsPerSample); in parseMetaData() 569 if (bitsPerSample >= 0) { in parseMetaData() 570 sprintf(tmp, "%d", bitsPerSample); in parseMetaData()
|
/frameworks/wilhelm/src/ |
D | data.cpp | 425 if (pDataFormat->mPCM.bitsPerSample == 0 || in checkDataFormat() 426 pDataFormat->mPCM.containerSize < pDataFormat->mPCM.bitsPerSample) { in checkDataFormat() 432 (unsigned) pDataFormat->mPCM.bitsPerSample); in checkDataFormat()
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 44 static inline bool shouldExtractorOutputFloat(int bitsPerSample) in shouldExtractorOutputFloat() argument 46 return bitsPerSample > 16 && AIBinder_getCallingUid() == AID_MEDIA; in shouldExtractorOutputFloat()
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacEnc.cpp | 375 const int bitsPerSample = inputFloat ? 24 : 16; in configureEncoder() local 379 ok = ok && FLAC__stream_encoder_set_bits_per_sample(mFlacStreamEncoder, bitsPerSample); in configureEncoder()
|
/frameworks/wilhelm/include/SLES/ |
D | OpenSLES_Android.h | 52 SLuint32 bitsPerSample; member
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 995 int32_t bitsPerSample; in convertMetaDataToMessage() local 996 if (meta->findInt32(kKeyBitsPerSample, &bitsPerSample)) { in convertMetaDataToMessage() 997 msg->setInt32("bits-per-sample", bitsPerSample); in convertMetaDataToMessage() 1746 int32_t bitsPerSample; in convertMessageToMetaData() local 1747 if (msg->findInt32("bits-per-sample", &bitsPerSample)) { in convertMessageToMetaData() 1748 meta->setInt32(kKeyBitsPerSample, bitsPerSample); in convertMessageToMetaData()
|
/frameworks/wilhelm/tests/automated/ |
D | BufferQueue_test.cpp | 123 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in SetUp()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 3303 uint8_t bitsPerSample = cookie[5]; in parseALACSampleEntry() local 3305 AMEDIAFORMAT_KEY_BITS_PER_SAMPLE, bitsPerSample); in parseALACSampleEntry() 4775 int32_t bitsPerSample = 0; in MPEG4Source() local 4776 CHECK(AMediaFormat_getInt32(mFormat, AMEDIAFORMAT_KEY_BITS_PER_SAMPLE, &bitsPerSample)); in MPEG4Source() 4779 int32_t bytesPerSample = bitsPerSample >> 3; in MPEG4Source() 4785 || bitsPerSample != 16) { in MPEG4Source()
|