Home
last modified time | relevance | path

Searched refs:base_mem (Results 1 – 3 of 3) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkvideomemory.c293 gst_msdk_video_memory_map_full (GstMemory * base_mem, GstMapInfo * info, in gst_msdk_video_memory_map_full() argument
296 GstMsdkVideoMemory *const mem = GST_MSDK_VIDEO_MEMORY_CAST (base_mem); in gst_msdk_video_memory_map_full()
297 GstAllocator *allocator = base_mem->allocator; in gst_msdk_video_memory_map_full()
349 gst_msdk_video_memory_unmap (GstMemory * base_mem) in gst_msdk_video_memory_unmap() argument
351 GstMsdkVideoMemory *const mem = GST_MSDK_VIDEO_MEMORY_CAST (base_mem); in gst_msdk_video_memory_unmap()
352 GstAllocator *allocator = base_mem->allocator; in gst_msdk_video_memory_unmap()
361 gst_msdk_video_memory_copy (GstMemory * base_mem, gssize offset, gssize size) in gst_msdk_video_memory_copy() argument
370 copy = gst_msdk_video_memory_new (base_mem->allocator); in gst_msdk_video_memory_copy()
373 GST_ERROR_OBJECT (base_mem->allocator, "Failed to create new video memory"); in gst_msdk_video_memory_copy()
377 msdk_video_allocator = GST_MSDK_VIDEO_ALLOCATOR_CAST (base_mem->allocator); in gst_msdk_video_memory_copy()
[all …]
Dgstmsdksystemmemory.c247 gst_msdk_system_memory_map_full (GstMemory * base_mem, GstMapInfo * info, in gst_msdk_system_memory_map_full() argument
250 GstMsdkSystemMemory *const mem = GST_MSDK_SYSTEM_MEMORY_CAST (base_mem); in gst_msdk_system_memory_map_full()
297 gst_msdk_system_memory_unmap (GstMemory * base_mem) in gst_msdk_system_memory_unmap() argument
302 gst_msdk_system_memory_copy (GstMemory * base_mem, gssize offset, gssize size) in gst_msdk_system_memory_copy() argument
311 (GstMsdkSystemMemory *) gst_msdk_system_memory_new (base_mem->allocator); in gst_msdk_system_memory_copy()
313 msdk_allocator = GST_MSDK_SYSTEM_ALLOCATOR_CAST (base_mem->allocator); in gst_msdk_system_memory_copy()
318 memcpy (copy->cache, GST_MSDK_SYSTEM_MEMORY_CAST (base_mem)->cache, mem_size); in gst_msdk_system_memory_copy()
328 gst_msdk_system_allocator_free (GstAllocator * allocator, GstMemory * base_mem) in gst_msdk_system_allocator_free() argument
330 GstMsdkSystemMemory *const mem = GST_MSDK_SYSTEM_MEMORY_CAST (base_mem); in gst_msdk_system_allocator_free()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_device_memory.c132 struct vn_device_memory **base_mem, in vn_device_memory_pool_alloc() argument
157 *base_mem = pool->memory; in vn_device_memory_pool_alloc()
170 struct vn_device_memory *base_mem, in vn_device_memory_pool_free() argument
175 vn_device_memory_simple_free(dev, base_mem); in vn_device_memory_pool_free()