Top |
Functions
GstGLRenderbufferAllocationParams * | gst_gl_renderbuffer_allocation_params_new () |
GstGLRenderbufferAllocationParams * | gst_gl_renderbuffer_allocation_params_new_wrapped () |
gint | gst_gl_renderbuffer_get_height () |
guint | gst_gl_renderbuffer_get_id () |
GstVideoGLTextureType | gst_gl_renderbuffer_get_type () |
gint | gst_gl_renderbuffer_get_width () |
void | gst_gl_renderbuffer_init_once () |
Description
GstGLRenderbuffer is a GstGLBaseMemory subclass providing support for OpenGL renderbuffers.
GstGLRenderbuffer is created or wrapped through gst_gl_base_memory_alloc()
with GstGLRenderbufferAllocationParams.
Functions
gst_gl_renderbuffer_allocation_params_new ()
GstGLRenderbufferAllocationParams * gst_gl_renderbuffer_allocation_params_new (GstGLContext *context
,GstAllocationParams *alloc_params
,GstVideoGLTextureType renderbuffer_type
,guint width
,guint height
);
Parameters
context |
||
alloc_params |
the GstAllocationParams for sysmem mappings of the texture. |
[allow-none] |
width |
the width of the renderbuffer |
|
height |
the height of the renderbuffer |
|
renderbuffer_type |
the GstVideoGLTextureType for the created textures |
Since: 1.10
gst_gl_renderbuffer_allocation_params_new_wrapped ()
GstGLRenderbufferAllocationParams * gst_gl_renderbuffer_allocation_params_new_wrapped (GstGLContext *context
,GstAllocationParams *alloc_params
,GstVideoGLTextureType renderbuffer_type
,guint width
,guint height
,gpointer gl_handle
,gpointer user_data
,GDestroyNotify notify
);
Parameters
context |
||
alloc_params |
the GstAllocationParams for |
[allow-none] |
width |
the width of the renderbuffer |
|
height |
the height of the renderbuffer |
|
renderbuffer_type |
the GstVideoGLTextureType for |
|
gl_handle |
the GL handle to wrap |
|
user_data |
user data to call |
[allow-none] |
notify |
[allow-none] |
Since: 1.10
gst_gl_renderbuffer_get_height ()
gint
gst_gl_renderbuffer_get_height (GstGLRenderbuffer *gl_mem
);
Since: 1.10
gst_gl_renderbuffer_get_id ()
guint
gst_gl_renderbuffer_get_id (GstGLRenderbuffer *gl_mem
);
Since: 1.10
gst_gl_renderbuffer_get_type ()
GstVideoGLTextureType
gst_gl_renderbuffer_get_type (GstGLRenderbuffer *gl_mem
);
Since: 1.10
gst_gl_renderbuffer_get_width ()
gint
gst_gl_renderbuffer_get_width (GstGLRenderbuffer *gl_mem
);
Since: 1.10