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
GstVulkan.VulkanSwapperClass
Attributes
parent_class
(Gst.ObjectClass)
–
parent Gst.ObjectClass
Since : 1.18
GstVulkan.VulkanSwapperClass
Attributes
parent_class
(Gst.ObjectClass)
–
parent Gst.ObjectClass
Since : 1.18
GstVulkan.VulkanSwapper
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──GstVulkan.VulkanSwapper
Members
parent
(Gst.Object)
–
parent Gst.Object
device
(GstVulkan.VulkanDevice)
–
window
(GstVulkan.VulkanWindow)
–
the GstVulkan.VulkanWindow to display into
queue
(GstVulkan.VulkanQueue)
–
the GstVulkan.VulkanQueue to display with
cmd_pool
(GstVulkan.VulkanCommandPool)
–
the GstVulkan.VulkanCommandPool to allocate command buffers from
Since : 1.18
GstVulkan.VulkanSwapper
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──GstVulkan.VulkanSwapper
Members
parent
(Gst.Object)
–
parent Gst.Object
device
(GstVulkan.VulkanDevice)
–
window
(GstVulkan.VulkanWindow)
–
the GstVulkan.VulkanWindow to display into
queue
(GstVulkan.VulkanQueue)
–
the GstVulkan.VulkanQueue to display with
cmd_pool
(GstVulkan.VulkanCommandPool)
–
the GstVulkan.VulkanCommandPool to allocate command buffers from
Since : 1.18
Constructors
gst_vulkan_swapper_new
GstVulkanSwapper * gst_vulkan_swapper_new (GstVulkanDevice * device, GstVulkanWindow * window)
Parameters:
device
–
window
–
GstVulkan.VulkanSwapper.prototype.new
function GstVulkan.VulkanSwapper.prototype.new(device: GstVulkan.VulkanDevice, window: GstVulkan.VulkanWindow): {
// javascript wrapper for 'gst_vulkan_swapper_new'
}
Parameters:
GstVulkan.VulkanSwapper.new
def GstVulkan.VulkanSwapper.new (device, window):
#python wrapper for 'gst_vulkan_swapper_new'
Parameters:
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
GstVulkan.VulkanSwapper.prototype.choose_queue
function GstVulkan.VulkanSwapper.prototype.choose_queue(available_queue: GstVulkan.VulkanQueue): {
// javascript wrapper for 'gst_vulkan_swapper_choose_queue'
}
GstVulkan.VulkanSwapper.choose_queue
@raises(GLib.GError)
def GstVulkan.VulkanSwapper.choose_queue (self, available_queue):
#python wrapper for 'gst_vulkan_swapper_choose_queue'
gst_vulkan_swapper_get_supported_caps
GstCaps * gst_vulkan_swapper_get_supported_caps (GstVulkanSwapper * swapper, GError ** error)
Parameters:
swapper
–
error
–
GstVulkan.VulkanSwapper.prototype.get_supported_caps
function GstVulkan.VulkanSwapper.prototype.get_supported_caps(): {
// javascript wrapper for 'gst_vulkan_swapper_get_supported_caps'
}
Parameters:
GstVulkan.VulkanSwapper.get_supported_caps
@raises(GLib.GError)
def GstVulkan.VulkanSwapper.get_supported_caps (self):
#python wrapper for 'gst_vulkan_swapper_get_supported_caps'
Parameters:
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
GstVulkan.VulkanSwapper.prototype.get_surface_rectangles
function GstVulkan.VulkanSwapper.prototype.get_surface_rectangles(): {
// javascript wrapper for 'gst_vulkan_swapper_get_surface_rectangles'
}
Parameters:
Since : 1.18
GstVulkan.VulkanSwapper.get_surface_rectangles
def GstVulkan.VulkanSwapper.get_surface_rectangles (self):
#python wrapper for 'gst_vulkan_swapper_get_surface_rectangles'
Parameters:
Since : 1.18
gst_vulkan_swapper_render_buffer
gboolean gst_vulkan_swapper_render_buffer (GstVulkanSwapper * swapper, GstBuffer * buffer, GError ** error)
Parameters:
swapper
–
buffer
–
error
–
GstVulkan.VulkanSwapper.prototype.render_buffer
function GstVulkan.VulkanSwapper.prototype.render_buffer(buffer: Gst.Buffer): {
// javascript wrapper for 'gst_vulkan_swapper_render_buffer'
}
Parameters:
GstVulkan.VulkanSwapper.render_buffer
@raises(GLib.GError)
def GstVulkan.VulkanSwapper.render_buffer (self, buffer):
#python wrapper for 'gst_vulkan_swapper_render_buffer'
Parameters:
gst_vulkan_swapper_set_caps
gboolean gst_vulkan_swapper_set_caps (GstVulkanSwapper * swapper, GstCaps * caps, GError ** error)
Parameters:
swapper
–
caps
–
error
–
GstVulkan.VulkanSwapper.prototype.set_caps
function GstVulkan.VulkanSwapper.prototype.set_caps(caps: Gst.Caps): {
// javascript wrapper for 'gst_vulkan_swapper_set_caps'
}
Parameters:
GstVulkan.VulkanSwapper.set_caps
@raises(GLib.GError)
def GstVulkan.VulkanSwapper.set_caps (self, caps):
#python wrapper for 'gst_vulkan_swapper_set_caps'
Parameters:
Properties
Constants
GST_VULKAN_SWAPPER_VIDEO_FORMATS
#define GST_VULKAN_SWAPPER_VIDEO_FORMATS " { RGBA, BGRA, RGB, BGR } "
Since : 1.18
GstVulkan.VULKAN_SWAPPER_VIDEO_FORMATS
Since : 1.18
GstVulkan.VULKAN_SWAPPER_VIDEO_FORMATS
Since : 1.18
The results of the search are