Home
last modified time | relevance | path

Searched refs:outBufferInfo (Results 1 – 6 of 6) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/mediacodec/
DMediaCodecAsyncCallbackTest.java86 MediaCodec.BufferInfo outBufferInfo = new MediaCodec.BufferInfo(); in dequeOutputBufferIndex_afterCreation_returnsTryAgain() local
87 assertThat(mediaCodecAsyncCallback.dequeueOutputBufferIndex(outBufferInfo)) in dequeOutputBufferIndex_afterCreation_returnsTryAgain()
101 MediaCodec.BufferInfo outBufferInfo = new MediaCodec.BufferInfo(); in dequeOutputBufferIndex_returnsEnqueuedBuffers() local
103 assertThat(mediaCodecAsyncCallback.dequeueOutputBufferIndex(outBufferInfo)).isEqualTo(0); in dequeOutputBufferIndex_returnsEnqueuedBuffers()
104 assertBufferInfosEqual(bufferInfo1, outBufferInfo); in dequeOutputBufferIndex_returnsEnqueuedBuffers()
105 assertThat(mediaCodecAsyncCallback.dequeueOutputBufferIndex(outBufferInfo)).isEqualTo(1); in dequeOutputBufferIndex_returnsEnqueuedBuffers()
106 assertBufferInfosEqual(bufferInfo2, outBufferInfo); in dequeOutputBufferIndex_returnsEnqueuedBuffers()
107 assertThat(mediaCodecAsyncCallback.dequeueOutputBufferIndex(outBufferInfo)) in dequeOutputBufferIndex_returnsEnqueuedBuffers()
118 MediaCodec.BufferInfo outBufferInfo = new MediaCodec.BufferInfo(); in dequeOutputBufferIndex_afterFlush_returnsTryAgain() local
120 assertThat(mediaCodecAsyncCallback.dequeueOutputBufferIndex(outBufferInfo)) in dequeOutputBufferIndex_afterFlush_returnsTryAgain()
[all …]
DAsynchronousMediaCodecAdapterTest.java138 MediaCodec.BufferInfo outBufferInfo = new MediaCodec.BufferInfo(); in dequeueOutputBufferIndex_withOutputBuffer_returnsOutputBuffer() local
139 outBufferInfo.presentationTimeUs = 10; in dequeueOutputBufferIndex_withOutputBuffer_returnsOutputBuffer()
140 adapter.getMediaCodecCallback().onOutputBufferAvailable(codec, /* index=*/ 0, outBufferInfo); in dequeueOutputBufferIndex_withOutputBuffer_returnsOutputBuffer()
143 assertBufferInfosEqual(bufferInfo, outBufferInfo); in dequeueOutputBufferIndex_withOutputBuffer_returnsOutputBuffer()
DDedicatedThreadAsyncMediaCodecAdapterTest.java200 MediaCodec.BufferInfo outBufferInfo = new MediaCodec.BufferInfo(); in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer() local
201 outBufferInfo.presentationTimeUs = i; in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer()
202 handler.post(() -> adapter.onOutputBufferAvailable(codec, bufferIndex, outBufferInfo)); in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer()
DMultiLockAsyncMediaCodecAdapterTest.java200 MediaCodec.BufferInfo outBufferInfo = new MediaCodec.BufferInfo(); in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer() local
201 outBufferInfo.presentationTimeUs = i; in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer()
202 handler.post(() -> adapter.onOutputBufferAvailable(codec, bufferIndex, outBufferInfo)); in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DMultiLockAsyncMediaCodecAdapter.java268 MediaCodec.BufferInfo outBufferInfo = bufferInfos.remove(); in dequeueAvailableOutputBufferIndex() local
270 outBufferInfo.offset, in dequeueAvailableOutputBufferIndex()
271 outBufferInfo.size, in dequeueAvailableOutputBufferIndex()
272 outBufferInfo.presentationTimeUs, in dequeueAvailableOutputBufferIndex()
273 outBufferInfo.flags); in dequeueAvailableOutputBufferIndex()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp2437 …const VkDescriptorBufferInfo outBufferInfo = makeDescriptorBufferInfo(m_outResource.getBuffer().… in BufferCopyImplementation() local
2441 …scriptorSetUpdateBuilder::Location::binding(1u), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, &outBufferInfo) in BufferCopyImplementation()