| Top |
| struct | GstVideoBufferPool |
| struct | GstVideoBufferPoolClass |
| #define | GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT |
| #define | GST_BUFFER_POOL_OPTION_VIDEO_META |
GObject
╰── GInitiallyUnowned
╰── GstObject
╰── GstBufferPool
╰── 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.
GstBufferPool *
gst_video_buffer_pool_new (void);
Create a new bufferpool that can allocate video frames. This bufferpool supports all the video bufferpool options.
gboolean gst_buffer_pool_config_get_video_alignment (GstStructure *config,GstVideoAlignment *align);
Get the video alignment from the bufferpool configuration config
in
in align
void gst_buffer_pool_config_set_video_alignment (GstStructure *config,GstVideoAlignment *align);
Set the video alignment in align
to the bufferpool configuration
config
#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.