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) –
No description available
context (GstGLContext *) –
No description available

Class structure

GstGLBufferPoolClass

The GstGLBufferPoolClass structure contains only private data

Fields
parent_class (GstBufferPoolClass) –
No description available

GstGL.GLBufferPoolClass

The GstGL.GLBufferPoolClass structure contains only private data

Attributes
parent_class (Gst.BufferPoolClass) –
No description available

GstGL.GLBufferPoolClass

The GstGL.GLBufferPoolClass structure contains only private data

Attributes
parent_class (Gst.BufferPoolClass) –
No description available

GstGLBufferPool

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstBufferPool
                ╰──GstGLBufferPool

Opaque GstGLBufferPool struct

Members

bufferpool (GstBufferPool) –
No description available
context (GstGLContext) –
No description available

GstGLBufferPool

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstBufferPool
                ╰──GstGLBufferPool

Opaque GstGLBufferPool struct

Members

bufferpool (GstBufferPool) –
No description available
context (GstGLContext) –
No description available

Constructors

gst_gl_buffer_pool_new

GstBufferPool *
gst_gl_buffer_pool_new (GstGLContext * context)

Parameters:

context

the GstGLContext to use

Returns

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:

context ( GstGL.GLContext ) –

the GstGL.GLContext to use

Returns ( Gst.BufferPool ) –

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:

context ( GstGL.GLContext ) –

the GstGL.GLContext to use

Returns ( Gst.BufferPool ) –

a Gst.BufferPool that allocates buffers with GstGL.GLMemory


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

Returns ( [transfer: full] ) –

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:

config ( Gst.Structure ) –

a buffer pool config

Returns ( GstGL.GLAllocationParams ) –

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:

config ( Gst.Structure ) –

a buffer pool config

Returns ( GstGL.GLAllocationParams ) –

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,
                                                 GstGLAllocationParams * params)

Sets params on config

Parameters:

config

a buffer pool config

params ( [transfer: none] ) –

a GstGLAllocationParams


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:

config ( Gst.Structure ) –

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:

config ( Gst.Structure ) –

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