Searched refs:vk_mem (Results 1 – 7 of 7) sorted by relevance
/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | vkimage.c | 62 GstVulkanImageMemory *vk_mem; in create_image_mem() local 76 vk_mem = (GstVulkanImageMemory *) mem; in create_image_mem() 77 fail_unless (vk_mem->usage == usage); in create_image_mem() 78 return vk_mem; in create_image_mem() 83 GstVulkanImageMemory *vk_mem; in GST_START_TEST() local 88 vk_mem = create_image_mem (&v_info); in GST_START_TEST() 90 fail_unless (vk_mem->device == device); in GST_START_TEST() 91 fail_unless (vk_mem->vk_mem != NULL); in GST_START_TEST() 93 size = gst_memory_get_sizes ((GstMemory *) vk_mem, &offset, NULL); in GST_START_TEST() 95 check_size ((GstMemory *) vk_mem, v_info.size); in GST_START_TEST() [all …]
|
D | vkmemory.c | 61 GstVulkanBufferMemory *vk_mem; in GST_START_TEST() local 70 vk_mem = (GstVulkanBufferMemory *) mem; in GST_START_TEST() 72 fail_unless (vk_mem->device == device); in GST_START_TEST() 73 fail_unless (vk_mem->usage == usage); in GST_START_TEST() 74 fail_unless (vk_mem->vk_mem != NULL); in GST_START_TEST() 79 fail_unless (vk_mem->requirements.size >= size); in GST_START_TEST() 81 size = gst_memory_get_sizes ((GstMemory *) vk_mem->vk_mem, &offset, NULL); in GST_START_TEST() 83 check_size ((GstMemory *) vk_mem->vk_mem, orig_size); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | videotexturecache-vulkan.mm | 252 GstVulkanImageMemory *vk_mem = (GstVulkanImageMemory *) memory; 254 tex_desc.pixelFormat = mvkMTLPixelFormatFromVkFormat (vk_mem->create_info.format); 255 tex_desc.textureType = mvkMTLTextureTypeFromVkImageType (vk_mem->create_info.imageType, 0, false); 256 tex_desc.width = vk_mem->create_info.extent.width; 257 tex_desc.height = vk_mem->create_info.extent.height; 258 tex_desc.depth = vk_mem->create_info.extent.depth; 259 tex_desc.mipmapLevelCount = vk_mem->create_info.mipLevels; 260 tex_desc.sampleCount = mvkSampleCountFromVkSampleCountFlagBits(vk_mem->create_info.samples); 261 tex_desc.arrayLength = vk_mem->create_info.arrayLayers; 262 …MTLTextureUsagePixelFormatView;//mvkMTLTextureUsageFromVkImageUsageFlags(vk_mem->create_info.usage… [all …]
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkbuffermemory.c | 139 mem->vk_mem = (GstVulkanMemory *) gst_vulkan_memory_alloc (device, type_idx, in _vk_buffer_mem_new_alloc() 141 if (!mem->vk_mem) in _vk_buffer_mem_new_alloc() 144 err = vkBindBufferMemory (device->device, buffer, mem->vk_mem->mem_ptr, 0); in _vk_buffer_mem_new_alloc() 197 if (!mem->vk_mem) { in _vk_buffer_mem_map_full() 204 if (!gst_memory_map ((GstMemory *) mem->vk_mem, vk_map_info, info->flags)) { in _vk_buffer_mem_map_full() 218 gst_memory_unmap ((GstMemory *) mem->vk_mem, info->user_data[0]); in _vk_buffer_mem_unmap_full() 263 if (mem->vk_mem) in _vk_buffer_mem_free() 264 gst_memory_unref ((GstMemory *) mem->vk_mem); in _vk_buffer_mem_free()
|
D | gstvkimagememory.c | 259 mem->vk_mem = (GstVulkanMemory *) gst_vulkan_memory_alloc (device, type_idx, in _vk_image_mem_new_alloc() 261 if (!mem->vk_mem) in _vk_image_mem_new_alloc() 264 err = vkBindImageMemory (device->device, image, mem->vk_mem->mem_ptr, 0); in _vk_image_mem_new_alloc() 348 if (!mem->vk_mem) { in _vk_image_mem_map_full() 355 if (!gst_memory_map ((GstMemory *) mem->vk_mem, vk_map_info, info->flags)) { in _vk_image_mem_map_full() 369 gst_memory_unmap ((GstMemory *) mem->vk_mem, info->user_data[0]); in _vk_image_mem_unmap_full() 426 if (mem->vk_mem) in _vk_image_mem_free() 427 gst_memory_unref ((GstMemory *) mem->vk_mem); in _vk_image_mem_free()
|
D | gstvkbuffermemory.h | 96 GstVulkanMemory *vk_mem; member
|
D | gstvkimagememory.h | 98 GstVulkanMemory *vk_mem; member
|