GstVideoBufferPool
Special GstBufferPool subclass for raw video buffers.
Allows configuration of video-specific requirements such as stride alignments or pixel padding, and can also be configured to automatically add GstVideoMeta to the buffers.
GstVideoBufferPool
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstBufferPool ╰──GstVideoBufferPool
Members
bufferpool
(GstBufferPool)
–
priv
(GstVideoBufferPoolPrivate*)
–
Class structure
GstVideo.VideoBufferPoolClass
Attributes
parent_class
(Gst.BufferPoolClass)
–
GstVideo.VideoBufferPoolClass
Attributes
parent_class
(Gst.BufferPoolClass)
–
GstVideo.VideoBufferPool
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.BufferPool ╰──GstVideo.VideoBufferPool
Members
bufferpool
(Gst.BufferPool)
–
priv
(GstVideo.VideoBufferPoolPrivate)
–
GstVideo.VideoBufferPool
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.BufferPool ╰──GstVideo.VideoBufferPool
Members
bufferpool
(Gst.BufferPool)
–
priv
(GstVideo.VideoBufferPoolPrivate)
–
Constructors
gst_video_buffer_pool_new
GstBufferPool * gst_video_buffer_pool_new ()
Create a new bufferpool that can allocate video frames. This bufferpool supports all the video bufferpool options.
a new GstBufferPool to allocate video frames
GstVideo.VideoBufferPool.prototype.new
function GstVideo.VideoBufferPool.prototype.new(): {
// javascript wrapper for 'gst_video_buffer_pool_new'
}
Create a new bufferpool that can allocate video frames. This bufferpool supports all the video bufferpool options.
a new Gst.BufferPool to allocate video frames
GstVideo.VideoBufferPool.new
def GstVideo.VideoBufferPool.new ():
#python wrapper for 'gst_video_buffer_pool_new'
Create a new bufferpool that can allocate video frames. This bufferpool supports all the video bufferpool options.
a new Gst.BufferPool to allocate video frames
Functions
gst_buffer_pool_config_get_video_alignment
gboolean gst_buffer_pool_config_get_video_alignment (const GstStructure * config, GstVideoAlignment * align)
Get the video alignment from the bufferpool configuration config in in align
TRUE if config could be parsed correctly.
GstVideo.prototype.buffer_pool_config_get_video_alignment
function GstVideo.prototype.buffer_pool_config_get_video_alignment(config: Gst.Structure, align: GstVideo.VideoAlignment): {
// javascript wrapper for 'gst_buffer_pool_config_get_video_alignment'
}
Get the video alignment from the bufferpool configuration config in in align
Parameters:
GstVideo.buffer_pool_config_get_video_alignment
def GstVideo.buffer_pool_config_get_video_alignment (config, align):
#python wrapper for 'gst_buffer_pool_config_get_video_alignment'
Get the video alignment from the bufferpool configuration config in in align
Parameters:
gst_buffer_pool_config_set_video_alignment
gst_buffer_pool_config_set_video_alignment (GstStructure * config, const GstVideoAlignment * align)
Set the video alignment in align to the bufferpool configuration config
GstVideo.prototype.buffer_pool_config_set_video_alignment
function GstVideo.prototype.buffer_pool_config_set_video_alignment(config: Gst.Structure, align: GstVideo.VideoAlignment): {
// javascript wrapper for 'gst_buffer_pool_config_set_video_alignment'
}
Set the video alignment in align to the bufferpool configuration config
Parameters:
GstVideo.buffer_pool_config_set_video_alignment
def GstVideo.buffer_pool_config_set_video_alignment (config, align):
#python wrapper for 'gst_buffer_pool_config_set_video_alignment'
Set the video alignment in align to the bufferpool configuration config
Parameters:
Function Macros
GST_VIDEO_BUFFER_POOL_CAST
#define GST_VIDEO_BUFFER_POOL_CAST(obj) ((GstVideoBufferPool*)(obj))
Constants
GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT
#define GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT "GstBufferPoolOptionVideoAlignment"
A bufferpool option to enable extra padding. When a bufferpool supports this option, gst_buffer_pool_config_set_video_alignment can be called.
When this option is enabled on the bufferpool, GST_BUFFER_POOL_OPTION_VIDEO_META should also be enabled.
GstVideo.BUFFER_POOL_OPTION_VIDEO_ALIGNMENT
A bufferpool option to enable extra padding. When a bufferpool supports this option, GstVideo.prototype.buffer_pool_config_set_video_alignment can be called.
When this option is enabled on the bufferpool, GstVideo.BUFFER_POOL_OPTION_VIDEO_META should also be enabled.
GstVideo.BUFFER_POOL_OPTION_VIDEO_ALIGNMENT
A bufferpool option to enable extra padding. When a bufferpool supports this option, GstVideo.buffer_pool_config_set_video_alignment can be called.
When this option is enabled on the bufferpool, GstVideo.BUFFER_POOL_OPTION_VIDEO_META should also be enabled.
GST_BUFFER_POOL_OPTION_VIDEO_META
#define GST_BUFFER_POOL_OPTION_VIDEO_META "GstBufferPoolOptionVideoMeta"
An option that can be activated on bufferpool to request video metadata on buffers from the pool.
GstVideo.BUFFER_POOL_OPTION_VIDEO_META
An option that can be activated on bufferpool to request video metadata on buffers from the pool.
GstVideo.BUFFER_POOL_OPTION_VIDEO_META
An option that can be activated on bufferpool to request video metadata on buffers from the pool.
The results of the search are