/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | SilenceSkippingAudioProcessor.java | 70 private int bytesPerFrame; field in SilenceSkippingAudioProcessor 182 skippedFrames += paddingSize / bytesPerFrame; in onQueueEndOfStream() 189 bytesPerFrame = inputAudioFormat.bytesPerFrame; in onFlush() 190 int maybeSilenceBufferSize = durationUsToFrames(minimumSilenceDurationUs) * bytesPerFrame; in onFlush() 194 paddingSize = durationUsToFrames(paddingSilenceUs) * bytesPerFrame; in onFlush() 262 skippedFrames += (maybeSilenceBufferSize - paddingSize * 2) / bytesPerFrame; in processMaybeSilence() 264 skippedFrames += (maybeSilenceBufferSize - paddingSize) / bytesPerFrame; in processMaybeSilence() 284 skippedFrames += inputBuffer.remaining() / bytesPerFrame; in processSilence() 353 return bytesPerFrame * (i / bytesPerFrame); in findNoisePosition() 368 return bytesPerFrame * (i / bytesPerFrame) + bytesPerFrame; in findNoiseLimit()
|
D | TrimmingAudioProcessor.java | 94 trimmedFrameCount += trimBytes / inputAudioFormat.bytesPerFrame; in queueInput() 153 trimmedFrameCount += endBufferSize / inputAudioFormat.bytesPerFrame; in onQueueEndOfStream() 164 endBuffer = new byte[trimEndFrames * inputAudioFormat.bytesPerFrame]; in onFlush() 165 pendingTrimStartBytes = trimStartFrames * inputAudioFormat.bytesPerFrame; in onFlush()
|
D | ChannelMappingAudioProcessor.java | 76 int frameCount = (limit - position) / inputAudioFormat.bytesPerFrame; in queueInput() 77 int outputSize = frameCount * outputAudioFormat.bytesPerFrame; in queueInput() 83 position += inputAudioFormat.bytesPerFrame; in queueInput()
|
D | AudioProcessor.java | 48 public final int bytesPerFrame; field in AudioProcessor.AudioFormat 54 bytesPerFrame = in AudioFormat()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | SilenceSkippingAudioProcessor.java | 73 private int bytesPerFrame; field in SilenceSkippingAudioProcessor 185 skippedFrames += paddingSize / bytesPerFrame; in onQueueEndOfStream() 192 bytesPerFrame = inputAudioFormat.bytesPerFrame; in onFlush() 193 int maybeSilenceBufferSize = durationUsToFrames(minimumSilenceDurationUs) * bytesPerFrame; in onFlush() 197 paddingSize = durationUsToFrames(paddingSilenceUs) * bytesPerFrame; in onFlush() 265 skippedFrames += (maybeSilenceBufferSize - paddingSize * 2) / bytesPerFrame; in processMaybeSilence() 267 skippedFrames += (maybeSilenceBufferSize - paddingSize) / bytesPerFrame; in processMaybeSilence() 287 skippedFrames += inputBuffer.remaining() / bytesPerFrame; in processSilence() 356 return bytesPerFrame * (i / bytesPerFrame); in findNoisePosition() 371 return bytesPerFrame * (i / bytesPerFrame) + bytesPerFrame; in findNoiseLimit()
|
D | TrimmingAudioProcessor.java | 94 trimmedFrameCount += trimBytes / inputAudioFormat.bytesPerFrame; in queueInput() 153 trimmedFrameCount += endBufferSize / inputAudioFormat.bytesPerFrame; in onQueueEndOfStream() 164 endBuffer = new byte[trimEndFrames * inputAudioFormat.bytesPerFrame]; in onFlush() 165 pendingTrimStartBytes = trimStartFrames * inputAudioFormat.bytesPerFrame; in onFlush()
|
D | ChannelMappingAudioProcessor.java | 76 int frameCount = (limit - position) / inputAudioFormat.bytesPerFrame; in queueInput() 77 int outputSize = frameCount * outputAudioFormat.bytesPerFrame; in queueInput() 83 position += inputAudioFormat.bytesPerFrame; in queueInput()
|
D | AudioProcessor.java | 48 public final int bytesPerFrame; field in AudioProcessor.AudioFormat 54 bytesPerFrame = in AudioFormat()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
D | AudioSampleEntry.java | 61 private long bytesPerFrame; field in AudioSampleEntry 106 return bytesPerFrame; in getBytesPerFrame() 157 public void setBytesPerFrame(long bytesPerFrame) { in setBytesPerFrame() argument 158 this.bytesPerFrame = bytesPerFrame; in setBytesPerFrame() 208 bytesPerFrame = IsoTypeReader.readUInt32(content); in _parseDetails() 236 ", bytesPerFrame=" + bytesPerFrame + in toString() 269 IsoTypeWriter.writeUInt32(byteBuffer, bytesPerFrame); in getContent()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/transformer/src/main/java/com/google/android/exoplayer2/transformer/ |
D | SpeedChangingAudioProcessor.java | 66 /* divisor= */ (long) inputAudioFormat.sampleRate * inputAudioFormat.bytesPerFrame); in queueInput() 86 * inputAudioFormat.bytesPerFrame, in queueInput() 89 inputAudioFormat.bytesPerFrame - bytesToNextSpeedChange % inputAudioFormat.bytesPerFrame; in queueInput() 90 if (bytesToNextFrame != inputAudioFormat.bytesPerFrame) { in queueInput()
|
D | AudioTranscodingSamplePipeline.java | 263 encoderInputAudioFormat.bytesPerFrame, in feedEncoder() 281 long bytesWritten, int bytesPerFrame, int sampleRate) { in computeNextEncoderInputBufferTimeUs() argument 288 long denominator = (long) bytesPerFrame * sampleRate; in computeNextEncoderInputBufferTimeUs()
|
/external/webrtc/sdk/android/src/java/org/webrtc/audio/ |
D | WebRtcAudioManager.java | 103 final int bytesPerFrame = numChannels * (BITS_PER_SAMPLE / 8); in getMinOutputFrameSize() local 108 / bytesPerFrame; in getMinOutputFrameSize() 115 final int bytesPerFrame = numChannels * (BITS_PER_SAMPLE / 8); in getMinInputFrameSize() local 120 / bytesPerFrame; in getMinInputFrameSize()
|
/external/oboe/src/fifo/ |
D | FifoBuffer.cpp | 28 FifoBuffer::FifoBuffer(uint32_t bytesPerFrame, uint32_t capacityInFrames) in FifoBuffer() argument 29 : mBytesPerFrame(bytesPerFrame) in FifoBuffer() 36 int32_t bytesPerBuffer = bytesPerFrame * capacityInFrames; in FifoBuffer() 41 FifoBuffer::FifoBuffer( uint32_t bytesPerFrame, in FifoBuffer() argument 47 : mBytesPerFrame(bytesPerFrame) in FifoBuffer()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/ |
D | WavExtractor.java | 305 int bytesPerFrame = wavFormat.numChannels * wavFormat.bitsPerSample / 8; in PassthroughOutputWriter() local 307 if (wavFormat.blockSize != bytesPerFrame) { in PassthroughOutputWriter() 309 "Expected block size: " + bytesPerFrame + "; got: " + wavFormat.blockSize, in PassthroughOutputWriter() 313 int constantBitrate = wavFormat.frameRateHz * bytesPerFrame * 8; in PassthroughOutputWriter() 315 max(bytesPerFrame, wavFormat.frameRateHz * bytesPerFrame / TARGET_SAMPLES_PER_SECOND); in PassthroughOutputWriter() 359 int bytesPerFrame = wavFormat.blockSize; in sampleData() local 360 int pendingFrames = pendingOutputBytes / bytesPerFrame; in sampleData() 366 int size = pendingFrames * bytesPerFrame; in sampleData()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/ |
D | WavExtractor.java | 306 int bytesPerFrame = wavFormat.numChannels * wavFormat.bitsPerSample / 8; in PassthroughOutputWriter() local 308 if (wavFormat.blockSize != bytesPerFrame) { in PassthroughOutputWriter() 310 "Expected block size: " + bytesPerFrame + "; got: " + wavFormat.blockSize, in PassthroughOutputWriter() 314 int constantBitrate = wavFormat.frameRateHz * bytesPerFrame * 8; in PassthroughOutputWriter() 316 max(bytesPerFrame, wavFormat.frameRateHz * bytesPerFrame / TARGET_SAMPLES_PER_SECOND); in PassthroughOutputWriter() 360 int bytesPerFrame = wavFormat.blockSize; in sampleData() local 361 int pendingFrames = pendingOutputBytes / bytesPerFrame; in sampleData() 367 int size = pendingFrames * bytesPerFrame; in sampleData()
|
/external/oboe/include/oboe/ |
D | FifoBuffer.h | 37 FifoBuffer(uint32_t bytesPerFrame, uint32_t capacityInFrames); 49 FifoBuffer(uint32_t bytesPerFrame,
|
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioManager.java | 334 final int bytesPerFrame = numChannels * (BITS_PER_SAMPLE / 8); in getMinOutputFrameSize() local 339 / bytesPerFrame; in getMinOutputFrameSize() 352 final int bytesPerFrame = numChannels * (BITS_PER_SAMPLE / 8); in getMinInputFrameSize() local 357 / bytesPerFrame; in getMinInputFrameSize()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/test/java/com/google/android/exoplayer2/e2etest/ |
D | EndToEndGaplessTest.java | 105 int bytesPerFrame = audioTrackListener.getAudioTrackOutputFormat().getFrameSizeInBytes(); in testPlayback_twoIdenticalMp3Files() local 106 int paddingBytes = max(0, playerAudioFormat.encoderPadding) * bytesPerFrame; in testPlayback_twoIdenticalMp3Files() 107 int delayBytes = max(0, playerAudioFormat.encoderDelay) * bytesPerFrame; in testPlayback_twoIdenticalMp3Files()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/test/java/com/google/android/exoplayer2/e2etest/ |
D | EndToEndGaplessTest.java | 105 int bytesPerFrame = audioTrackListener.getAudioTrackOutputFormat().getFrameSizeInBytes(); in testPlayback_twoIdenticalMp3Files() local 106 int paddingBytes = max(0, playerAudioFormat.encoderPadding) * bytesPerFrame; in testPlayback_twoIdenticalMp3Files() 107 int delayBytes = max(0, playerAudioFormat.encoderDelay) * bytesPerFrame; in testPlayback_twoIdenticalMp3Files()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/test/java/com/google/android/exoplayer2/audio/ |
D | SilenceSkippingAudioProcessorTest.java | 260 int bytesPerFrame = AUDIO_FORMAT.bytesPerFrame; in process() local 268 totalOutputFrames += outputBuffer.remaining() / bytesPerFrame; in process() 275 totalOutputFrames += outputBuffer.remaining() / bytesPerFrame; in process()
|
D | TrimmingAudioProcessorTest.java | 42 AUDIO_FORMAT.bytesPerFrame * TRACK_ONE_UNTRIMMED_FRAME_COUNT; 45 - AUDIO_FORMAT.bytesPerFrame
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/test/java/com/google/android/exoplayer2/audio/ |
D | SilenceSkippingAudioProcessorTest.java | 260 int bytesPerFrame = AUDIO_FORMAT.bytesPerFrame; in process() local 268 totalOutputFrames += outputBuffer.remaining() / bytesPerFrame; in process() 275 totalOutputFrames += outputBuffer.remaining() / bytesPerFrame; in process()
|
D | TrimmingAudioProcessorTest.java | 42 AUDIO_FORMAT.bytesPerFrame * TRACK_ONE_UNTRIMMED_FRAME_COUNT; 45 - AUDIO_FORMAT.bytesPerFrame
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/transformer/src/main/java/com/google/android/exoplayer2/transformer/ |
D | AudioSamplePipeline.java | 278 encoderInputAudioFormat.bytesPerFrame, in feedEncoder() 312 long bytesWritten, int bytesPerFrame, int sampleRate) { in computeNextEncoderInputBufferTimeUs() argument 319 long denominator = (long) bytesPerFrame * sampleRate; in computeNextEncoderInputBufferTimeUs()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/transformer/src/test/java/com/google/android/exoplayer2/transformer/ |
D | SpeedChangingAudioProcessorTest.java | 218 assertThat(inputBuffer.position()).isEqualTo(4 * AUDIO_FORMAT.bytesPerFrame); in queueInput_multipleSpeedsInBufferWithLimitAtFrameBoundary_readsDataUntilSpeedLimit() 237 assertThat(inputBuffer.position()).isEqualTo(4 * AUDIO_FORMAT.bytesPerFrame); in queueInput_multipleSpeedsInBufferWithLimitInsideFrame_readsDataUntilSpeedLimit() 364 int bufferSize = frameCount * AUDIO_FORMAT.bytesPerFrame; in getInputBuffer()
|