GST_DEBUG_CATEGORY_STATIC (GST_CAT_GL_BASE_MEMORY);
#define GST_CAT_DEFUALT GST_CAT_GL_BASE_MEMORY
+GST_DEFINE_MINI_OBJECT_TYPE (GstGLBaseMemory, gst_gl_base_memory);
+
GQuark
gst_gl_base_memory_error_quark (void)
{
G_BEGIN_DECLS
+#define GST_TYPE_GL_BASE_MEMORY (gst_gl_base_memory_get_type())
+GST_EXPORT
+GType gst_gl_base_memory_get_type(void);
+
#define GST_TYPE_GL_BASE_MEMORY_ALLOCATOR (gst_gl_base_memory_allocator_get_type())
GST_EXPORT
GType gst_gl_base_memory_allocator_get_type(void);
gst_gl_allocation_params_free_data (¶ms->parent);
}
+G_DEFINE_BOXED_TYPE (GstGLBufferAllocationParams,
+ gst_gl_buffer_allocation_params,
+ (GBoxedCopyFunc) gst_gl_allocation_params_copy,
+ (GBoxedFreeFunc) gst_gl_allocation_params_free);
+
/**
* gst_gl_buffer_allocation_params_new:
* @context: a #GstGLContext
typedef struct _GstGLBufferAllocationParams GstGLBufferAllocationParams;
+#define GST_TYPE_GL_BUFFER_ALLOCATION_PARAMS (gst_gl_buffer_allocation_params_get_type())
+GST_EXPORT
+GType gst_gl_buffer_allocation_params_get_type (void);
+
#define GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_BUFFER (1 << 4)
/**
GST_TYPE_GL_MEMORY_ALLOCATOR);
}
+G_DEFINE_BOXED_TYPE (GstGLVideoAllocationParams, gst_gl_video_allocation_params,
+ (GBoxedCopyFunc) gst_gl_allocation_params_copy,
+ (GBoxedFreeFunc) gst_gl_allocation_params_free);
+
static void
_gst_gl_video_allocation_params_set_video_alignment (GstGLVideoAllocationParams
* params, GstVideoAlignment * valign)
gpointer _padding[GST_PADDING];
};
+
+#define GST_TYPE_GL_VIDEO_ALLOCATION_PARAMS (gst_gl_video_allocation_params_get_type())
+GST_EXPORT
+GType gst_gl_video_allocation_params_get_type (void);
+
typedef struct _GstGLVideoAllocationParams GstGLVideoAllocationParams;
#define GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_VIDEO (1 << 3)
GST_TYPE_GL_RENDERBUFFER_ALLOCATOR);
}
+G_DEFINE_BOXED_TYPE (GstGLRenderbufferAllocationParams,
+ gst_gl_renderbuffer_allocation_params,
+ (GBoxedCopyFunc) gst_gl_allocation_params_copy,
+ (GBoxedFreeFunc) gst_gl_allocation_params_free);
+
static void
_gst_gl_rb_alloc_params_free_data (GstGLRenderbufferAllocationParams * params)
{
#include <gst/gl/gstglbasememory.h>
+GType gst_gl_renderbuffer_allocation_params_get_type (void);
+#define GST_TYPE_RENDERBUFFER_ALLOCATION_PARAMS (gst_gl_renderbuffer_allocation_params_get_type)
+
typedef struct
{
GstGLAllocationParams parent;