summaryrefslogtreecommitdiff
path: root/girs
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2024-07-29 19:06:34 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2024-07-31 12:15:43 +0000
commitbaac191d139dd0c185a99ee6cdde9f0577cc8296 (patch)
tree78e3c1d364adf931d45a187bb08007736ca5938a /girs
parent7576d147625548d0e8e9d5d9791c3b3b3c0a919e (diff)
vkimagebufferpool: expose config_get_allocation_params()
Also enhanced the documentation and added a config parameter check for gst_vulkan_image_buffer_pool_config_set_allocation_params() Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7219>
Diffstat (limited to 'girs')
-rw-r--r--girs/GstVulkan-1.0.gir34
1 files changed, 33 insertions, 1 deletions
diff --git a/girs/GstVulkan-1.0.gir b/girs/GstVulkan-1.0.gir
index 671c25ff59..1d15569d70 100644
--- a/girs/GstVulkan-1.0.gir
+++ b/girs/GstVulkan-1.0.gir
@@ -3513,8 +3513,40 @@ inside @handle.</doc>
</parameter>
</parameters>
</constructor>
+ <function name="config_get_allocation_params" c:identifier="gst_vulkan_image_buffer_pool_config_get_allocation_params" version="1.26">
+ <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimagebufferpool.c">Gets the configuration of the Vulkan image buffer pool.</doc>
+ <source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimagebufferpool.h"/>
+ <return-value transfer-ownership="none">
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="config" transfer-ownership="none">
+ <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimagebufferpool.c">the #GstStructure with the pool's configuration.</doc>
+ <type name="Gst.Structure" c:type="GstStructure*"/>
+ </parameter>
+ <parameter name="usage" 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">The Vulkan image usage flags.</doc>
+ <type name="Vulkan.ImageUsageFlags" c:type="VkImageUsageFlags*"/>
+ </parameter>
+ <parameter name="mem_props" transfer-ownership="none">
+ <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">
+ <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimagebufferpool.c">Initial Vulkan image layout.</doc>
+ <type name="Vulkan.ImageLayout" c:type="VkImageLayout*"/>
+ </parameter>
+ <parameter name="initial_access" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
+ <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimagebufferpool.c">Initial Vulkan access flags.</doc>
+ <type name="guint64" c:type="guint64*"/>
+ </parameter>
+ </parameters>
+ </function>
<function name="config_set_allocation_params" c:identifier="gst_vulkan_image_buffer_pool_config_set_allocation_params" version="1.24">
- <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimagebufferpool.c">Sets the @usage and @mem_properties of the images to setup.</doc>
+ <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimagebufferpool.c">Sets the @usage and @mem_properties, @initial_layout and @initial_access of
+the images to setup.
+
+If @initial_access is VK_IMAGE_LAYOUT_UNDEFINED or
+VK_IMAGE_LAYOUT_PREINITIALIZED images does not do layout initialization.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimagebufferpool.h"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>