GstGLBufferPool
a GstGLBufferPool is an object that allocates buffers with GstGLBaseMemory
A GstGLBufferPool is created with gst_gl_buffer_pool_new
GstGLBufferPool implements the VideoMeta buffer pool option GST_BUFFER_POOL_OPTION_VIDEO_META, the VideoAligment buffer pool option GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT as well as the OpenGL specific GST_BUFFER_POOL_OPTION_GL_SYNC_META buffer pool option.
GstGLBufferPool
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstBufferPool ╰──GstGLBufferPool
Opaque GstGLBufferPool struct
Members
bufferpool
(GstBufferPool)
–
context
(GstGLContext *)
–
Class structure
GstGLBufferPoolClass
The GstGLBufferPoolClass structure contains only private data
Fields
parent_class
(GstBufferPoolClass)
–
GstGL.GLBufferPoolClass
The GstGL.GLBufferPoolClass structure contains only private data
Attributes
parent_class
(Gst.BufferPoolClass)
–
GstGL.GLBufferPoolClass
The GstGL.GLBufferPoolClass structure contains only private data
Attributes
parent_class
(Gst.BufferPoolClass)
–
GstGL.GLBufferPool
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.BufferPool ╰──GstGL.GLBufferPool
Opaque GstGLBufferPool struct
Members
bufferpool
(Gst.BufferPool)
–
context
(GstGL.GLContext)
–
GstGL.GLBufferPool
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.BufferPool ╰──GstGL.GLBufferPool
Opaque GstGLBufferPool struct
Members
bufferpool
(Gst.BufferPool)
–
context
(GstGL.GLContext)
–
Constructors
gst_gl_buffer_pool_new
GstBufferPool * gst_gl_buffer_pool_new (GstGLContext * context)
Parameters:
context
–
the GstGLContext to use
a GstBufferPool that allocates buffers with GstGLMemory
GstGL.GLBufferPool.prototype.new
function GstGL.GLBufferPool.prototype.new(context: GstGL.GLContext): {
// javascript wrapper for 'gst_gl_buffer_pool_new'
}
Parameters:
the GstGL.GLContext to use
a Gst.BufferPool that allocates buffers with GstGL.GLMemory
GstGL.GLBufferPool.new
def GstGL.GLBufferPool.new (context):
#python wrapper for 'gst_gl_buffer_pool_new'
Parameters:
the GstGL.GLContext to use
a Gst.BufferPool that allocates buffers with GstGL.GLMemory
Methods
gst_gl_buffer_pool_get_gl_allocation_params
GstGLAllocationParams * gst_gl_buffer_pool_get_gl_allocation_params (GstGLBufferPool * pool)
The returned GstGLAllocationParams will by NULL before the first successful call to gst_buffer_pool_set_config. Subsequent successful calls to gst_buffer_pool_set_config will cause this function to return a new GstGLAllocationParams which may or may not contain the same information.
Parameters:
pool
–
the GstGLBufferPool
a copy of the GstGLAllocationParams being used by the pool
Since : 1.20
GstGL.GLBufferPool.prototype.get_gl_allocation_params
function GstGL.GLBufferPool.prototype.get_gl_allocation_params(): {
// javascript wrapper for 'gst_gl_buffer_pool_get_gl_allocation_params'
}
The returned GstGL.GLAllocationParams will by null before the first successful call to Gst.BufferPool.prototype.set_config. Subsequent successful calls to Gst.BufferPool.prototype.set_config will cause this function to return a new GstGL.GLAllocationParams which may or may not contain the same information.
Parameters:
a copy of the GstGL.GLAllocationParams being used by the pool
Since : 1.20
GstGL.GLBufferPool.get_gl_allocation_params
def GstGL.GLBufferPool.get_gl_allocation_params (self):
#python wrapper for 'gst_gl_buffer_pool_get_gl_allocation_params'
The returned GstGL.GLAllocationParams will by None before the first successful call to Gst.BufferPool.set_config. Subsequent successful calls to Gst.BufferPool.set_config will cause this function to return a new GstGL.GLAllocationParams which may or may not contain the same information.
Parameters:
a copy of the GstGL.GLAllocationParams being used by the pool
Since : 1.20
Functions
gst_buffer_pool_config_get_gl_allocation_params
GstGLAllocationParams * gst_buffer_pool_config_get_gl_allocation_params (GstStructure * config)
Parameters:
config
–
a buffer pool config
the currently set GstGLAllocationParams or NULL
GstGL.prototype.buffer_pool_config_get_gl_allocation_params
function GstGL.prototype.buffer_pool_config_get_gl_allocation_params(config: Gst.Structure): {
// javascript wrapper for 'gst_buffer_pool_config_get_gl_allocation_params'
}
Parameters:
a buffer pool config
the currently set GstGL.GLAllocationParams or null
GstGL.buffer_pool_config_get_gl_allocation_params
def GstGL.buffer_pool_config_get_gl_allocation_params (config):
#python wrapper for 'gst_buffer_pool_config_get_gl_allocation_params'
Parameters:
a buffer pool config
the currently set GstGL.GLAllocationParams or None
gst_buffer_pool_config_set_gl_allocation_params
gst_buffer_pool_config_set_gl_allocation_params (GstStructure * config, const GstGLAllocationParams * params)
Sets params on config
GstGL.prototype.buffer_pool_config_set_gl_allocation_params
function GstGL.prototype.buffer_pool_config_set_gl_allocation_params(config: Gst.Structure, params: GstGL.GLAllocationParams): {
// javascript wrapper for 'gst_buffer_pool_config_set_gl_allocation_params'
}
Sets params on config
Parameters:
a buffer pool config
GstGL.buffer_pool_config_set_gl_allocation_params
def GstGL.buffer_pool_config_set_gl_allocation_params (config, params):
#python wrapper for 'gst_buffer_pool_config_set_gl_allocation_params'
Sets params on config
Parameters:
a buffer pool config
Function Macros
GST_GL_BUFFER_POOL_CAST
#define GST_GL_BUFFER_POOL_CAST(obj) ((GstGLBufferPool*)(obj))
The results of the search are