Home
last modified time | relevance | path

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

12

/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/oboe/apps/OboeTester/app/src/main/cpp/util/
DWaveFileWriter.h85 bitsPerSample = bits; in setBitsPerSample()
89 return bitsPerSample; in getBitsPerSample()
146 int32_t bitsPerSample = 16; variable
DWaveFileWriter.cpp23 if (bitsPerSample == 24) { in write()
49 int32_t bytesPerSample = (bitsPerSample + 7) / 8; in writeFormatChunk()
63 writeShortLittle((int16_t) bitsPerSample); in writeFormatChunk()
/external/oboe/src/opensles/
DOpenSLESUtilities.cpp72 format_pcm_ex.bitsPerSample = format.bitsPerSample; in OpenSLES_createExtendedFormat()
DAudioInputStreamOpenSLES.cpp98 SLuint32 bitsPerSample = static_cast<SLuint32>(getBytesPerSample() * kBitsPerByte); in open() local
110 bitsPerSample, // bitsPerSample in open()
111 bitsPerSample, // containerSize; in open()
DAudioOutputStreamOpenSLES.cpp140 SLuint32 bitsPerSample = static_cast<SLuint32>(getBytesPerSample() * kBitsPerByte); in open() local
152 bitsPerSample, // bitsPerSample in open()
153 bitsPerSample, // containerSize; in open()
/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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DAudioFileOutput.java108 int bitsPerSample = 16; in writeHeader() local
134 (byte) bitsPerSample, in writeHeader()
/external/flac/fuzzer/
Dflac_enc_fuzzer.cpp130 uint32_t bitsPerSample = (mPcmEncodingInfo == PCM_FLOAT) ? 24 : 16; in initEncoder() local
131 FLAC__stream_encoder_set_bits_per_sample(mFlacStreamEncoder, bitsPerSample); in initEncoder()
DREADME.md72 | `FLAC__stream_encoder_set_bits_per_sample` | bitsPerSample |`16 ` `24 ` | bit 0 of 6th byte of …
/external/webrtc/examples/unityplugin/
DREADME94 private delegate void AudioBusReadyInternalDelegate(IntPtr data, int bitsPerSample,
96 public delegate void AudioBusReadyDelegate(int id, IntPtr data, int bitsPerSample,
239 private void RaiseAudioBusReady(IntPtr data, int bitsPerSample,
242 OnAudioBusReady(mPeerConnectionId, data, bitsPerSample, sampleRate,
/external/webrtc/modules/audio_device/android/
Dopensles_common.cc89 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/webrtc/sdk/android/src/jni/audio_device/
Dopensles_common.cc91 format.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in CreatePCMConfiguration()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DFlacStreamMetadataTest.java51 assertThat(streamMetadata.bitsPerSample).isEqualTo(16); in constructFromByteArray_setsFieldsCorrectly()
/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/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/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()

12