Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DFlacStreamMetadata.java88 public final int bitsPerSample; field in FlacStreamMetadata
123 bitsPerSample = scratch.readBits(5) + 1; in FlacStreamMetadata()
124 bitsPerSampleLookupKey = getBitsPerSampleLookupKey(bitsPerSample); in FlacStreamMetadata()
138 int bitsPerSample, in FlacStreamMetadata() argument
149 bitsPerSample, in FlacStreamMetadata()
162 int bitsPerSample, in FlacStreamMetadata() argument
173 this.bitsPerSample = bitsPerSample; in FlacStreamMetadata()
174 this.bitsPerSampleLookupKey = getBitsPerSampleLookupKey(bitsPerSample); in FlacStreamMetadata()
182 return maxBlockSizeSamples * channels * (bitsPerSample / 8); in getMaxDecodedFrameSize()
187 return bitsPerSample * sampleRate * channels; in getDecodedBitrate()
[all …]
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/
DWavHeader.java35 public final int bitsPerSample; field in WavHeader
45 int bitsPerSample, in WavHeader() argument
52 this.bitsPerSample = bitsPerSample; in WavHeader()
DWavHeaderReader.java80 int bitsPerSample = scratch.readLittleEndianUnsignedShort(); in peek() local
97 bitsPerSample, in peek()
DWavExtractor.java117 int pcmEncoding = WavUtil.getPcmEncodingForType(header.formatType, header.bitsPerSample); in read()
216 int bytesPerFrame = header.numChannels * header.bitsPerSample / 8; in PassthroughOutputWriter()
351 (((header.blockSize - (4 * numChannels)) * 8) / (header.bitsPerSample * numChannels)) + 1; in ImaAdPcmOutputWriter()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DWavUtil.java76 public static @C.PcmEncoding int getPcmEncodingForType(int type, int bitsPerSample) { in getPcmEncodingForType() argument
80 return Util.getPcmEncoding(bitsPerSample); in getPcmEncodingForType()
82 return bitsPerSample == 32 ? C.ENCODING_PCM_FLOAT : C.ENCODING_INVALID; in getPcmEncodingForType()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DAudioFileOutput.java108 int bitsPerSample = 16; in writeHeader() local
134 (byte) bitsPerSample, in writeHeader()
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/
DLibflacAudioRenderer.java101 pcmEncoding = Util.getPcmEncoding(streamMetadata.bitsPerSample); in supportsFormatInternal()
130 .setPcmEncoding(Util.getPcmEncoding(streamMetadata.bitsPerSample)) in getOutputFormat()
DFlacExtractor.java275 .setPcmEncoding(getPcmEncoding(streamMetadata.bitsPerSample)) in outputFormat()
/external/webrtc/webrtc/modules/audio_device/android/
Dopensles_common.cc30 configuration.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in CreatePcmConfiguration()
Dopensles_player.cc221 format.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in CreatePCMConfiguration()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothA2dpFacade.java253 @RpcParameter(name = "bitsPerSample") Integer bitsPerSample, in bluetoothA2dpSetCodecConfigPreference()
264 bitsPerSample, in bluetoothA2dpSetCodecConfigPreference()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DFlacStreamMetadataTest.java51 assertThat(streamMetadata.bitsPerSample).isEqualTo(16); in constructFromByteArray_setsFieldsCorrectly()
/external/sonivox/arm-wt-22k/lib_src/
Deas_mdls.c234 EAS_U16 bitsPerSample; member
1033 if (p->bitsPerSample == 8) in Parse_wave()
1044 if (p->bitsPerSample == 16) in Parse_wave()
1232 …if ((result = EAS_HWGetWord(pDLSData->hwInstData, pDLSData->fileHandle, &p->bitsPerSample, EAS_FAL… in Parse_fmt()
1235 if ((p->bitsPerSample != 8) && (p->bitsPerSample != 16)) in Parse_fmt()
1277 if (pWsmp->bitsPerSample == 8) in Parse_data()
1354 if (pWsmp->bitsPerSample == 16) in Parse_data()
/external/walt/android/WALT/app/src/main/jni/
Dplayer.c259 format_pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in Java_org_chromium_latency_walt_AudioTest_createBufferQueueAudioPlayer()
410 format_pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in Java_org_chromium_latency_walt_AudioTest_createAudioRecorder()
/external/webrtc/webrtc/modules/media_file/
Dmedia_file_utility.h184 uint32_t bitsPerSample,
Dmedia_file_utility.cc257 uint32_t bitsPerSample, in InitWavCodec() argument
263 codec_info_.rate = bitsPerSample * samplesPerSec; in InitWavCodec()
281 codec_info_.pacsize = (bitsPerSample * (codec_info_.plfreq / 100)) / 8; in InitWavCodec()
/external/dng_sdk/source/
Ddng_xmp.h278 uint32 bitsPerSample);
Ddng_xmp.cpp4281 uint32 bitsPerSample) in SetSampleInfo() argument
4288 sprintf (s, "%u", (unsigned) bitsPerSample); in SetSampleInfo()
/external/lzma/CPP/7zip/Archive/7z/
D7zUpdate.cpp258 unsigned bitsPerSample = GetUi16(buf + 0x22); in Parse_WAV() local
260 if ((bitsPerSample & 0x7) != 0 || bitsPerSample >= 256 || numChannels >= 256) in Parse_WAV()
274 unsigned delta = numChannels * (bitsPerSample >> 3); in Parse_WAV()
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp648 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in slesCreateServer()