GstVulkanFullScreenQuad
A GstVulkanFullScreenQuad is a helper object for rendering a single input image to an output GstBuffer
GstVulkanFullScreenQuad
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstVulkanFullScreenQuad
Members
out_info
(GstVideoInfo)
–
the configured output GstVideoInfo
in_info
(GstVideoInfo)
–
the configured input GstVideoInfo
queue
(GstVulkanQueue *)
–
the GstVulkanQueue to submit GstVulkanCommandBuffer's on
render_pass
(GstVulkanHandle *)
–
the configured VkRenderPass
pipeline_layout
(GstVulkanHandle *)
–
the configured VkPipelineLayout
graphics_pipeline
(GstVulkanHandle *)
–
the configured VkPipeline
descriptor_set_layout
(GstVulkanHandle *)
–
the configured VkDescriptorSetLayout
descriptor_cache
(GstVulkanDescriptorCache *)
–
the configured GstVulkanDescriptorCache
descriptor_set
(GstVulkanDescriptorSet *)
–
the configured GstVulkanDescriptorSet
framebuffer
(GstVulkanHandle *)
–
the configured VkFramebuffer
sampler
(GstVulkanHandle *)
–
the configured VkSampler
cmd_pool
(GstVulkanCommandPool *)
–
the GstVulkanCommandPool to allocate GstVulkanCommandBuffer's from
trash_list
(GstVulkanTrashList *)
–
the GstVulkanTrashList for freeing unused resources
last_fence
(GstVulkanFence *)
–
the last configured GstVulkanFence
Class structure
GstVulkan.VulkanFullScreenQuadClass
Attributes
parent_class
(Gst.ObjectClass)
–
the parent Gst.ObjectClass
GstVulkan.VulkanFullScreenQuadClass
Attributes
parent_class
(Gst.ObjectClass)
–
the parent Gst.ObjectClass
GstVulkan.VulkanFullScreenQuad
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──GstVulkan.VulkanFullScreenQuad
Members
parent
(Gst.Object)
–
the parent Gst.Object
out_info
(GstVideo.VideoInfo)
–
the configured output GstVideo.VideoInfo
in_info
(GstVideo.VideoInfo)
–
the configured input GstVideo.VideoInfo
queue
(GstVulkan.VulkanQueue)
–
the GstVulkan.VulkanQueue to submit GstVulkan.VulkanCommandBuffer's on
render_pass
(GstVulkan.VulkanHandle)
–
the configured VkRenderPass
pipeline_layout
(GstVulkan.VulkanHandle)
–
the configured VkPipelineLayout
graphics_pipeline
(GstVulkan.VulkanHandle)
–
the configured VkPipeline
descriptor_set_layout
(GstVulkan.VulkanHandle)
–
the configured VkDescriptorSetLayout
descriptor_cache
(GstVulkan.VulkanDescriptorCache)
–
the configured GstVulkan.VulkanDescriptorCache
descriptor_set
(GstVulkan.VulkanDescriptorSet)
–
the configured GstVulkan.VulkanDescriptorSet
framebuffer
(GstVulkan.VulkanHandle)
–
the configured VkFramebuffer
sampler
(GstVulkan.VulkanHandle)
–
the configured VkSampler
cmd_pool
(GstVulkan.VulkanCommandPool)
–
the GstVulkan.VulkanCommandPool to allocate GstVulkan.VulkanCommandBuffer's from
trash_list
(GstVulkan.VulkanTrashList)
–
the GstVulkan.VulkanTrashList for freeing unused resources
last_fence
(GstVulkan.VulkanFence)
–
the last configured GstVulkan.VulkanFence
GstVulkan.VulkanFullScreenQuad
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──GstVulkan.VulkanFullScreenQuad
Members
parent
(Gst.Object)
–
the parent Gst.Object
out_info
(GstVideo.VideoInfo)
–
the configured output GstVideo.VideoInfo
in_info
(GstVideo.VideoInfo)
–
the configured input GstVideo.VideoInfo
queue
(GstVulkan.VulkanQueue)
–
the GstVulkan.VulkanQueue to submit GstVulkan.VulkanCommandBuffer's on
render_pass
(GstVulkan.VulkanHandle)
–
the configured VkRenderPass
pipeline_layout
(GstVulkan.VulkanHandle)
–
the configured VkPipelineLayout
graphics_pipeline
(GstVulkan.VulkanHandle)
–
the configured VkPipeline
descriptor_set_layout
(GstVulkan.VulkanHandle)
–
the configured VkDescriptorSetLayout
descriptor_cache
(GstVulkan.VulkanDescriptorCache)
–
the configured GstVulkan.VulkanDescriptorCache
descriptor_set
(GstVulkan.VulkanDescriptorSet)
–
the configured GstVulkan.VulkanDescriptorSet
framebuffer
(GstVulkan.VulkanHandle)
–
the configured VkFramebuffer
sampler
(GstVulkan.VulkanHandle)
–
the configured VkSampler
cmd_pool
(GstVulkan.VulkanCommandPool)
–
the GstVulkan.VulkanCommandPool to allocate GstVulkan.VulkanCommandBuffer's from
trash_list
(GstVulkan.VulkanTrashList)
–
the GstVulkan.VulkanTrashList for freeing unused resources
last_fence
(GstVulkan.VulkanFence)
–
the last configured GstVulkan.VulkanFence
Constructors
gst_vulkan_full_screen_quad_new
GstVulkanFullScreenQuad * gst_vulkan_full_screen_quad_new (GstVulkanQueue * queue)
Parameters:
queue
–
a new GstVulkanFullScreenQuad
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.new
function GstVulkan.VulkanFullScreenQuad.prototype.new(queue: GstVulkan.VulkanQueue): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_new'
}
Parameters:
Since : 1.18
GstVulkan.VulkanFullScreenQuad.new
def GstVulkan.VulkanFullScreenQuad.new (queue):
#python wrapper for 'gst_vulkan_full_screen_quad_new'
Parameters:
Since : 1.18
Methods
gst_vulkan_full_screen_quad_draw
gboolean gst_vulkan_full_screen_quad_draw (GstVulkanFullScreenQuad * self, GError ** error)
Helper function for creation and submission of a command buffer that draws a full screen quad. If you need to add other things to the command buffer, create the command buffer manually and call gst_vulkan_full_screen_quad_prepare_draw, gst_vulkan_full_screen_quad_fill_command_buffer and gst_vulkan_full_screen_quad_submit instead.
whether the draw was successful
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.draw
function GstVulkan.VulkanFullScreenQuad.prototype.draw(): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_draw'
}
Helper function for creation and submission of a command buffer that draws a full screen quad. If you need to add other things to the command buffer, create the command buffer manually and call GstVulkan.VulkanFullScreenQuad.prototype.prepare_draw, GstVulkan.VulkanFullScreenQuad.prototype.fill_command_buffer and GstVulkan.VulkanFullScreenQuad.prototype.submit instead.
Parameters:
whether the draw was successful
Since : 1.18
GstVulkan.VulkanFullScreenQuad.draw
@raises(GLib.GError)
def GstVulkan.VulkanFullScreenQuad.draw (self):
#python wrapper for 'gst_vulkan_full_screen_quad_draw'
Helper function for creation and submission of a command buffer that draws a full screen quad. If you need to add other things to the command buffer, create the command buffer manually and call GstVulkan.VulkanFullScreenQuad.prepare_draw, GstVulkan.VulkanFullScreenQuad.fill_command_buffer and GstVulkan.VulkanFullScreenQuad.submit instead.
Parameters:
whether the draw was successful
Since : 1.18
gst_vulkan_full_screen_quad_fill_command_buffer
gboolean gst_vulkan_full_screen_quad_fill_command_buffer (GstVulkanFullScreenQuad * self, GstVulkanCommandBuffer * cmd, GstVulkanFence * fence, GError ** error)
Parameters:
self
–
cmd
–
the GstVulkanCommandBuffer to fill with commands
fence
–
error
–
a GError to fill on error
whether cmd could be filled with the necessary commands
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.fill_command_buffer
function GstVulkan.VulkanFullScreenQuad.prototype.fill_command_buffer(cmd: GstVulkan.VulkanCommandBuffer, fence: GstVulkan.VulkanFence): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_fill_command_buffer'
}
whether cmd could be filled with the necessary commands
Since : 1.18
GstVulkan.VulkanFullScreenQuad.fill_command_buffer
@raises(GLib.GError)
def GstVulkan.VulkanFullScreenQuad.fill_command_buffer (self, cmd, fence):
#python wrapper for 'gst_vulkan_full_screen_quad_fill_command_buffer'
whether cmd could be filled with the necessary commands
Since : 1.18
gst_vulkan_full_screen_quad_get_last_fence
GstVulkanFence * gst_vulkan_full_screen_quad_get_last_fence (GstVulkanFullScreenQuad * self)
Parameters:
self
–
GstVulkan.VulkanFullScreenQuad.prototype.get_last_fence
function GstVulkan.VulkanFullScreenQuad.prototype.get_last_fence(): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_get_last_fence'
}
Parameters:
GstVulkan.VulkanFullScreenQuad.get_last_fence
def GstVulkan.VulkanFullScreenQuad.get_last_fence (self):
#python wrapper for 'gst_vulkan_full_screen_quad_get_last_fence'
Parameters:
gst_vulkan_full_screen_quad_prepare_draw
gboolean gst_vulkan_full_screen_quad_prepare_draw (GstVulkanFullScreenQuad * self, GstVulkanFence * fence, GError ** error)
Parameters:
self
–
fence
–
a GstVulkanFence that will be signalled after submission
error
–
a GError filled on error
whether the necessary information could be generated for drawing a frame.
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.prepare_draw
function GstVulkan.VulkanFullScreenQuad.prototype.prepare_draw(fence: GstVulkan.VulkanFence): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_prepare_draw'
}
Parameters:
a GstVulkan.VulkanFence that will be signalled after submission
whether the necessary information could be generated for drawing a frame.
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prepare_draw
@raises(GLib.GError)
def GstVulkan.VulkanFullScreenQuad.prepare_draw (self, fence):
#python wrapper for 'gst_vulkan_full_screen_quad_prepare_draw'
Parameters:
a GstVulkan.VulkanFence that will be signalled after submission
whether the necessary information could be generated for drawing a frame.
Since : 1.18
gst_vulkan_full_screen_quad_set_index_buffer
gboolean gst_vulkan_full_screen_quad_set_index_buffer (GstVulkanFullScreenQuad * self, GstMemory * indices, gsize n_indices, GError ** error)
See also gst_vulkan_full_screen_quad_set_vertex_buffer
Parameters:
self
–
indices
–
the index data. Must be a GstVulkanBufferMemory
n_indices
–
number of indices in indices
error
–
GError to fill on failure
whether the index data could be set
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.set_index_buffer
function GstVulkan.VulkanFullScreenQuad.prototype.set_index_buffer(indices: Gst.Memory, n_indices: Number): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_set_index_buffer'
}
See also GstVulkan.VulkanFullScreenQuad.prototype.set_vertex_buffer
whether the index data could be set
Since : 1.18
GstVulkan.VulkanFullScreenQuad.set_index_buffer
@raises(GLib.GError)
def GstVulkan.VulkanFullScreenQuad.set_index_buffer (self, indices, n_indices):
#python wrapper for 'gst_vulkan_full_screen_quad_set_index_buffer'
See also GstVulkan.VulkanFullScreenQuad.set_vertex_buffer
whether the index data could be set
Since : 1.18
gst_vulkan_full_screen_quad_set_info
gboolean gst_vulkan_full_screen_quad_set_info (GstVulkanFullScreenQuad * self, GstVideoInfo * in_info, GstVideoInfo * out_info)
Parameters:
self
–
in_info
–
the input GstVideoInfo to set
out_info
–
the output GstVideoInfo to set
whether the information could be successfully set
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.set_info
function GstVulkan.VulkanFullScreenQuad.prototype.set_info(in_info: GstVideo.VideoInfo, out_info: GstVideo.VideoInfo): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_set_info'
}
whether the information could be successfully set
Since : 1.18
GstVulkan.VulkanFullScreenQuad.set_info
def GstVulkan.VulkanFullScreenQuad.set_info (self, in_info, out_info):
#python wrapper for 'gst_vulkan_full_screen_quad_set_info'
whether the information could be successfully set
Since : 1.18
gst_vulkan_full_screen_quad_set_input_buffer
gboolean gst_vulkan_full_screen_quad_set_input_buffer (GstVulkanFullScreenQuad * self, GstBuffer * buffer, GError ** error)
whether the input buffer could be changed
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.set_input_buffer
function GstVulkan.VulkanFullScreenQuad.prototype.set_input_buffer(buffer: Gst.Buffer): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_set_input_buffer'
}
Parameters:
the input Gst.Buffer to set
whether the input buffer could be changed
Since : 1.18
GstVulkan.VulkanFullScreenQuad.set_input_buffer
@raises(GLib.GError)
def GstVulkan.VulkanFullScreenQuad.set_input_buffer (self, buffer):
#python wrapper for 'gst_vulkan_full_screen_quad_set_input_buffer'
Parameters:
the input Gst.Buffer to set
whether the input buffer could be changed
Since : 1.18
gst_vulkan_full_screen_quad_set_output_buffer
gboolean gst_vulkan_full_screen_quad_set_output_buffer (GstVulkanFullScreenQuad * self, GstBuffer * buffer, GError ** error)
whether the input buffer could be changed
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.set_output_buffer
function GstVulkan.VulkanFullScreenQuad.prototype.set_output_buffer(buffer: Gst.Buffer): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_set_output_buffer'
}
Parameters:
the output Gst.Buffer to set
whether the input buffer could be changed
Since : 1.18
GstVulkan.VulkanFullScreenQuad.set_output_buffer
@raises(GLib.GError)
def GstVulkan.VulkanFullScreenQuad.set_output_buffer (self, buffer):
#python wrapper for 'gst_vulkan_full_screen_quad_set_output_buffer'
Parameters:
the output Gst.Buffer to set
whether the input buffer could be changed
Since : 1.18
gst_vulkan_full_screen_quad_set_shaders
gboolean gst_vulkan_full_screen_quad_set_shaders (GstVulkanFullScreenQuad * self, GstVulkanHandle * vert, GstVulkanHandle * frag)
Parameters:
self
–
vert
–
the vertex shader to set
frag
–
the fragment shader to set
whether the shaders could be set
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.set_shaders
function GstVulkan.VulkanFullScreenQuad.prototype.set_shaders(vert: GstVulkan.VulkanHandle, frag: GstVulkan.VulkanHandle): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_set_shaders'
}
Parameters:
the vertex shader to set
the fragment shader to set
whether the shaders could be set
Since : 1.18
GstVulkan.VulkanFullScreenQuad.set_shaders
def GstVulkan.VulkanFullScreenQuad.set_shaders (self, vert, frag):
#python wrapper for 'gst_vulkan_full_screen_quad_set_shaders'
Parameters:
the vertex shader to set
the fragment shader to set
whether the shaders could be set
Since : 1.18
gst_vulkan_full_screen_quad_set_uniform_buffer
gboolean gst_vulkan_full_screen_quad_set_uniform_buffer (GstVulkanFullScreenQuad * self, GstMemory * uniforms, GError ** error)
Parameters:
self
–
uniforms
–
the uniform data to set. Must be a GstVulkanBufferMemory
error
–
a GError to fill on failure
whether the shaders could be set
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.set_uniform_buffer
function GstVulkan.VulkanFullScreenQuad.prototype.set_uniform_buffer(uniforms: Gst.Memory): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_set_uniform_buffer'
}
Parameters:
the uniform data to set. Must be a GstVulkan.VulkanBufferMemory
whether the shaders could be set
Since : 1.18
GstVulkan.VulkanFullScreenQuad.set_uniform_buffer
@raises(GLib.GError)
def GstVulkan.VulkanFullScreenQuad.set_uniform_buffer (self, uniforms):
#python wrapper for 'gst_vulkan_full_screen_quad_set_uniform_buffer'
Parameters:
the uniform data to set. Must be a GstVulkan.VulkanBufferMemory
whether the shaders could be set
Since : 1.18
gst_vulkan_full_screen_quad_set_vertex_buffer
gboolean gst_vulkan_full_screen_quad_set_vertex_buffer (GstVulkanFullScreenQuad * self, GstMemory * vertices, GError ** error)
Parameters:
self
–
vertices
–
the vertex data. Must be a GstVulkanBufferMemory
error
–
GError to fill on failure
whether the index data could be set
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.set_vertex_buffer
function GstVulkan.VulkanFullScreenQuad.prototype.set_vertex_buffer(vertices: Gst.Memory): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_set_vertex_buffer'
}
Parameters:
the vertex data. Must be a GstVulkan.VulkanBufferMemory
whether the index data could be set
Since : 1.18
GstVulkan.VulkanFullScreenQuad.set_vertex_buffer
@raises(GLib.GError)
def GstVulkan.VulkanFullScreenQuad.set_vertex_buffer (self, vertices):
#python wrapper for 'gst_vulkan_full_screen_quad_set_vertex_buffer'
Parameters:
the vertex data. Must be a GstVulkan.VulkanBufferMemory
whether the index data could be set
Since : 1.18
gst_vulkan_full_screen_quad_submit
gboolean gst_vulkan_full_screen_quad_submit (GstVulkanFullScreenQuad * self, GstVulkanCommandBuffer * cmd, GstVulkanFence * fence, GError ** error)
Parameters:
self
–
cmd
(
[transfer: full])
–
a GstVulkanCommandBuffer to submit
fence
–
a GstVulkanFence to signal on completion
error
–
a GError to fill on error
whether cmd could be submitted to the queue
Since : 1.18
GstVulkan.VulkanFullScreenQuad.prototype.submit
function GstVulkan.VulkanFullScreenQuad.prototype.submit(cmd: GstVulkan.VulkanCommandBuffer, fence: GstVulkan.VulkanFence): {
// javascript wrapper for 'gst_vulkan_full_screen_quad_submit'
}
Parameters:
a GstVulkan.VulkanCommandBuffer to submit
a GstVulkan.VulkanFence to signal on completion
whether cmd could be submitted to the queue
Since : 1.18
GstVulkan.VulkanFullScreenQuad.submit
@raises(GLib.GError)
def GstVulkan.VulkanFullScreenQuad.submit (self, cmd, fence):
#python wrapper for 'gst_vulkan_full_screen_quad_submit'
Parameters:
a GstVulkan.VulkanCommandBuffer to submit
a GstVulkan.VulkanFence to signal on completion
whether cmd could be submitted to the queue
Since : 1.18
The results of the search are