/third_party/gstreamer/gstreamer/gst/ |
D | gstmemory.h | 40 typedef struct _GstMemory GstMemory; typedef 43 #define GST_MEMORY_CAST(mem) ((GstMemory *)(mem)) 166 GstMemory *parent; 210 GstMemory *memory; 242 typedef gpointer (*GstMemoryMapFunction) (GstMemory *mem, gsize maxsize, GstMapFlags flags… 257 typedef gpointer (*GstMemoryMapFullFunction) (GstMemory *mem, GstMapInfo * info, gsize max… 265 typedef void (*GstMemoryUnmapFunction) (GstMemory *mem); 274 typedef void (*GstMemoryUnmapFullFunction) (GstMemory *mem, GstMapInfo * info); 289 typedef GstMemory * (*GstMemoryCopyFunction) (GstMemory *mem, gssize offset, gssize size); 303 typedef GstMemory * (*GstMemoryShareFunction) (GstMemory *mem, gssize offset, gssize size); [all …]
|
D | gstmemory.c | 75 GST_DEFINE_MINI_OBJECT_TYPE (GstMemory, gst_memory); 77 static GstMemory * 78 _gst_memory_copy (GstMemory * mem) in _gst_memory_copy() 85 _gst_memory_free (GstMemory * mem) in _gst_memory_free() 118 gst_memory_init (GstMemory * mem, GstMemoryFlags flags, in gst_memory_init() 119 GstAllocator * allocator, GstMemory * parent, gsize maxsize, gsize align, in gst_memory_init() 156 gst_memory_is_type (GstMemory * mem, const gchar * mem_type) in gst_memory_is_type() 176 gst_memory_get_sizes (GstMemory * mem, gsize * offset, gsize * maxsize) in gst_memory_get_sizes() 201 gst_memory_resize (GstMemory * mem, gssize offset, gsize size) in gst_memory_resize() 236 GstMemory * [all …]
|
D | gstallocator.c | 90 static GstMemory * 91 _fallback_mem_copy (GstMemory * mem, gssize offset, gssize size) in _fallback_mem_copy() 93 GstMemory *copy; in _fallback_mem_copy() 127 _fallback_mem_is_span (GstMemory * mem1, GstMemory * mem2, gsize * offset) in _fallback_mem_is_span() 314 GstMemory * 318 GstMemory *mem; in gst_allocator_alloc() 348 gst_allocator_free (GstAllocator * allocator, GstMemory * memory) in gst_allocator_free() 364 GstMemory mem; 389 GstMemory * parent, gsize slice_size, in _sysmem_init() 405 GstMemory * parent, gpointer data, gsize maxsize, gsize align, gsize offset, in _sysmem_new() [all …]
|
D | gstbuffer.c | 163 GstMemory *mem[GST_BUFFER_MEM_MAX]; 166 GstMemory *bufmem; 211 _is_span (GstMemory ** mem, gsize len, gsize * poffset, GstMemory ** parent) in _is_span() 213 GstMemory *mcur, *mprv; in _is_span() 244 static GstMemory * 247 GstMemory **mem, *result = NULL; in _actual_merged_memory() 248 GstMemory *parent = NULL; in _actual_merged_memory() 302 static inline GstMemory * 320 GstMemory * mem) in _replace_memory() 332 GstMemory *old = GST_BUFFER_MEM_PTR (buffer, i); in _replace_memory() [all …]
|
D | gstallocator.h | 146 GstMemory * (*alloc) (GstAllocator *allocator, gsize size, 148 void (*free) (GstAllocator *allocator, GstMemory *memory); 186 GstMemory * gst_allocator_alloc (GstAllocator * allocator, gsize size, 190 void gst_allocator_free (GstAllocator * allocator, GstMemory *memory); 193 GstMemory * gst_memory_new_wrapped (GstMemoryFlags flags, gpointer data, gsize maxsize,
|
/third_party/gstreamer/gstplugins_bad/sys/kms/ |
D | gstkmsallocator.h | 56 GstMemory parent; 75 gboolean gst_is_kms_memory (GstMemory *mem); 76 guint32 gst_kms_memory_get_fb_id (GstMemory *mem); 80 GstMemory* gst_kms_allocator_bo_alloc (GstAllocator *allocator, 89 GstMemory* gst_kms_allocator_dmabuf_export (GstAllocator *allocator, 90 GstMemory *kmsmem); 92 GstMemory * gst_kms_allocator_get_cached (GstMemory * mem); 97 GstMemory * mem, 98 GstMemory * kmsmem);
|
D | gstkmsallocator.c | 85 gst_is_kms_memory (GstMemory * mem) in gst_is_kms_memory() 91 gst_kms_memory_get_fb_id (GstMemory * mem) in gst_kms_memory_get_fb_id() 255 gst_kms_allocator_free (GstAllocator * allocator, GstMemory * mem) in gst_kms_allocator_free() 347 gst_kms_memory_map (GstMemory * mem, gsize maxsize, GstMapFlags flags) in gst_kms_memory_map() 393 gst_kms_memory_unmap (GstMemory * mem) in gst_kms_memory_unmap() 483 GstMemory * 488 GstMemory *mem; in gst_kms_allocator_bo_alloc() 523 GstMemory *mem; in gst_kms_allocator_dmabuf_import() 576 GstMemory * 577 gst_kms_allocator_dmabuf_export (GstAllocator * allocator, GstMemory * _kmsmem) in gst_kms_allocator_dmabuf_export() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkbuffermemory.c | 65 GstMemory * parent, GstVulkanDevice * device, VkBufferUsageFlags usage, in _vk_buffer_mem_init() 99 _vk_buffer_mem_new_alloc (GstAllocator * allocator, GstMemory * parent, in _vk_buffer_mem_new_alloc() 161 gst_memory_unref ((GstMemory *) mem); in _vk_buffer_mem_new_alloc() 167 _vk_buffer_mem_new_wrapped (GstAllocator * allocator, GstMemory * parent, in _vk_buffer_mem_new_wrapped() 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() 224 static GstMemory * 230 static GstMemory * 243 static GstMemory * 253 _vk_buffer_mem_free (GstAllocator * allocator, GstMemory * memory) in _vk_buffer_mem_free() [all …]
|
D | gstvkimagememory.c | 160 GstAllocator * allocator, GstMemory * parent, GstVulkanDevice * device, in gst_vulkan_image_memory_init() 208 _vk_image_mem_new_alloc (GstAllocator * allocator, GstMemory * parent, in _vk_image_mem_new_alloc() 281 gst_memory_unref ((GstMemory *) mem); in _vk_image_mem_new_alloc() 287 _vk_image_mem_new_wrapped (GstAllocator * allocator, GstMemory * parent, in _vk_image_mem_new_wrapped() 334 gst_memory_unref ((GstMemory *) mem); in _vk_image_mem_new_wrapped() 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() 375 static GstMemory * 381 static GstMemory * 394 static GstMemory * [all …]
|
D | gstvkmemory.c | 51 GstMemory * parent, GstVulkanDevice * device, guint32 memory_type_index, in _vk_mem_init() 92 _vk_mem_new (GstAllocator * allocator, GstMemory * parent, in _vk_mem_new() 110 gst_memory_unref ((GstMemory *) mem); in _vk_mem_new() 148 static GstMemory * 154 static GstMemory * 187 static GstMemory * 197 _vk_mem_free (GstAllocator * allocator, GstMemory * memory) in _vk_mem_free() 264 GstMemory * 273 return (GstMemory *) mem; in gst_vulkan_memory_alloc() 337 gst_is_vulkan_memory (GstMemory * mem) in gst_is_vulkan_memory()
|
D | gstvkimagememory.h | 93 GstMemory parent; 164 gboolean gst_is_vulkan_image_memory (GstMemory * mem); 169 GstMemory * parent, 177 GstMemory * gst_vulkan_image_memory_alloc (GstVulkanDevice * device, 186 GstMemory * gst_vulkan_image_memory_wrapped (GstVulkanDevice * device,
|
D | gstvkbuffermemory.h | 91 GstMemory parent; 145 gboolean gst_is_vulkan_buffer_memory (GstMemory * mem); 148 GstMemory * gst_vulkan_buffer_memory_alloc (GstVulkanDevice * device, 154 GstMemory * gst_vulkan_buffer_memory_wrapped (GstVulkanDevice * device,
|
/third_party/gstreamer/gstreamer/tests/examples/memory/ |
D | my-vidmem.c | 26 GstMemory mem; 36 static GstMemory * 45 _my_free (GstAllocator * allocator, GstMemory * mem) in _my_free() 87 GstMemory *parent; in _my_vidmem_share() 94 parent = (GstMemory *) mem; in _my_vidmem_share() 154 GstMemory * 174 return (GstMemory *) mem; in my_vidmem_alloc() 178 my_is_vidmem (GstMemory * mem) in my_is_vidmem() 184 my_vidmem_get_format (GstMemory * mem, guint * format, guint * width, in my_vidmem_get_format()
|
D | my-memory.c | 24 GstMemory mem; 31 static GstMemory * 46 return (GstMemory *) mem; in _my_alloc() 50 _my_free (GstAllocator * allocator, GstMemory * mem) in _my_free() 92 GstMemory *parent; in _my_mem_share() 99 parent = (GstMemory *) mem; in _my_mem_share()
|
D | my-vidmem.h | 25 GstMemory * my_vidmem_alloc (guint format, guint width, guint height); 27 gboolean my_is_vidmem (GstMemory *mem); 29 void my_vidmem_get_format (GstMemory *mem, guint *format,
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/allocators/ |
D | gstfdmemory.c | 46 GstMemory mem; 57 gst_fd_mem_free (GstAllocator * allocator, GstMemory * gmem) in gst_fd_mem_free() 79 gst_fd_mem_map (GstMemory * gmem, gsize maxsize, GstMapFlags flags) in gst_fd_mem_map() 155 gst_fd_mem_unmap (GstMemory * gmem) in gst_fd_mem_unmap() 181 static GstMemory * 182 gst_fd_mem_share (GstMemory * gmem, gssize offset, gssize size) in gst_fd_mem_share() 187 GstMemory *parent; in gst_fd_mem_share() 194 parent = (GstMemory *) mem; in gst_fd_mem_share() 282 GstMemory * 302 return (GstMemory *) mem; in gst_fd_allocator_alloc() [all …]
|
D | gstdmabuf.c | 53 gst_dmabuf_mem_map (GstMemory * gmem, GstMapInfo * info, gsize maxsize) in gst_dmabuf_mem_map() 82 gst_dmabuf_mem_unmap (GstMemory * gmem, GstMapInfo * info) in gst_dmabuf_mem_unmap() 155 GstMemory * 180 GstMemory * 202 gst_dmabuf_memory_get_fd (GstMemory * mem) in gst_dmabuf_memory_get_fd() 220 gst_is_dmabuf_memory (GstMemory * mem) in gst_is_dmabuf_memory()
|
D | gstdmabuf.h | 105 GstMemory * gst_dmabuf_allocator_alloc (GstAllocator * allocator, gint fd, gsize size); 108 GstMemory * gst_dmabuf_allocator_alloc_with_flags (GstAllocator * allocator, gint fd, gsize size… 111 gint gst_dmabuf_memory_get_fd (GstMemory * mem); 114 gboolean gst_is_dmabuf_memory (GstMemory * mem);
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | gstglmemory.c | 75 GstMemory *mem; in GST_START_TEST() 90 GstMemory *mem; in GST_START_TEST() 102 static GstMemory * 110 GstMemory *mem; in create_memory() 124 mem = (GstMemory *) gst_gl_base_memory_alloc (base_mem_alloc, in create_memory() 150 GstMemory *mem; in GST_START_TEST() 171 GstMemory *mem, *mem2; in GST_START_TEST() 197 static GstMemory * 204 GstMemory *mem; in wrap_raw_data() 221 (GstMemory *) gst_gl_base_memory_alloc (base_mem_alloc, in wrap_raw_data() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/msdk/ |
D | gstmsdkvideomemory.h | 69 GstMemory parent_instance; 75 GstMemory * 79 gst_msdk_video_memory_get_surface_available (GstMemory * mem); 82 gst_msdk_video_memory_release_surface (GstMemory * mem); 144 GstMemory * 147 GstMemory *
|
D | gstmsdkvideomemory.c | 88 gst_msdk_video_memory_get_surface_available (GstMemory * mem) in gst_msdk_video_memory_get_surface_available() 114 gst_msdk_video_memory_release_surface (GstMemory * mem) in gst_msdk_video_memory_release_surface() 152 GstMemory * 293 gst_msdk_video_memory_map_full (GstMemory * base_mem, GstMapInfo * info, in gst_msdk_video_memory_map_full() 349 gst_msdk_video_memory_unmap (GstMemory * base_mem) in gst_msdk_video_memory_unmap() 360 static GstMemory * 361 gst_msdk_video_memory_copy (GstMemory * base_mem, gssize offset, gssize size) in gst_msdk_video_memory_copy() 363 GstMemory *copy; in gst_msdk_video_memory_copy() 396 static GstMemory * 415 gst_msdk_video_allocator_free (GstAllocator * allocator, GstMemory * base_mem) in gst_msdk_video_allocator_free() [all …]
|
/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | vkimage.c | 50 check_size (GstMemory * mem, gsize at_least) in check_size() 65 GstMemory *mem; in create_image_mem() 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() 98 size = gst_memory_get_sizes ((GstMemory *) vk_mem->vk_mem, &offset, NULL); in GST_START_TEST() 100 check_size ((GstMemory *) vk_mem->vk_mem, v_info.size); in GST_START_TEST() 102 gst_memory_unref ((GstMemory *) vk_mem); in GST_START_TEST() 119 gst_memory_unref ((GstMemory *) vk_mem); in GST_START_TEST() 138 gst_memory_unref ((GstMemory *) vk_mem); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | corevideomemory.c | 291 gst_is_apple_core_video_memory (GstMemory * mem) in gst_is_apple_core_video_memory() 305 gst_apple_core_video_memory_new (GstMemoryFlags flags, GstMemory * parent, in gst_apple_core_video_memory_new() 344 gst_apple_core_video_mem_map (GstMemory * gmem, gsize maxsize, in gst_apple_core_video_mem_map() 378 gst_apple_core_video_mem_unmap (GstMemory * gmem) in gst_apple_core_video_mem_unmap() 386 static GstMemory * 387 gst_apple_core_video_mem_share (GstMemory * gmem, gssize offset, gssize size) in gst_apple_core_video_mem_share() 390 GstMemory *parent, *sub; in gst_apple_core_video_mem_share() 412 gst_apple_core_video_mem_is_span (GstMemory * mem1, GstMemory * mem2, in gst_apple_core_video_mem_is_span() 429 gst_apple_core_video_mem_free (GstAllocator * allocator, GstMemory * gmem) in gst_apple_core_video_mem_free()
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstmemory.c | 31 GstMemory *memory, *sub; in GST_START_TEST() 100 GstMemory *memory, *sub1, *sub2; in GST_START_TEST() 129 static GstMemory * 132 GstMemory *mem; in create_read_only_memory() 145 GstMemory *mem, *mem2; in GST_START_TEST() 183 GstMemory *mem, *sub_mem; in GST_START_TEST() 203 GstMemory *memory, *copy; in GST_START_TEST() 246 GstMemory *mem; in GST_START_TEST() 274 GstMemory *mem; in GST_START_TEST() 372 GstMemory *mem; in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglbasememory.c | 131 GstMemory * parent, GstGLContext * context, in gst_gl_base_memory_init() 222 GstMemory *mem = (GstMemory *) gl_mem; in gst_gl_base_memory_alloc_data() 413 static GstMemory * 426 return (GstMemory *) transfer.dest; in _mem_copy() 429 static GstMemory * 441 static GstMemory * 470 _mem_free (GstAllocator * allocator, GstMemory * memory) in _mem_free() 557 gst_is_gl_base_memory (GstMemory * mem) in gst_is_gl_base_memory() 584 if (!gst_memory_map ((GstMemory *) src, &sinfo, GST_MAP_READ)) { in gst_gl_base_memory_memcpy() 590 if (!gst_memory_map ((GstMemory *) dest, &dinfo, GST_MAP_WRITE)) { in gst_gl_base_memory_memcpy() [all …]
|