/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvapool.c | 37 GstVideoInfo alloc_info; member 87 GstVideoInfo caps_info, alloc_info; in gst_va_pool_set_config() local 137 alloc_info = caps_info; in gst_va_pool_set_config() 138 GST_VIDEO_INFO_WIDTH (&alloc_info) = width; in gst_va_pool_set_config() 139 GST_VIDEO_INFO_HEIGHT (&alloc_info) = height; in gst_va_pool_set_config() 142 if (!gst_va_dmabuf_allocator_set_format (allocator, &alloc_info, in gst_va_pool_set_config() 146 if (!gst_va_allocator_set_format (allocator, &alloc_info, usage_hint)) in gst_va_pool_set_config() 154 vpool->alloc_info = alloc_info; in gst_va_pool_set_config() 158 GST_VIDEO_INFO_PLANE_STRIDE (&alloc_info, i) || in gst_va_pool_set_config() 160 GST_VIDEO_INFO_PLANE_OFFSET (&alloc_info, i)) { in gst_va_pool_set_config() [all …]
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_device_memory.c | 179 vn_device_memory_should_suballocate(const VkMemoryAllocateInfo *alloc_info, in vn_device_memory_should_suballocate() argument 193 if (alloc_info->allocationSize > 64 * 1024) in vn_device_memory_should_suballocate() 199 if (alloc_info->pNext) { in vn_device_memory_should_suballocate() 200 const VkMemoryDedicatedAllocateInfo *dedicated = alloc_info->pNext; in vn_device_memory_should_suballocate() 226 const VkMemoryAllocateInfo *alloc_info, in vn_device_memory_import_dma_buf() argument 235 mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags; in vn_device_memory_import_dma_buf() 243 dev->renderer, alloc_info->allocationSize, fd, mem_flags, &bo); in vn_device_memory_import_dma_buf() 252 .pNext = alloc_info->pNext, in vn_device_memory_import_dma_buf() 258 .allocationSize = alloc_info->allocationSize, in vn_device_memory_import_dma_buf() 259 .memoryTypeIndex = alloc_info->memoryTypeIndex, in vn_device_memory_import_dma_buf() [all …]
|
D | vn_android.h | 56 const VkMemoryAllocateInfo *alloc_info, 63 const VkMemoryAllocateInfo *alloc_info, 126 UNUSED const VkMemoryAllocateInfo *alloc_info, in vn_android_device_import_ahb() argument 136 UNUSED const VkMemoryAllocateInfo *alloc_info, in vn_android_device_allocate_ahb() argument
|
D | vn_android.c | 936 const VkMemoryAllocateInfo *alloc_info, in vn_android_device_import_ahb() argument 942 vk_find_struct_const(alloc_info->pNext, MEMORY_DEDICATED_ALLOCATE_INFO); in vn_android_device_import_ahb() 961 if (((1 << alloc_info->memoryTypeIndex) & mem_type_bits) == 0) { in vn_android_device_import_ahb() 963 alloc_info->memoryTypeIndex, mem_type_bits); in vn_android_device_import_ahb() 1034 .memoryTypeIndex = alloc_info->memoryTypeIndex, in vn_android_device_import_ahb() 1052 const VkMemoryAllocateInfo *alloc_info, in vn_android_device_allocate_ahb() argument 1056 vk_find_struct_const(alloc_info->pNext, MEMORY_DEDICATED_ALLOCATE_INFO); in vn_android_device_allocate_ahb() 1077 assert(alloc_info->memoryTypeIndex < mem_props->memoryTypeCount); in vn_android_device_allocate_ahb() 1079 width = alloc_info->allocationSize; in vn_android_device_allocate_ahb() 1082 if (mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags & in vn_android_device_allocate_ahb() [all …]
|
D | vn_device_memory.h | 49 const VkMemoryAllocateInfo *alloc_info,
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_vulkan.cpp | 189 VkMemoryAllocateInfo alloc_info = {}; in CreateOrResizeBuffer() local 190 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in CreateOrResizeBuffer() 191 alloc_info.allocationSize = req.size; in CreateOrResizeBuffer() 192 …alloc_info.memoryTypeIndex = ImGui_ImplVulkan_MemoryType(VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT, req.… in CreateOrResizeBuffer() 193 err = vkAllocateMemory(g_Device, &alloc_info, g_Allocator, &buffer_memory); in CreateOrResizeBuffer() 354 VkMemoryAllocateInfo alloc_info = {}; in ImGui_ImplVulkan_CreateFontsTexture() local 355 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in ImGui_ImplVulkan_CreateFontsTexture() 356 alloc_info.allocationSize = req.size; in ImGui_ImplVulkan_CreateFontsTexture() 357 …alloc_info.memoryTypeIndex = ImGui_ImplVulkan_MemoryType(VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, req.… in ImGui_ImplVulkan_CreateFontsTexture() 358 err = vkAllocateMemory(g_Device, &alloc_info, g_Allocator, &g_FontMemory); in ImGui_ImplVulkan_CreateFontsTexture() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkmemory.c | 72 mem->alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in _vk_mem_init() 73 mem->alloc_info.pNext = NULL; in _vk_mem_init() 74 mem->alloc_info.allocationSize = (VkDeviceSize) mem->mem.maxsize; in _vk_mem_init() 75 mem->alloc_info.memoryTypeIndex = memory_type_index; in _vk_mem_init() 106 vkAllocateMemory (device->device, &mem->alloc_info, NULL, &mem->mem_ptr); in _vk_mem_new() 172 parent->device, parent->alloc_info.memoryTypeIndex, ¶ms, size, in _vk_mem_share()
|
D | gstvkdescriptorpool.c | 163 VkDescriptorSetAllocateInfo alloc_info; in descriptor_set_alloc() local 174 alloc_info = (VkDescriptorSetAllocateInfo) { in descriptor_set_alloc() 184 vkAllocateDescriptorSets (pool->device->device, &alloc_info, &descriptor); in descriptor_set_alloc()
|
D | gstvkmemory.h | 81 VkMemoryAllocateInfo alloc_info; member
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_vulkan.cpp | 362 VkMemoryAllocateInfo alloc_info = {}; in CreateOrResizeBuffer() local 363 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in CreateOrResizeBuffer() 364 alloc_info.allocationSize = req.size; in CreateOrResizeBuffer() 365 …alloc_info.memoryTypeIndex = ImGui_ImplVulkan_MemoryType(VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT, req.… in CreateOrResizeBuffer() 366 err = vkAllocateMemory(v->Device, &alloc_info, v->Allocator, &buffer_memory); in CreateOrResizeBuffer() 575 VkMemoryAllocateInfo alloc_info = {}; in ImGui_ImplVulkan_CreateFontsTexture() local 576 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in ImGui_ImplVulkan_CreateFontsTexture() 577 alloc_info.allocationSize = req.size; in ImGui_ImplVulkan_CreateFontsTexture() 578 …alloc_info.memoryTypeIndex = ImGui_ImplVulkan_MemoryType(VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, req.… in ImGui_ImplVulkan_CreateFontsTexture() 579 err = vkAllocateMemory(v->Device, &alloc_info, v->Allocator, &bd->FontMemory); in ImGui_ImplVulkan_CreateFontsTexture() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/third_party/ |
D | vulkan_command_buffer_utils.cpp | 1129 VkMemoryAllocateInfo alloc_info = {}; in init_uniform_buffer() local 1130 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init_uniform_buffer() 1131 alloc_info.pNext = NULL; in init_uniform_buffer() 1132 alloc_info.memoryTypeIndex = 0; in init_uniform_buffer() 1134 alloc_info.allocationSize = mem_reqs.size; in init_uniform_buffer() 1138 &alloc_info.memoryTypeIndex); in init_uniform_buffer() 1141 res = vkAllocateMemory(info.device, &alloc_info, NULL, &(info.uniform_data.mem)); in init_uniform_buffer() 1332 VkMemoryAllocateInfo alloc_info = {}; in init_vertex_buffer() local 1333 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init_vertex_buffer() 1334 alloc_info.pNext = NULL; in init_vertex_buffer() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/ |
D | vulkan_command_buffer_utils.cpp | 1140 VkMemoryAllocateInfo alloc_info = {}; in init_uniform_buffer() local 1141 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init_uniform_buffer() 1142 alloc_info.pNext = NULL; in init_uniform_buffer() 1143 alloc_info.memoryTypeIndex = 0; in init_uniform_buffer() 1145 alloc_info.allocationSize = mem_reqs.size; in init_uniform_buffer() 1149 &alloc_info.memoryTypeIndex); in init_uniform_buffer() 1152 res = vkAllocateMemory(info.device, &alloc_info, NULL, &(info.uniform_data.mem)); in init_uniform_buffer() 1343 VkMemoryAllocateInfo alloc_info = {}; in init_vertex_buffer() local 1344 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init_vertex_buffer() 1345 alloc_info.pNext = NULL; in init_vertex_buffer() [all …]
|
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/ |
D | vulkan_surface.cc | 244 const VkMemoryAllocateInfo alloc_info = { in AllocateDeviceMemory() local 255 vulkan_provider_.vk_device(), &alloc_info, NULL, &vk_memory)) != in AllocateDeviceMemory() 266 vk_memory_info_ = alloc_info; in AllocateDeviceMemory()
|
/third_party/ffmpeg/libavfilter/ |
D | vulkan.c | 99 VkMemoryAllocateInfo alloc_info = { in vk_alloc_mem() local 111 alloc_info.allocationSize = req->size; in vk_alloc_mem() 135 alloc_info.memoryTypeIndex = index; in vk_alloc_mem() 137 ret = vkAllocateMemory(s->hwctx->act_dev, &alloc_info, in vk_alloc_mem() 1206 VkDescriptorSetAllocateInfo alloc_info = { in ff_vk_init_pipeline_layout() local 1217 ret = vkAllocateDescriptorSets(s->hwctx->act_dev, &alloc_info, in ff_vk_init_pipeline_layout()
|
/third_party/mesa3d/src/vulkan/overlay-layer/ |
D | overlay.cpp | 1151 VkMemoryAllocateInfo alloc_info = {}; in CreateOrResizeBuffer() local 1152 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in CreateOrResizeBuffer() 1153 alloc_info.allocationSize = req.size; in CreateOrResizeBuffer() 1154 alloc_info.memoryTypeIndex = in CreateOrResizeBuffer() 1156 VK_CHECK(data->vtable.AllocateMemory(data->device, &alloc_info, NULL, buffer_memory)); in CreateOrResizeBuffer() 1488 VkDescriptorSetAllocateInfo alloc_info = {}; in setup_swapchain_data_pipeline() local 1489 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in setup_swapchain_data_pipeline() 1490 alloc_info.descriptorPool = data->descriptor_pool; in setup_swapchain_data_pipeline() 1491 alloc_info.descriptorSetCount = 1; in setup_swapchain_data_pipeline() 1492 alloc_info.pSetLayouts = &data->descriptor_layout; in setup_swapchain_data_pipeline() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/msdk/ |
D | gstmsdkdec.c | 1054 GstVideoInfo alloc_info; in gst_msdkdec_handle_frame() local 1182 gst_video_info_from_caps (&alloc_info, output_state->allocation_caps); in gst_msdkdec_handle_frame() 1186 GST_VIDEO_INFO_WIDTH (&alloc_info) in gst_msdkdec_handle_frame() 1188 GST_VIDEO_INFO_HEIGHT (&alloc_info)) in gst_msdkdec_handle_frame()
|
/third_party/flutter/glfw/tests/ |
D | vulkan.c | 1482 VkDescriptorSetAllocateInfo alloc_info = { in demo_prepare_descriptor_set() local 1488 err = vkAllocateDescriptorSets(demo->device, &alloc_info, &demo->desc_set); in demo_prepare_descriptor_set()
|
/third_party/ffmpeg/libavutil/ |
D | hwcontext_vulkan.c | 1311 VkMemoryAllocateInfo alloc_info = { in alloc_mem() local 1345 alloc_info.memoryTypeIndex = index; in alloc_mem() 1347 ret = vkAllocateMemory(dev_hwctx->act_dev, &alloc_info, in alloc_mem()
|
/third_party/node/src/ |
D | node_http2.cc | 494 nghttp2_mem alloc_info = MakeAllocator(); in Http2Session() local 507 &alloc_info), 0); in Http2Session()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_copy.c | 2311 VkMemoryAllocateInfo alloc_info = { in copy_buffer_to_image_blit() local 2316 result = v3dv_AllocateMemory(_device, &alloc_info, &device->vk.alloc, &mem); in copy_buffer_to_image_blit()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 2816 VkMemoryAllocateInfo alloc_info = { in radv_device_init_vrs_state() local 2821 result = radv_AllocateMemory(radv_device_to_handle(device), &alloc_info, in radv_device_init_vrs_state()
|
/third_party/gstreamer/gstplugins_bad/ |
D | ChangeLog | 17083 map correctly. When the stride or the offset of the alloc_info is 18317 alloc_info. We should update the video_align.stride_align based 44593 Previously alloc_info is initialized when both thiz->initialized 44595 checked when alloc_info is used.
|