Top |
Types and Values
struct | GstVideoBufferPool |
struct | GstVideoBufferPoolClass |
#define | GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT |
#define | GST_BUFFER_POOL_OPTION_VIDEO_META |
Description
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.
Functions
gst_video_buffer_pool_new ()
GstBufferPool *
gst_video_buffer_pool_new (void
);
Create a new bufferpool that can allocate video frames. This bufferpool supports all the video bufferpool options.
gst_buffer_pool_config_get_video_alignment ()
gboolean gst_buffer_pool_config_get_video_alignment (GstStructure *config
,GstVideoAlignment *align
);
Get the video alignment from the bufferpool configuration config
in
in align
gst_buffer_pool_config_set_video_alignment ()
void gst_buffer_pool_config_set_video_alignment (GstStructure *config
,GstVideoAlignment *align
);
Set the video alignment in align
to the bufferpool configuration
config
Types and Values
struct GstVideoBufferPool
struct GstVideoBufferPool { GstBufferPool bufferpool; GstVideoBufferPoolPrivate *priv; };
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.