Home
last modified time | relevance | path

Searched refs:mprops (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvulkan.c96 VkPhysicalDeviceMemoryProperties mprops; in vk_alloc_mem() local
105 vkGetPhysicalDeviceMemoryProperties(s->hwctx->phys_dev, &mprops); in vk_alloc_mem()
115 for (int i = 0; i < mprops.memoryTypeCount; i++) { in vk_alloc_mem()
121 if ((mprops.memoryTypes[i].propertyFlags & req_flags) != req_flags) in vk_alloc_mem()
145 *mem_flags |= mprops.memoryTypes[index].propertyFlags; in vk_alloc_mem()
/third_party/ffmpeg/libavutil/
Dhwcontext_vulkan.c66 VkPhysicalDeviceMemoryProperties mprops; member
1164 vkGetPhysicalDeviceMemoryProperties(hwctx->phys_dev, &p->mprops); in vulkan_device_init()
1319 for (int i = 0; i < p->mprops.memoryTypeCount; i++) { in alloc_mem()
1320 const VkMemoryType *type = &p->mprops.memoryTypes[i]; in alloc_mem()
1331 if (req->size > p->mprops.memoryHeaps[type->heapIndex].size) in alloc_mem()
1355 *mem_flags |= p->mprops.memoryTypes[index].propertyFlags; in alloc_mem()