vulkan: Fix some doc strings and also some g-i warnings

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7481>
This commit is contained in:
Nirbheek Chauhan 2024-09-10 00:10:21 +05:30 committed by GStreamer Marge Bot
parent 0d24821167
commit e402ed86df
4 changed files with 11 additions and 5 deletions

View file

@ -2681,6 +2681,7 @@ gst_vulkan_full_screen_quad_set_blend_factors().</doc>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkfullscreenquad.c">a #GstVulkanFullScreenQuad</doc>
<type name="VulkanFullScreenQuad" c:type="GstVulkanFullScreenQuad*"/>
</instance-parameter>
</parameters>
@ -3528,7 +3529,8 @@ inside @handle.</doc>
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimagebufferpool.c">The Vulkan image usage flags.</doc>
<type name="Vulkan.ImageUsageFlags" c:type="VkImageUsageFlags*"/>
</parameter>
<parameter name="mem_props" transfer-ownership="none">
<parameter name="mem_props" direction="out" caller-allocates="1" transfer-ownership="none" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimagebufferpool.c">Vulkan memory property flags.</doc>
<type name="Vulkan.MemoryPropertyFlags" c:type="VkMemoryPropertyFlags*"/>
</parameter>
<parameter name="initial_layout" direction="out" caller-allocates="1" transfer-ownership="none" optional="1" allow-none="1">
@ -4642,7 +4644,9 @@ images in @extra_barriers.</doc>
<type name="VulkanOperation" c:type="GstVulkanOperation*"/>
</instance-parameter>
<parameter name="extra_barriers" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkoperation.c">a #GArray of extra image memory barriers to handle</doc>
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkoperation.c">a #GArray of extra image memory barriers to handle, either
VkImageMemoryBarrier or VkImageMemoryBarrier2KHR, depending whether
synchronization2 extension is used.</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>

View file

@ -1681,7 +1681,7 @@ error:
/**
* gst_vulkan_full_screen_quad_get_queue:
* @filter: a #GstVulkanVideoFilter
* @self: a #GstVulkanFullScreenQuad
*
* Returns: (transfer full) (nullable): The currently configured
* #GstVulkanQueue

View file

@ -145,7 +145,7 @@ gst_vulkan_image_buffer_pool_config_set_encode_caps (GstStructure * config,
* gst_vulkan_image_buffer_pool_config_get_allocation_params:
* @config: the #GstStructure with the pool's configuration.
* @usage: (out) (optional): The Vulkan image usage flags.
* @mem_properties: (out) (optional): Vulkan memory property flags.
* @mem_props: (out) (optional): Vulkan memory property flags.
* @initial_layout: (out) (optional): Initial Vulkan image layout.
* @initial_access: (out) (optional): Initial Vulkan access flags.
*

View file

@ -778,7 +778,9 @@ gst_vulkan_operation_new_extra_image_barriers (GstVulkanOperation * self)
/**
* gst_vulkan_operation_add_extra_image_barriers:
* @self: a #GstVulkanOperation
* @extra_barriers: a #GArray of extra image memory barriers to handle
* @extra_barriers: a #GArray of extra image memory barriers to handle, either
* VkImageMemoryBarrier or VkImageMemoryBarrier2KHR, depending whether
* synchronization2 extension is used.
*
* See also: gst_vulkan_operation_use_sync2(),
* gst_vulkan_operation_new_extra_image_barriers() and