Home
last modified time | relevance | path

Searched refs:alloc_info (Results 1 – 22 of 22) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvapool.c37 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/
Dvn_device_memory.c179 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 …]
Dvn_android.h56 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
Dvn_android.c936 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 …]
Dvn_device_memory.h49 const VkMemoryAllocateInfo *alloc_info,
/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_vulkan.cpp189 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()
192alloc_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()
357alloc_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/
Dgstvkmemory.c72 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, &params, size, in _vk_mem_share()
Dgstvkdescriptorpool.c163 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()
Dgstvkmemory.h81 VkMemoryAllocateInfo alloc_info; member
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_vulkan.cpp362 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()
365alloc_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()
578alloc_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/
Dvulkan_command_buffer_utils.cpp1129 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/
Dvulkan_command_buffer_utils.cpp1140 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/
Dvulkan_surface.cc244 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/
Dvulkan.c99 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/
Doverlay.cpp1151 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/
Dgstmsdkdec.c1054 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/
Dvulkan.c1482 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/
Dhwcontext_vulkan.c1311 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/
Dnode_http2.cc494 nghttp2_mem alloc_info = MakeAllocator(); in Http2Session() local
507 &alloc_info), 0); in Http2Session()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c2311 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/
Dradv_device.c2816 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/
DChangeLog17083 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.