Home
last modified time | relevance | path

Searched refs:GstAllocator (Results 1 – 25 of 154) sorted by relevance

1234567

/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvaallocator.h35 GstAllocator * gst_va_dmabuf_allocator_new (GstVaDisplay * display);
36 gboolean gst_va_dmabuf_allocator_setup_buffer (GstAllocator * allocator,
38 gboolean gst_va_dmabuf_allocator_prepare_buffer (GstAllocator * allocator,
40 void gst_va_dmabuf_allocator_flush (GstAllocator * allocator);
41 gboolean gst_va_dmabuf_allocator_set_format (GstAllocator * allocator,
44 gboolean gst_va_dmabuf_allocator_get_format (GstAllocator * allocator,
57 G_DECLARE_FINAL_TYPE (GstVaAllocator, gst_va_allocator, GST, VA_ALLOCATOR, GstAllocator);
63 GstAllocator * gst_va_allocator_new (GstVaDisplay * display,
65 GstMemory * gst_va_allocator_alloc (GstAllocator * allocator);
66 gboolean gst_va_allocator_setup_buffer (GstAllocator * allocator,
[all …]
Dgstvaallocator.c431 GstAllocator *allocator = GST_ALLOCATOR (self); in gst_va_dmabuf_allocator_init()
441 GstAllocator *
505 gst_va_dmabuf_allocator_setup_buffer_full (GstAllocator * allocator, in gst_va_dmabuf_allocator_setup_buffer_full()
646 gst_va_dmabuf_allocator_setup_buffer (GstAllocator * allocator, in gst_va_dmabuf_allocator_setup_buffer()
735 gst_va_dmabuf_allocator_prepare_buffer (GstAllocator * allocator, in gst_va_dmabuf_allocator_prepare_buffer()
749 gst_va_dmabuf_allocator_flush (GstAllocator * allocator) in gst_va_dmabuf_allocator_flush()
757 gst_va_dmabuf_allocator_try (GstAllocator * allocator) in gst_va_dmabuf_allocator_try()
775 gst_va_dmabuf_allocator_set_format (GstAllocator * allocator, in gst_va_dmabuf_allocator_set_format()
811 gst_va_dmabuf_allocator_get_format (GstAllocator * allocator, in gst_va_dmabuf_allocator_get_format()
902 GstAllocator parent;
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstallocator.h38 …LOCATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_ALLOCATOR, GstAllocator))
40 #define GST_ALLOCATOR_CAST(obj) ((GstAllocator *)(obj))
146 GstMemory * (*alloc) (GstAllocator *allocator, gsize size,
148 void (*free) (GstAllocator *allocator, GstMemory *memory);
160 void gst_allocator_register (const gchar *name, GstAllocator *allocator);
163 GstAllocator * gst_allocator_find (const gchar *name);
166 void gst_allocator_set_default (GstAllocator * allocator);
186 GstMemory * gst_allocator_alloc (GstAllocator * allocator, gsize size,
190 void gst_allocator_free (GstAllocator * allocator, GstMemory *memory);
Dgstallocator.c72 static GstAllocator *_default_allocator;
74 static GstAllocator *_sysmem_allocator;
80 G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE (GstAllocator, gst_allocator,
96 GstAllocator *allocator; in _fallback_mem_copy()
133 gst_allocator_init (GstAllocator * allocator) in gst_allocator_init()
225 gst_allocator_register (const gchar * name, GstAllocator * allocator) in gst_allocator_register()
250 GstAllocator *
253 GstAllocator *allocator; in gst_allocator_find()
275 gst_allocator_set_default (GstAllocator * allocator) in gst_allocator_set_default()
277 GstAllocator *old; in gst_allocator_set_default()
[all …]
Dgstmemory.h41 typedef struct _GstAllocator GstAllocator; typedef
164 GstAllocator *allocator;
320 GstAllocator *allocator, GstMemory *parent,
386 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAllocator, gst_object_unref)
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmsallocator.h65 GstAllocator parent;
78 GstAllocator* gst_kms_allocator_new (gint fd);
80 GstMemory* gst_kms_allocator_bo_alloc (GstAllocator *allocator,
83 GstKMSMemory* gst_kms_allocator_dmabuf_import (GstAllocator *allocator,
89 GstMemory* gst_kms_allocator_dmabuf_export (GstAllocator *allocator,
94 void gst_kms_allocator_clear_cache (GstAllocator * allocator);
96 void gst_kms_allocator_cache (GstAllocator * allocator,
Dgstkmsallocator.c67 GstAllocator *dmabuf_alloc;
255 gst_kms_allocator_free (GstAllocator * allocator, GstMemory * mem) in gst_kms_allocator_free()
413 GstAllocator *alloc; in gst_kms_allocator_init()
428 GstAllocator *
431 GstAllocator *alloc; in gst_kms_allocator_new()
484 gst_kms_allocator_bo_alloc (GstAllocator * allocator, GstVideoInfo * vinfo) in gst_kms_allocator_bo_alloc()
518 gst_kms_allocator_dmabuf_import (GstAllocator * allocator, gint * prime_fds, in gst_kms_allocator_dmabuf_import()
577 gst_kms_allocator_dmabuf_export (GstAllocator * allocator, GstMemory * _kmsmem) in gst_kms_allocator_dmabuf_export()
635 gst_kms_allocator_clear_cache (GstAllocator * allocator) in gst_kms_allocator_clear_cache()
660 gst_kms_allocator_cache (GstAllocator * allocator, GstMemory * mem, in gst_kms_allocator_cache()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/allocators/
Dgstdmabuf.c55 GstAllocator *allocator = gmem->allocator; in gst_dmabuf_mem_map()
84 GstAllocator *allocator = gmem->allocator; in gst_dmabuf_mem_unmap()
112 GstAllocator *alloc = GST_ALLOCATOR_CAST (allocator); in gst_dmabuf_allocator_init()
130 GstAllocator *
133 GstAllocator *alloc; in gst_dmabuf_allocator_new()
156 gst_dmabuf_allocator_alloc (GstAllocator * allocator, gint fd, gsize size) in gst_dmabuf_allocator_alloc()
181 gst_dmabuf_allocator_alloc_with_flags (GstAllocator * allocator, gint fd, in gst_dmabuf_allocator_alloc_with_flags()
Dgstfdmemory.h72 GstAllocator parent;
84 GstAllocator * gst_fd_allocator_new (void);
87 GstMemory * gst_fd_allocator_alloc (GstAllocator * allocator, gint fd,
Dgstdmabuf.h102 GstAllocator * gst_dmabuf_allocator_new (void);
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…
Dgstfdmemory.c57 gst_fd_mem_free (GstAllocator * allocator, GstMemory * gmem) in gst_fd_mem_free()
233 GstAllocator *alloc = GST_ALLOCATOR_CAST (allocator); in gst_fd_allocator_init()
255 GstAllocator *
258 GstAllocator *alloc; in gst_fd_allocator_new()
283 gst_fd_allocator_alloc (GstAllocator * allocator, gint fd, gsize size, in gst_fd_allocator_alloc()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkvideomemory.h76 gst_msdk_video_memory_new (GstAllocator * allocator);
115 GstAllocator parent_instance;
135 GstAllocator * gst_msdk_video_allocator_new (GstMsdkContext * context,
145 gst_msdk_dmabuf_memory_new (GstAllocator * allocator);
148 gst_msdk_dmabuf_memory_new_with_surface (GstAllocator * base_allocator, mfxFrameSurface1 * surface);
192 GstAllocator * gst_msdk_dmabuf_allocator_new (GstMsdkContext * context,
Dgstmsdkvideomemory.c55 gst_msdk_video_allocator_get_surface (GstAllocator * allocator) in gst_msdk_video_allocator_get_surface()
90 GstAllocator *allocator; in gst_msdk_video_memory_get_surface_available()
153 gst_msdk_video_memory_new (GstAllocator * base_allocator) in gst_msdk_video_memory_new()
187 GstAllocator *allocator; in gst_video_meta_map_msdk_memory()
272 GstAllocator *allocator; in gst_video_meta_unmap_msdk_memory()
297 GstAllocator *allocator = base_mem->allocator; in gst_msdk_video_memory_map_full()
352 GstAllocator *allocator = base_mem->allocator; in gst_msdk_video_memory_unmap()
397 gst_msdk_video_allocator_alloc (GstAllocator * allocator, gsize size, in gst_msdk_video_allocator_alloc()
415 gst_msdk_video_allocator_free (GstAllocator * allocator, GstMemory * base_mem) in gst_msdk_video_allocator_free()
437 GstAllocator *const base_allocator = GST_ALLOCATOR_CAST (allocator); in gst_msdk_video_allocator_init()
[all …]
Dgstmsdksystemmemory.h74 gst_msdk_system_memory_new (GstAllocator * base_allocator);
98 GstAllocator parent_instance;
115 GstAllocator * gst_msdk_system_allocator_new (GstVideoInfo *image_info);
Dgstmsdksystemmemory.c54 GstAllocator *allocator; in ensure_data()
187 gst_msdk_system_allocator_create_surface (GstAllocator * allocator) in gst_msdk_system_allocator_create_surface()
210 gst_msdk_system_memory_new (GstAllocator * base_allocator) in gst_msdk_system_memory_new()
328 gst_msdk_system_allocator_free (GstAllocator * allocator, GstMemory * base_mem) in gst_msdk_system_allocator_free()
338 gst_msdk_system_allocator_alloc (GstAllocator * allocator, gsize size, in gst_msdk_system_allocator_alloc()
356 GstAllocator *const base_allocator = GST_ALLOCATOR_CAST (allocator); in gst_msdk_system_allocator_init()
366 GstAllocator *
/third_party/gstreamer/gstreamer/tests/examples/memory/
Dmy-memory.c32 _my_alloc (GstAllocator * allocator, gsize size, GstAllocationParams * params) in _my_alloc()
50 _my_free (GstAllocator * allocator, GstMemory * mem) in _my_free()
118 GstAllocator parent;
143 GstAllocator *alloc = GST_ALLOCATOR_CAST (allocator); in my_memory_allocator_init()
154 GstAllocator *allocator; in my_memory_init()
Dmy-vidmem.c22 static GstAllocator *_my_allocator;
37 _my_alloc (GstAllocator * allocator, gsize size, GstAllocationParams * params) in _my_alloc()
45 _my_free (GstAllocator * allocator, GstMemory * mem) in _my_free()
113 GstAllocator parent;
138 GstAllocator *alloc = GST_ALLOCATOR_CAST (allocator); in my_vidmem_allocator_init()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkbuffermemory.c40 static GstAllocator *_vulkan_buffer_memory_allocator;
64 _vk_buffer_mem_init (GstVulkanBufferMemory * mem, GstAllocator * allocator, in _vk_buffer_mem_init()
99 _vk_buffer_mem_new_alloc (GstAllocator * allocator, GstMemory * parent, in _vk_buffer_mem_new_alloc()
167 _vk_buffer_mem_new_wrapped (GstAllocator * allocator, GstMemory * parent, in _vk_buffer_mem_new_wrapped()
244 _vk_buffer_mem_alloc (GstAllocator * allocator, gsize size, in _vk_buffer_mem_alloc()
253 _vk_buffer_mem_free (GstAllocator * allocator, GstMemory * memory) in _vk_buffer_mem_free()
344 GstAllocator *alloc = GST_ALLOCATOR_CAST (allocator); in gst_vulkan_buffer_memory_allocator_init()
Dgstvkmemory.c47 static GstAllocator *_vulkan_memory_allocator;
50 _vk_mem_init (GstVulkanMemory * mem, GstAllocator * allocator, in _vk_mem_init()
92 _vk_mem_new (GstAllocator * allocator, GstMemory * parent, in _vk_mem_new()
188 _vk_mem_alloc (GstAllocator * allocator, gsize size, in _vk_mem_alloc()
197 _vk_mem_free (GstAllocator * allocator, GstMemory * memory) in _vk_mem_free()
291 GstAllocator *alloc = GST_ALLOCATOR_CAST (allocator); in gst_vulkan_memory_allocator_init()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudamemory.h77 GstAllocator parent;
88 GstAllocator * gst_cuda_allocator_new (GstCudaContext * context);
90 GstMemory * gst_cuda_allocator_alloc (GstAllocator * allocator,
Dgstcudamemory.c37 static void gst_cuda_allocator_free (GstAllocator * allocator,
46 gst_cuda_allocator_dummy_alloc (GstAllocator * allocator, gsize size, in gst_cuda_allocator_dummy_alloc()
71 GstAllocator *alloc = GST_ALLOCATOR_CAST (allocator); in gst_cuda_allocator_init()
96 gst_cuda_allocator_alloc (GstAllocator * allocator, gsize size, in gst_cuda_allocator_alloc()
157 gst_cuda_allocator_free (GstAllocator * allocator, GstMemory * memory) in gst_cuda_allocator_free()
467 GstAllocator *
/third_party/gstreamer/gstplugins_bad/ext/wayland/
Dwlshmallocator.c40 gst_wl_shm_allocator_alloc (GstAllocator * allocator, gsize size, in gst_wl_shm_allocator_alloc()
118 GstAllocator *alloc = GST_ALLOCATOR_CAST (self); in gst_wl_shm_allocator_init()
128 GstAllocator *alloc; in gst_wl_shm_allocator_register()
135 GstAllocator *
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Diosurfacevulkanmemory.c41 static GstAllocator *_io_surface_vulkan_memory_allocator;
44 _mem_free (GstAllocator * allocator, GstMemory * mem) in _mem_free()
82 _mem_alloc (GstAllocator * allocator, gsize size, GstAllocationParams * params) in _mem_alloc()
105 GstAllocator *alloc = GST_ALLOCATOR_CAST (allocator); in gst_io_surface_vulkan_memory_allocator_init()
Diosglmemory.c38 static GstAllocator *_ios_gl_memory_allocator;
75 _mem_alloc (GstAllocator * allocator, gsize size, GstAllocationParams * params) in _mem_alloc()
99 GstAllocator *alloc = GST_ALLOCATOR_CAST (allocator); in gst_ios_gl_memory_allocator_init()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglbuffer.c89 static GstAllocator *_gl_buffer_allocator;
135 _gl_buffer_init (GstGLBuffer * mem, GstAllocator * allocator, in _gl_buffer_init()
150 _gl_buffer_new (GstAllocator * allocator, GstMemory * parent, in _gl_buffer_new()
377 GstAllocator *allocator = src->mem.mem.allocator; in _gl_buffer_copy()
408 _gl_buffer_alloc (GstAllocator * allocator, gsize size, in _gl_buffer_alloc()
532 GstAllocator *alloc = GST_ALLOCATOR_CAST (allocator); in gst_gl_buffer_allocator_init()

1234567