Home
last modified time | relevance | path

Searched refs:GstMemory (Results 1 – 25 of 162) sorted by relevance

1234567

/third_party/gstreamer/gstreamer/gst/
Dgstmemory.h40 typedef struct _GstMemory GstMemory; typedef
43 #define GST_MEMORY_CAST(mem) ((GstMemory *)(mem))
161 GstMemory *parent;
205 GstMemory *memory;
237 typedef gpointer (*GstMemoryMapFunction) (GstMemory *mem, gsize maxsize, GstMapFlags flags…
252 typedef gpointer (*GstMemoryMapFullFunction) (GstMemory *mem, GstMapInfo * info, gsize max…
260 typedef void (*GstMemoryUnmapFunction) (GstMemory *mem);
269 typedef void (*GstMemoryUnmapFullFunction) (GstMemory *mem, GstMapInfo * info);
284 typedef GstMemory * (*GstMemoryCopyFunction) (GstMemory *mem, gssize offset, gssize size);
298 typedef GstMemory * (*GstMemoryShareFunction) (GstMemory *mem, gssize offset, gssize size);
[all …]
Dgstmemory.c74 GST_DEFINE_MINI_OBJECT_TYPE (GstMemory, gst_memory);
76 static GstMemory *
77 _gst_memory_copy (GstMemory * mem) in _gst_memory_copy()
84 _gst_memory_free (GstMemory * mem) in _gst_memory_free()
117 gst_memory_init (GstMemory * mem, GstMemoryFlags flags, in gst_memory_init()
118 GstAllocator * allocator, GstMemory * parent, gsize maxsize, gsize align, in gst_memory_init()
155 gst_memory_is_type (GstMemory * mem, const gchar * mem_type) in gst_memory_is_type()
175 gst_memory_get_sizes (GstMemory * mem, gsize * offset, gsize * maxsize) in gst_memory_get_sizes()
200 gst_memory_resize (GstMemory * mem, gssize offset, gsize size) in gst_memory_resize()
235 GstMemory *
[all …]
Dgstallocator.c87 static GstMemory *
88 _fallback_mem_copy (GstMemory * mem, gssize offset, gssize size) in _fallback_mem_copy()
90 GstMemory *copy; in _fallback_mem_copy()
124 _fallback_mem_is_span (GstMemory * mem1, GstMemory * mem2, gsize * offset) in _fallback_mem_is_span()
291 GstMemory *
295 GstMemory *mem; in gst_allocator_alloc()
325 gst_allocator_free (GstAllocator * allocator, GstMemory * memory) in gst_allocator_free()
341 GstMemory mem;
366 GstMemory * parent, gsize slice_size, in _sysmem_init()
382 GstMemory * parent, gpointer data, gsize maxsize, gsize align, gsize offset, in _sysmem_new()
[all …]
Dgstallocator.h146 GstMemory * (*alloc) (GstAllocator *allocator, gsize size,
148 void (*free) (GstAllocator *allocator, GstMemory *memory);
183 GstMemory * gst_allocator_alloc (GstAllocator * allocator, gsize size,
187 void gst_allocator_free (GstAllocator * allocator, GstMemory *memory);
190 GstMemory * gst_memory_new_wrapped (GstMemoryFlags flags, gpointer data, gsize maxsize,
Dgstbuffer.c158 GstMemory *mem[GST_BUFFER_MEM_MAX];
161 GstMemory *bufmem;
203 _is_span (GstMemory ** mem, gsize len, gsize * poffset, GstMemory ** parent) in _is_span()
205 GstMemory *mcur, *mprv; in _is_span()
236 static GstMemory *
239 GstMemory **mem, *result = NULL; in _get_merged_memory()
251 GstMemory *parent = NULL; in _get_merged_memory()
305 GstMemory * mem) in _replace_memory()
317 GstMemory *old = GST_BUFFER_MEM_PTR (buffer, i); in _replace_memory()
415 static inline GstMemory *
[all …]
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmsallocator.h56 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);
Dgstkmsallocator.c86 gst_is_kms_memory (GstMemory * mem) in gst_is_kms_memory()
92 gst_kms_memory_get_fb_id (GstMemory * mem) in gst_kms_memory_get_fb_id()
251 gst_kms_allocator_free (GstAllocator * allocator, GstMemory * mem) in gst_kms_allocator_free()
343 gst_kms_memory_map (GstMemory * mem, gsize maxsize, GstMapFlags flags) in gst_kms_memory_map()
389 gst_kms_memory_unmap (GstMemory * mem) in gst_kms_memory_unmap()
479 GstMemory *
484 GstMemory *mem; in gst_kms_allocator_bo_alloc()
519 GstMemory *mem; in gst_kms_allocator_dmabuf_import()
572 GstMemory *
573 gst_kms_allocator_dmabuf_export (GstAllocator * allocator, GstMemory * _kmsmem) in gst_kms_allocator_dmabuf_export()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/allocators/
Dgstfdmemory.c46 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()
149 gst_fd_mem_unmap (GstMemory * gmem) in gst_fd_mem_unmap()
171 static GstMemory *
172 gst_fd_mem_share (GstMemory * gmem, gssize offset, gssize size) in gst_fd_mem_share()
177 GstMemory *parent; in gst_fd_mem_share()
184 parent = (GstMemory *) mem; in gst_fd_mem_share()
272 GstMemory *
292 return (GstMemory *) mem; in gst_fd_allocator_alloc()
[all …]
Dgstdmabuf.c48 gst_dmabuf_mem_map (GstMemory * gmem, GstMapInfo * info, gsize maxsize) in gst_dmabuf_mem_map()
77 gst_dmabuf_mem_unmap (GstMemory * gmem, GstMapInfo * info) in gst_dmabuf_mem_unmap()
152 GstMemory *
177 GstMemory *
199 gst_dmabuf_memory_get_fd (GstMemory * mem) in gst_dmabuf_memory_get_fd()
217 gst_is_dmabuf_memory (GstMemory * mem) in gst_is_dmabuf_memory()
Dgstdmabuf.h105 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);
Dgstphysmemory.h54 guintptr (*get_phys_addr) (GstPhysMemoryAllocator * allocator, GstMemory * mem);
61 gboolean gst_is_phys_memory (GstMemory *mem);
64 guintptr gst_phys_memory_get_phys_addr (GstMemory * mem);
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkbuffermemory.c82 GstMemory * parent, GstVulkanDevice * device, VkBufferUsageFlags usage, in _vk_buffer_mem_init()
111 _vk_buffer_mem_new_alloc (GstAllocator * allocator, GstMemory * parent, in _vk_buffer_mem_new_alloc()
184 gst_memory_unref ((GstMemory *) mem); in _vk_buffer_mem_new_alloc()
190 _vk_buffer_mem_new_wrapped (GstAllocator * allocator, GstMemory * parent, in _vk_buffer_mem_new_wrapped()
240 gst_memory_unref ((GstMemory *) mem); in _vk_buffer_mem_new_wrapped()
261 if (!gst_memory_map ((GstMemory *) mem->vk_mem, vk_map_info, info->flags)) { in _vk_buffer_mem_map_full()
275 gst_memory_unmap ((GstMemory *) mem->vk_mem, info->user_data[0]); in _vk_buffer_mem_unmap_full()
281 static GstMemory *
287 static GstMemory *
300 static GstMemory *
[all …]
Dvkimagememory.c148 GstMemory * parent, GstVulkanDevice * device, VkImageUsageFlags usage, in _vk_image_mem_init()
179 _vk_image_mem_new_alloc (GstAllocator * allocator, GstMemory * parent, in _vk_image_mem_new_alloc()
255 gst_memory_unref ((GstMemory *) mem); in _vk_image_mem_new_alloc()
261 _vk_image_mem_new_wrapped (GstAllocator * allocator, GstMemory * parent, in _vk_image_mem_new_wrapped()
319 gst_memory_unref ((GstMemory *) mem); in _vk_image_mem_new_wrapped()
340 if (!gst_memory_map ((GstMemory *) mem->vk_mem, vk_map_info, info->flags)) { in _vk_image_mem_map_full()
354 gst_memory_unmap ((GstMemory *) mem->vk_mem, info->user_data[0]); in _vk_image_mem_unmap_full()
360 static GstMemory *
366 static GstMemory *
379 static GstMemory *
[all …]
Dvkmemory.c88 GstMemory * parent, GstVulkanDevice * device, guint32 memory_type_index, in _vk_mem_init()
130 _vk_mem_new (GstAllocator * allocator, GstMemory * parent, in _vk_mem_new()
148 gst_memory_unref ((GstMemory *) mem); in _vk_mem_new()
186 static GstMemory *
192 static GstMemory *
225 static GstMemory *
235 _vk_mem_free (GstAllocator * allocator, GstMemory * memory) in _vk_mem_free()
287 GstMemory *
296 return (GstMemory *) mem; in gst_vulkan_memory_alloc()
356 gst_is_vulkan_memory (GstMemory * mem) in gst_is_vulkan_memory()
Dvkbuffermemory.h47 GstMemory parent;
85 gboolean gst_is_vulkan_buffer_memory (GstMemory * mem);
87 GstMemory * gst_vulkan_buffer_memory_alloc (GstVulkanDevice * device,
93 GstMemory * gst_vulkan_buffer_memory_wrapped (GstVulkanDevice * device,
Dvkimagememory.h49 GstMemory parent;
90 gboolean gst_is_vulkan_image_memory (GstMemory * mem);
92 GstMemory * gst_vulkan_image_memory_alloc (GstVulkanDevice * device,
100 GstMemory * gst_vulkan_image_memory_wrapped (GstVulkanDevice * device,
/third_party/gstreamer/gstreamer/tests/examples/memory/
Dmy-vidmem.c26 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()
Dmy-memory.c24 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()
Dmy-vidmem.h25 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_bad/sys/msdk/
Dgstmsdkvideomemory.h69 GstMemory parent_instance;
75 GstMemory *
79 gst_msdk_video_memory_get_surface_available (GstMemory * mem);
82 gst_msdk_video_memory_release_surface (GstMemory * mem);
143 GstMemory *
146 GstMemory *
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dgstglmemory.c75 GstMemory *mem; in GST_START_TEST()
90 GstMemory *mem; in GST_START_TEST()
102 static GstMemory *
109 GstMemory *mem; in create_memory()
123 mem = (GstMemory *) gst_gl_base_memory_alloc (base_mem_alloc, in create_memory()
149 GstMemory *mem; in GST_START_TEST()
170 GstMemory *mem, *mem2; in GST_START_TEST()
196 static GstMemory *
203 GstMemory *mem; in wrap_raw_data()
220 (GstMemory *) gst_gl_base_memory_alloc (base_mem_alloc, in wrap_raw_data()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dcorevideomemory.c291 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/gstplugins_bad/sys/vdpau/
Dgstvdpvideomemory.c39 GstMemory * parent, GstVdpDevice * device, GstVideoInfo * info) in _vdp_video_mem_init()
57 _vdp_video_mem_new (GstAllocator * allocator, GstMemory * parent, in _vdp_video_mem_new()
179 static GstMemory *
186 static GstMemory *
200 static GstMemory *
211 _vdp_video_mem_free (GstAllocator * allocator, GstMemory * mem) in _vdp_video_mem_free()
238 GstMemory *
241 return (GstMemory *) _vdp_video_mem_new (_vdp_video_allocator, NULL, device, in gst_vdp_video_memory_alloc()
306 g_return_val_if_fail (((GstMemory *) vmem)->allocator == _vdp_video_allocator, in gst_vdp_video_memory_map()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstmemory.c31 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/
Dgstglbasememory.c126 GstMemory * parent, GstGLContext * context, GstAllocationParams * params, in gst_gl_base_memory_init()
216 GstMemory *mem = (GstMemory *) gl_mem; in gst_gl_base_memory_alloc_data()
407 static GstMemory *
420 return (GstMemory *) transfer.dest; in _mem_copy()
423 static GstMemory *
435 static GstMemory *
464 _mem_free (GstAllocator * allocator, GstMemory * memory) in _mem_free()
551 gst_is_gl_base_memory (GstMemory * mem) in gst_is_gl_base_memory()
578 if (!gst_memory_map ((GstMemory *) src, &sinfo, GST_MAP_READ)) { in gst_gl_base_memory_memcpy()
584 if (!gst_memory_map ((GstMemory *) dest, &dinfo, GST_MAP_WRITE)) { in gst_gl_base_memory_memcpy()
[all …]

1234567