GstVulkanSwapper
GstVulkanSwapper is a helper object for rendering to a surface exposed by GstVulkanWindow.
GstVulkanSwapper
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstVulkanSwapper
Members
device
(GstVulkanDevice *)
–
the GstVulkanDevice
window
(GstVulkanWindow *)
–
the GstVulkanWindow to display into
queue
(GstVulkanQueue *)
–
the GstVulkanQueue to display with
cmd_pool
(GstVulkanCommandPool *)
–
the GstVulkanCommandPool to allocate command buffers from
Since : 1.18
Class structure
Constructors
gst_vulkan_swapper_new
GstVulkanSwapper * gst_vulkan_swapper_new (GstVulkanDevice * device, GstVulkanWindow * window)
Parameters:
device
–
window
–
Returns
–
No description available
Methods
gst_vulkan_swapper_choose_queue
gboolean gst_vulkan_swapper_choose_queue (GstVulkanSwapper * swapper, GstVulkanQueue * available_queue, GError ** error)
Parameters:
swapper
–
available_queue
(
[transfer: none][nullable])
–
a GstVulkanQueue chosen elsewhere
error
–
a GError
Returns
–
No description available
gst_vulkan_swapper_get_supported_caps
GstCaps * gst_vulkan_swapper_get_supported_caps (GstVulkanSwapper * swapper, GError ** error)
Parameters:
swapper
–
error
–
Returns
–
No description available
gst_vulkan_swapper_get_surface_rectangles
gst_vulkan_swapper_get_surface_rectangles (GstVulkanSwapper * swapper, GstVideoRectangle * input_image, GstVideoRectangle * surface_location, GstVideoRectangle * display_rect)
Parameters:
swapper
–
input_image
(
[out][nullable])
–
The GstVideoRectangle for the configured caps modified for DAR.
surface_location
(
[out][nullable])
–
The GstVideoRectangle for where the output surface is located relative to its parent
display_rect
(
[out][nullable])
–
The GstVideoRectangle for where the input images are placed inside surface_location
Since : 1.18
gst_vulkan_swapper_render_buffer
gboolean gst_vulkan_swapper_render_buffer (GstVulkanSwapper * swapper, GstBuffer * buffer, GError ** error)
Parameters:
swapper
–
buffer
–
error
–
Returns
–
No description available
gst_vulkan_swapper_set_caps
gboolean gst_vulkan_swapper_set_caps (GstVulkanSwapper * swapper, GstCaps * caps, GError ** error)
Parameters:
swapper
–
caps
–
error
–
Returns
–
No description available
Properties
Constants
The results of the search are