GstGLBufferPool

GstGLBufferPool — buffer pool for GstGLMemory objects

Synopsis

                    GstGLBufferPool;
                    GstGLBufferPoolClass;
GstBufferPool *     gst_gl_buffer_pool_new              (GstGLContext *context);
GstGLAllocationParams * gst_buffer_pool_config_get_gl_allocation_params
                                                        (GstStructure *config);
void                gst_buffer_pool_config_set_gl_allocation_params
                                                        (GstStructure *config,
                                                         GstGLAllocationParams *params);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstBufferPool
                     +----GstGLBufferPool

Description

a GstGLBufferPool is an object that allocates buffers with GstGLMemory

A GstGLBufferPool is created with gst_gl_buffer_pool_new()

GstGLBufferPool implements the VideoMeta buffer pool option GST_BUFFER_POOL_OPTION_VIDEO_META

Details

GstGLBufferPool

typedef struct _GstGLBufferPool GstGLBufferPool;

Opaque GstGLBufferPool struct


GstGLBufferPoolClass

typedef struct {
  GstBufferPoolClass parent_class;
} GstGLBufferPoolClass;

The GstGLBufferPoolClass structure contains only private data


gst_gl_buffer_pool_new ()

GstBufferPool *     gst_gl_buffer_pool_new              (GstGLContext *context);

context :

the GstGLContext to use

Returns :

a GstBufferPool that allocates buffers with GstGLMemory

gst_buffer_pool_config_get_gl_allocation_params ()

GstGLAllocationParams * gst_buffer_pool_config_get_gl_allocation_params
                                                        (GstStructure *config);

config :

a buffer pool config

Returns :

the currently set GstGLAllocationParams or NULL. [transfer full]

gst_buffer_pool_config_set_gl_allocation_params ()

void                gst_buffer_pool_config_set_gl_allocation_params
                                                        (GstStructure *config,
                                                         GstGLAllocationParams *params);

Sets params on config

config :

a buffer pool config

params :

a GstGLAllocationParams. [transfer none]

See Also

GstBufferPool, GstGLMemory