/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/mediacodec/ |
D | AsynchronousMediaCodecAdapterTest.java | 47 private MediaCodec.BufferInfo bufferInfo; field in AsynchronousMediaCodecAdapterTest 57 bufferInfo = new MediaCodec.BufferInfo(); in setUp() 131 assertThat(adapter.dequeueOutputBufferIndex(bufferInfo)) in dequeueOutputBufferIndex_withoutOutputBuffer_returnsTryAgainLater() 142 assertThat(adapter.dequeueOutputBufferIndex(bufferInfo)).isEqualTo(0); in dequeueOutputBufferIndex_withOutputBuffer_returnsOutputBuffer() 143 assertBufferInfosEqual(bufferInfo, outBufferInfo); in dequeueOutputBufferIndex_withOutputBuffer_returnsOutputBuffer() 149 adapter.getMediaCodecCallback().onOutputBufferAvailable(codec, /* index=*/ 0, bufferInfo); in dequeueOutputBufferIndex_whileFlushing_returnsTryAgainLater() 151 adapter.getMediaCodecCallback().onOutputBufferAvailable(codec, /* index=*/ 1, bufferInfo); in dequeueOutputBufferIndex_whileFlushing_returnsTryAgainLater() 153 assertThat(adapter.dequeueOutputBufferIndex(bufferInfo)) in dequeueOutputBufferIndex_whileFlushing_returnsTryAgainLater() 172 assertThat(adapter.dequeueOutputBufferIndex(bufferInfo)).isEqualTo(1); in dequeueOutputBufferIndex_afterFlushCompletes_returnsNextOutputBuffer() 173 assertBufferInfosEqual(info1, bufferInfo); in dequeueOutputBufferIndex_afterFlushCompletes_returnsNextOutputBuffer() [all …]
|
D | MediaCodecAsyncCallbackTest.java | 114 MediaCodec.BufferInfo bufferInfo = new MediaCodec.BufferInfo(); in dequeOutputBufferIndex_afterFlush_returnsTryAgain() local 115 mediaCodecAsyncCallback.onOutputBufferAvailable(codec, 0, bufferInfo); in dequeOutputBufferIndex_afterFlush_returnsTryAgain() 116 mediaCodecAsyncCallback.onOutputBufferAvailable(codec, 1, bufferInfo); in dequeOutputBufferIndex_afterFlush_returnsTryAgain() 128 MediaCodec.BufferInfo bufferInfo = new MediaCodec.BufferInfo(); in dequeOutputBufferIndex_afterFlushAndNewOutputBuffers_returnsEnqueueBuffer() local 129 mediaCodecAsyncCallback.onOutputBufferAvailable(codec, 0, bufferInfo); in dequeOutputBufferIndex_afterFlushAndNewOutputBuffers_returnsEnqueueBuffer() 130 mediaCodecAsyncCallback.onOutputBufferAvailable(codec, 1, bufferInfo); in dequeOutputBufferIndex_afterFlushAndNewOutputBuffers_returnsEnqueueBuffer() 132 mediaCodecAsyncCallback.onOutputBufferAvailable(codec, 2, bufferInfo); in dequeOutputBufferIndex_afterFlushAndNewOutputBuffers_returnsEnqueueBuffer() 151 MediaCodec.BufferInfo bufferInfo = new MediaCodec.BufferInfo(); in getOutputFormat_afterOnOutputFormatCalled_returnsFormat() local 153 assertThat(mediaCodecAsyncCallback.dequeueOutputBufferIndex(bufferInfo)) in getOutputFormat_afterOnOutputFormatCalled_returnsFormat() 162 MediaCodec.BufferInfo bufferInfo = new MediaCodec.BufferInfo(); in getOutputFormat_afterFlush_raisesCurrentFormat() local [all …]
|
D | MultiLockAsyncMediaCodecAdapterTest.java | 49 private MediaCodec.BufferInfo bufferInfo; field in MultiLockAsyncMediaCodecAdapterTest 60 bufferInfo = new MediaCodec.BufferInfo(); in setUp() 160 assertThrows(IllegalStateException.class, () -> adapter.dequeueOutputBufferIndex(bufferInfo)); in dequeueOutputBufferIndex_withInternalException_throwsException() 167 assertThat(adapter.dequeueOutputBufferIndex(bufferInfo)) in dequeueOutputBufferIndex_withoutInputBuffer_returnsTryAgainLater() 177 assertThat(adapter.dequeueOutputBufferIndex((bufferInfo))).isEqualTo(0); in dequeueOutputBufferIndex_withOutputBuffer_returnsOutputBuffer() 178 assertBufferInfosEqual(enqueuedBufferInfo, bufferInfo); in dequeueOutputBufferIndex_withOutputBuffer_returnsOutputBuffer() 184 adapter.dequeueOutputBufferIndex(bufferInfo); in dequeueOutputBufferIndex_withPendingFlush_returnsTryAgainLater() 187 assertThat(adapter.dequeueOutputBufferIndex(bufferInfo)) in dequeueOutputBufferIndex_withPendingFlush_returnsTryAgainLater() 212 assertThat(adapter.dequeueOutputBufferIndex(bufferInfo)).isEqualTo(10); in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer() 213 assertBufferInfosEqual(lastBufferInfo, bufferInfo); in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer() [all …]
|
D | DedicatedThreadAsyncMediaCodecAdapterTest.java | 50 private MediaCodec.BufferInfo bufferInfo; field in DedicatedThreadAsyncMediaCodecAdapterTest 63 bufferInfo = new MediaCodec.BufferInfo(); in setUp() 161 assertThrows(IllegalStateException.class, () -> adapter.dequeueOutputBufferIndex(bufferInfo)); in dequeueOutputBufferIndex_withInternalException_throwsException() 168 assertThat(adapter.dequeueOutputBufferIndex(bufferInfo)) in dequeueOutputBufferIndex_withoutInputBuffer_returnsTryAgainLater() 178 assertThat(adapter.dequeueOutputBufferIndex((bufferInfo))).isEqualTo(0); in dequeueOutputBufferIndex_withOutputBuffer_returnsOutputBuffer() 179 assertBufferInfosEqual(enqueuedBufferInfo, bufferInfo); in dequeueOutputBufferIndex_withOutputBuffer_returnsOutputBuffer() 185 adapter.dequeueOutputBufferIndex(bufferInfo); in dequeueOutputBufferIndex_withPendingFlush_returnsTryAgainLater() 188 assertThat(adapter.dequeueOutputBufferIndex(bufferInfo)) in dequeueOutputBufferIndex_withPendingFlush_returnsTryAgainLater() 212 assertThat(adapter.dequeueOutputBufferIndex(bufferInfo)).isEqualTo(10); in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer() 213 assertBufferInfosEqual(lastBufferInfo, bufferInfo); in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer() [all …]
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | TransformFeedbackVk.cpp | 195 VkDescriptorBufferInfo &bufferInfo = descriptorBufferInfo[bufferIndex]; in initDescriptorSet() local 196 bufferInfo.buffer = emptyBuffer->getBuffer().getHandle(); in initDescriptorSet() 197 bufferInfo.offset = 0; in initDescriptorSet() 198 bufferInfo.range = VK_WHOLE_SIZE; in initDescriptorSet() 227 VkDescriptorBufferInfo &bufferInfo = descriptorBufferInfo[bufferIndex]; in updateDescriptorSet() local 235 bufferInfo.buffer = bufferHelper.getBuffer().getHandle(); in updateDescriptorSet() 236 bufferInfo.offset = mTransformFeedbackBufferRange.alignedOffsets[bufferIndex]; in updateDescriptorSet() 237 bufferInfo.range = mTransformFeedbackBufferRange.sizes[bufferIndex] + in updateDescriptorSet() 240 bufferInfo.range = (bufferInfo.range == 0) ? bufferHelper.getSize() : bufferInfo.range; in updateDescriptorSet()
|
D | ProgramExecutableVk.cpp | 840 VkDescriptorBufferInfo bufferInfo; in updateDefaultUniformsDescriptorSet() local 846 bufferInfo.buffer = bufferHelper->getBuffer().getHandle(); in updateDefaultUniformsDescriptorSet() 852 bufferInfo.buffer = mEmptyBuffer.getBuffer().getHandle(); in updateDefaultUniformsDescriptorSet() 856 bufferInfo.offset = 0; in updateDefaultUniformsDescriptorSet() 857 bufferInfo.range = VK_WHOLE_SIZE; in updateDefaultUniformsDescriptorSet() 867 writeInfo.pBufferInfo = &bufferInfo; in updateDefaultUniformsDescriptorSet() 926 VkDescriptorBufferInfo &bufferInfo = descriptorBufferInfo[writeCount]; in updateBuffersDescriptorSet() local 930 binding, arrayElement, 0, &bufferInfo, &writeInfo); in updateBuffersDescriptorSet() 1002 VkDescriptorBufferInfo &bufferInfo = descriptorBufferInfo[binding]; in updateAtomicCounterBuffersDescriptorSet() local 1007 requiredOffsetAlignment, &bufferInfo, &writeInfo); in updateAtomicCounterBuffersDescriptorSet() [all …]
|
D | UtilsVk.cpp | 1586 VkDescriptorBufferInfo bufferInfo = {}; in stencilBlitResolveNoShaderExport() local 1587 bufferInfo.buffer = blitBuffer.get().getBuffer().getHandle(); in stencilBlitResolveNoShaderExport() 1588 bufferInfo.offset = 0; in stencilBlitResolveNoShaderExport() 1589 bufferInfo.range = VK_WHOLE_SIZE; in stencilBlitResolveNoShaderExport() 1600 writeInfos[0].pBufferInfo = &bufferInfo; in stencilBlitResolveNoShaderExport() 1816 VkDescriptorBufferInfo bufferInfo = {}; in cullOverlayWidgets() local 1817 bufferInfo.buffer = enabledWidgetsBuffer->getBuffer().getHandle(); in cullOverlayWidgets() 1818 bufferInfo.offset = 0; in cullOverlayWidgets() 1819 bufferInfo.range = VK_WHOLE_SIZE; in cullOverlayWidgets() 1834 writeInfos[1].pBufferInfo = &bufferInfo; in cullOverlayWidgets()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/ |
D | MediaCodecAsyncCallback.java | 60 public int dequeueOutputBufferIndex(MediaCodec.BufferInfo bufferInfo) { in dequeueOutputBufferIndex() argument 67 bufferInfo.set( in dequeueOutputBufferIndex() 128 MediaCodec mediaCodec, int i, MediaCodec.BufferInfo bufferInfo) { in onOutputBufferAvailable() argument 130 bufferInfos.add(bufferInfo); in onOutputBufferAvailable()
|
D | SynchronousMediaCodecAdapter.java | 45 public int dequeueOutputBufferIndex(MediaCodec.BufferInfo bufferInfo) { in dequeueOutputBufferIndex() argument 46 return codec.dequeueOutputBuffer(bufferInfo, 0); in dequeueOutputBufferIndex()
|
D | MultiLockAsyncMediaCodecAdapter.java | 185 public int dequeueOutputBufferIndex(MediaCodec.BufferInfo bufferInfo) { in dequeueOutputBufferIndex() argument 191 return dequeueAvailableOutputBufferIndex(bufferInfo); in dequeueOutputBufferIndex() 258 private int dequeueAvailableOutputBufferIndex(MediaCodec.BufferInfo bufferInfo) { in dequeueAvailableOutputBufferIndex() argument 269 bufferInfo.set( in dequeueAvailableOutputBufferIndex()
|
D | AsynchronousMediaCodecAdapter.java | 91 public int dequeueOutputBufferIndex(MediaCodec.BufferInfo bufferInfo) { in dequeueOutputBufferIndex() argument 96 return mediaCodecAsyncCallback.dequeueOutputBufferIndex(bufferInfo); in dequeueOutputBufferIndex()
|
D | MediaCodecAdapter.java | 59 int dequeueOutputBufferIndex(MediaCodec.BufferInfo bufferInfo); in dequeueOutputBufferIndex() argument
|
D | DedicatedThreadAsyncMediaCodecAdapter.java | 153 public synchronized int dequeueOutputBufferIndex(MediaCodec.BufferInfo bufferInfo) { in dequeueOutputBufferIndex() argument 158 return mediaCodecAsyncCallback.dequeueOutputBufferIndex(bufferInfo); in dequeueOutputBufferIndex()
|
/external/skia/tests/ |
D | VkDrawableTest.cpp | 103 const SkImageInfo& bufferInfo) in DrawHandlerImport() argument 110 , fBufferInfo(bufferInfo) {} in DrawHandlerImport() 135 const SkImageInfo& bufferInfo, const GrVkDrawableInfo& info) { in ImportDraw() argument 136 … td->fDrawContext = GrVkSecondaryCBDrawContext::Make(td->fContext, bufferInfo, info, nullptr); in ImportDraw() 153 bufferInfo); in ImportDraw() 186 const SkImageInfo& bufferInfo) override { in onSnapGpuDrawHandler() argument 193 clipBounds, bufferInfo)); in onSnapGpuDrawHandler()
|
/external/skqp/tests/ |
D | VkDrawableTest.cpp | 103 const SkImageInfo& bufferInfo) in DrawHandlerImport() argument 110 , fBufferInfo(bufferInfo) {} in DrawHandlerImport() 135 const SkImageInfo& bufferInfo, const GrVkDrawableInfo& info) { in ImportDraw() argument 136 … td->fDrawContext = GrVkSecondaryCBDrawContext::Make(td->fContext, bufferInfo, info, nullptr); in ImportDraw() 153 bufferInfo); in ImportDraw() 186 const SkImageInfo& bufferInfo) override { in onSnapGpuDrawHandler() argument 193 clipBounds, bufferInfo)); in onSnapGpuDrawHandler()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipelineState.cpp | 248 VkDescriptorBufferInfo* bufferInfo, in set_uniform_descriptor_writes() argument 252 memset(bufferInfo, 0, sizeof(VkDescriptorBufferInfo)); in set_uniform_descriptor_writes() 253 bufferInfo->buffer = buffer->buffer(); in set_uniform_descriptor_writes() 254 bufferInfo->offset = buffer->offset(); in set_uniform_descriptor_writes() 255 bufferInfo->range = buffer->size(); in set_uniform_descriptor_writes() 266 descriptorWrite->pBufferInfo = bufferInfo; in set_uniform_descriptor_writes()
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipelineState.cpp | 299 VkDescriptorBufferInfo* bufferInfo, in set_uniform_descriptor_writes() argument 304 memset(bufferInfo, 0, sizeof(VkDescriptorBufferInfo)); in set_uniform_descriptor_writes() 305 bufferInfo->buffer = buffer->buffer(); in set_uniform_descriptor_writes() 306 bufferInfo->offset = buffer->offset(); in set_uniform_descriptor_writes() 307 bufferInfo->range = buffer->size(); in set_uniform_descriptor_writes() 318 descriptorWrite->pBufferInfo = bufferInfo; in set_uniform_descriptor_writes()
|
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTestsUtils.cpp | 255 const VkDescriptorBufferInfo& bufferInfo, in recordCopyBufferToImage() argument 271 VkDeviceSize bufferOffset = bufferInfo.offset; in recordCopyBufferToImage() 331 bufferInfo.buffer, // buffer; in recordCopyBufferToImage() 332 bufferInfo.offset, // offset; in recordCopyBufferToImage() 333 bufferInfo.range // size; in recordCopyBufferToImage() 358 …interface.cmdCopyBufferToImage(cmd, bufferInfo.buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL… in recordCopyBufferToImage() 377 const VkDescriptorBufferInfo& bufferInfo) in recordCopyImageToBuffer() argument 385 bufferInfo.offset, // bufferOffset in recordCopyImageToBuffer() 443 …interface.cmdCopyImageToBuffer(cmd, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, bufferInfo.buffer… in recordCopyImageToBuffer()
|
D | vktDescriptorSetsIndexingTests.hpp | 168 const VkDescriptorBufferInfo& bufferInfo, 185 const VkDescriptorBufferInfo& bufferInfo);
|
/external/skqp/include/core/ |
D | SkDrawable.h | 84 const SkImageInfo& bufferInfo) { in snapGpuDrawHandler() argument 85 return this->onSnapGpuDrawHandler(backendApi, matrix, clipBounds, bufferInfo); in snapGpuDrawHandler()
|
/external/skia/include/core/ |
D | SkDrawable.h | 84 const SkImageInfo& bufferInfo) { in snapGpuDrawHandler() argument 85 return this->onSnapGpuDrawHandler(backendApi, matrix, clipBounds, bufferInfo); in snapGpuDrawHandler()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktAtomicOperationTests.cpp | 576 VkDescriptorBufferInfo bufferInfo; in iterate() local 577 bufferInfo.buffer = buffer.getBuffer(); in iterate() 578 bufferInfo.offset = 0u; in iterate() 579 bufferInfo.range = VK_WHOLE_SIZE; in iterate() 591 &bufferInfo, in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferComputeInstance.cpp | 168 …const vk::VkDescriptorBufferInfo bufferInfo = makeDescriptorBufferInfo(buffer, (vk::VkDevice… in createDescriptorSet() local 186 …DescriptorSetUpdateBuilder::Location::binding(1u), VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, &bufferInfo); in createDescriptorSet()
|
/external/angle/third_party/VulkanMemoryAllocator/ |
D | README.md | 76 VkBufferCreateInfo bufferInfo = { VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO }; 77 bufferInfo.size = 65536; 78 bufferInfo.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT; 85 vmaCreateBuffer(allocator, &bufferInfo, &allocInfo, &buffer, &allocation, nullptr);
|
/external/angle/third_party/VulkanMemoryAllocator/src/ |
D | Tests.cpp | 373 VkBufferCreateInfo bufferInfo = { VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO }; in MainTest() local 374 bufferInfo.size = bufferSize; in MainTest() 375 bufferInfo.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; in MainTest() 379 …res = vmaCreateBuffer(g_hAllocator, &bufferInfo, &memReq, &allocation.Buffer, &allocation.Alloc, &… in MainTest() 1193 VkBufferCreateInfo bufferInfo = { VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO }; in CreateAllocation() local 1194 bufferInfo.size = bufferSize; in CreateAllocation() 1195 bufferInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in CreateAllocation() 1197 …VkResult res = vmaCreateBuffer(g_hAllocator, &bufferInfo, &vmaMemReq, &outAllocation.m_Buffer, &ou… in CreateAllocation() 1198 outAllocation.m_BufferInfo = bufferInfo; in CreateAllocation() 3895 VkBufferCreateInfo bufferInfo = { VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO }; in TestPool_SameSize() local [all …]
|