mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
cuda: Update gir
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7427>
This commit is contained in:
parent
25f696c7c0
commit
e4220fa9a8
2 changed files with 267 additions and 0 deletions
|
@ -35,6 +35,10 @@ and/or use gtk-doc annotations. -->
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||||
<type name="unsigned long long" c:type="unsigned long long"/>
|
<type name="unsigned long long" c:type="unsigned long long"/>
|
||||||
</alias>
|
</alias>
|
||||||
|
<alias name="memoryPool" c:type="CUmemoryPool">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||||
|
<type name="gpointer" c:type="gpointer"/>
|
||||||
|
</alias>
|
||||||
<alias name="mipmappedArray" c:type="CUmipmappedArray">
|
<alias name="mipmappedArray" c:type="CUmipmappedArray">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||||
<type name="gpointer" c:type="gpointer"/>
|
<type name="gpointer" c:type="gpointer"/>
|
||||||
|
@ -294,6 +298,8 @@ and/or use gtk-doc annotations. -->
|
||||||
</member>
|
</member>
|
||||||
<member name="handle_type_win32_kmt_handle_supported" value="105" c:identifier="CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_WIN32_KMT_HANDLE_SUPPORTED">
|
<member name="handle_type_win32_kmt_handle_supported" value="105" c:identifier="CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_WIN32_KMT_HANDLE_SUPPORTED">
|
||||||
</member>
|
</member>
|
||||||
|
<member name="memory_pools_supported" value="115" c:identifier="CU_DEVICE_ATTRIBUTE_MEMORY_POOLS_SUPPORTED">
|
||||||
|
</member>
|
||||||
</enumeration>
|
</enumeration>
|
||||||
<enumeration name="event_flags" c:type="CUevent_flags">
|
<enumeration name="event_flags" c:type="CUevent_flags">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||||
|
@ -458,6 +464,48 @@ and/or use gtk-doc annotations. -->
|
||||||
<member name="max" value="2147483647" c:identifier="CU_MEM_LOCATION_TYPE_MAX">
|
<member name="max" value="2147483647" c:identifier="CU_MEM_LOCATION_TYPE_MAX">
|
||||||
</member>
|
</member>
|
||||||
</enumeration>
|
</enumeration>
|
||||||
|
<record name="memPoolProps" c:type="CUmemPoolProps">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||||
|
<field name="allocType" writable="1">
|
||||||
|
<type name="memAllocationType" c:type="CUmemAllocationType"/>
|
||||||
|
</field>
|
||||||
|
<field name="handleTypes" writable="1">
|
||||||
|
<type name="memAllocationHandleType" c:type="CUmemAllocationHandleType"/>
|
||||||
|
</field>
|
||||||
|
<field name="location" writable="1">
|
||||||
|
<type name="memLocation" c:type="CUmemLocation"/>
|
||||||
|
</field>
|
||||||
|
<field name="win32SecurityAttributes" writable="1">
|
||||||
|
<type name="gpointer" c:type="void*"/>
|
||||||
|
</field>
|
||||||
|
<field name="maxSize" writable="1">
|
||||||
|
<type name="gsize" c:type="size_t"/>
|
||||||
|
</field>
|
||||||
|
<field name="reserved" writable="1">
|
||||||
|
<array zero-terminated="0" fixed-size="56">
|
||||||
|
<type name="guint8" c:type="unsigned char"/>
|
||||||
|
</array>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<enumeration name="memPool_attribute" c:type="CUmemPool_attribute">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||||
|
<member name="reuse_follow_event_dependencies" value="1" c:identifier="CU_MEMPOOL_ATTR_REUSE_FOLLOW_EVENT_DEPENDENCIES">
|
||||||
|
</member>
|
||||||
|
<member name="reuse_allow_opportunistic" value="2" c:identifier="CU_MEMPOOL_ATTR_REUSE_ALLOW_OPPORTUNISTIC">
|
||||||
|
</member>
|
||||||
|
<member name="reuse_allow_internal_dependencies" value="3" c:identifier="CU_MEMPOOL_ATTR_REUSE_ALLOW_INTERNAL_DEPENDENCIES">
|
||||||
|
</member>
|
||||||
|
<member name="release_threshold" value="4" c:identifier="CU_MEMPOOL_ATTR_RELEASE_THRESHOLD">
|
||||||
|
</member>
|
||||||
|
<member name="reserved_mem_current" value="5" c:identifier="CU_MEMPOOL_ATTR_RESERVED_MEM_CURRENT">
|
||||||
|
</member>
|
||||||
|
<member name="reserved_mem_high" value="6" c:identifier="CU_MEMPOOL_ATTR_RESERVED_MEM_HIGH">
|
||||||
|
</member>
|
||||||
|
<member name="used_mem_current" value="7" c:identifier="CU_MEMPOOL_ATTR_USED_MEM_CURRENT">
|
||||||
|
</member>
|
||||||
|
<member name="used_mem_high" value="8" c:identifier="CU_MEMPOOL_ATTR_USED_MEM_HIGH">
|
||||||
|
</member>
|
||||||
|
</enumeration>
|
||||||
<enumeration name="memorytype" c:type="CUmemorytype">
|
<enumeration name="memorytype" c:type="CUmemorytype">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||||
<member name="host" value="1" c:identifier="CU_MEMORYTYPE_HOST">
|
<member name="host" value="1" c:identifier="CU_MEMORYTYPE_HOST">
|
||||||
|
|
|
@ -42,6 +42,11 @@ and/or use gtk-doc annotations. -->
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function-macro>
|
</function-macro>
|
||||||
|
<constant name="CUDA_ALLOCATOR_OPT_STREAM_ORDERED" value="GstCudaAllocator.stream-ordered" c:type="GST_CUDA_ALLOCATOR_OPT_STREAM_ORDERED" version="1.26">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h">#G_TYPE_BOOLEAN Allows stream ordered allocation. Default is %FALSE</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
|
||||||
|
<type name="utf8" c:type="gchar*"/>
|
||||||
|
</constant>
|
||||||
<function-macro name="CUDA_BUFFER_POOL" c:identifier="GST_CUDA_BUFFER_POOL" introspectable="0">
|
<function-macro name="CUDA_BUFFER_POOL" c:identifier="GST_CUDA_BUFFER_POOL" introspectable="0">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.h"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -109,6 +114,13 @@ and/or use gtk-doc annotations. -->
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function-macro>
|
</function-macro>
|
||||||
|
<function-macro name="CUDA_MEMORY_POOL" c:identifier="GST_CUDA_MEMORY_POOL" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="obj">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
<constant name="CUDA_MEMORY_TYPE_NAME" value="gst.cuda.memory" c:type="GST_CUDA_MEMORY_TYPE_NAME" version="1.22">
|
<constant name="CUDA_MEMORY_TYPE_NAME" value="gst.cuda.memory" c:type="GST_CUDA_MEMORY_TYPE_NAME" version="1.22">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h">Name of cuda memory type</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h">Name of cuda memory type</doc>
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
|
||||||
|
@ -501,6 +513,12 @@ so all CUDA functions that operate on the current context are affected.</doc>
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.cpp">OS handle supportability in virtual memory management</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.cpp">OS handle supportability in virtual memory management</doc>
|
||||||
<type name="gboolean" c:type="gboolean"/>
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="prefer-stream-ordered-alloc" version="1.26" writable="1" transfer-ownership="none">
|
||||||
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
|
</property>
|
||||||
|
<property name="stream-ordered-alloc" version="1.26" transfer-ownership="none">
|
||||||
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
|
</property>
|
||||||
<property name="virtual-memory" version="1.24" transfer-ownership="none">
|
<property name="virtual-memory" version="1.24" transfer-ownership="none">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.cpp">Virtual memory management supportability</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.cpp">Virtual memory management supportability</doc>
|
||||||
<type name="gboolean" c:type="gboolean"/>
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
|
@ -859,6 +877,106 @@ CUDA stream is in use</doc>
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h">Memory allocated via cuMemCreate and cuMemMap</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h">Memory allocated via cuMemCreate and cuMemMap</doc>
|
||||||
</member>
|
</member>
|
||||||
</enumeration>
|
</enumeration>
|
||||||
|
<callback name="CudaMemoryAllocatorNeedPoolCallback" c:type="GstCudaMemoryAllocatorNeedPoolCallback" version="1.26" introspectable="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h">Called to request cuda memory pool object. If callee returns a memory pool,
|
||||||
|
@allocator will allocate memory via cuMemAllocFromPoolAsync.
|
||||||
|
Otherwise device default memory pool will be used with cuMemAllocAsync method</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
|
||||||
|
<return-value transfer-ownership="full" nullable="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h">Configured #GstCudaMemoryPool object</doc>
|
||||||
|
<type name="CudaMemoryPool" c:type="GstCudaMemoryPool*"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="allocator" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h">a #GstCudaAllocator</doc>
|
||||||
|
<type name="CudaAllocator" c:type="GstCudaAllocator*"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="context" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h">a #GstCudaContext</doc>
|
||||||
|
<type name="CudaContext" c:type="GstCudaContext*"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="2">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h">the user data</doc>
|
||||||
|
<type name="gpointer" c:type="gpointer"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<record name="CudaMemoryPool" c:type="GstCudaMemoryPool" version="1.26" glib:type-name="GstCudaMemoryPool" glib:get-type="gst_cuda_memory_pool_get_type" c:symbol-prefix="cuda_memory_pool">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.h"/>
|
||||||
|
<field name="parent" writable="1">
|
||||||
|
<type name="Gst.MiniObject" c:type="GstMiniObject"/>
|
||||||
|
</field>
|
||||||
|
<field name="context" writable="1">
|
||||||
|
<type name="CudaContext" c:type="GstCudaContext*"/>
|
||||||
|
</field>
|
||||||
|
<field name="priv" readable="0" private="1">
|
||||||
|
<type name="CudaMemoryPoolPrivate" c:type="GstCudaMemoryPoolPrivate*"/>
|
||||||
|
</field>
|
||||||
|
<constructor name="new" c:identifier="gst_cuda_memory_pool_new" version="1.26">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">Creates a new #GstCudaMemoryPool with @props. If @props is %NULL,
|
||||||
|
non-exportable pool property will be used.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.h"/>
|
||||||
|
<return-value transfer-ownership="full" nullable="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">a new #GstCudaMemoryPool or %NULL on
|
||||||
|
failure</doc>
|
||||||
|
<type name="CudaMemoryPool" c:type="GstCudaMemoryPool*"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="context" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">a #GstCudaContext</doc>
|
||||||
|
<type name="CudaContext" c:type="GstCudaContext*"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="props" transfer-ownership="none" nullable="1" allow-none="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">a CUmemPoolProps</doc>
|
||||||
|
<type name="CudaGst.memPoolProps" c:type="const CUmemPoolProps*"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</constructor>
|
||||||
|
<method name="get_handle" c:identifier="gst_cuda_memory_pool_get_handle" version="1.26">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">Get CUDA memory pool handle</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">a CUmemoryPool handle</doc>
|
||||||
|
<type name="CudaGst.memoryPool" c:type="CUmemoryPool"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<instance-parameter name="pool" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">a #GstCudaMemoryPool</doc>
|
||||||
|
<type name="CudaMemoryPool" c:type="GstCudaMemoryPool*"/>
|
||||||
|
</instance-parameter>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="ref" c:identifier="gst_cuda_memory_pool_ref" version="1.26">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">Increase the reference count of @pool.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.h"/>
|
||||||
|
<return-value transfer-ownership="full">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">@pool</doc>
|
||||||
|
<type name="CudaMemoryPool" c:type="GstCudaMemoryPool*"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<instance-parameter name="pool" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">a #GstCudaMemoryPool</doc>
|
||||||
|
<type name="CudaMemoryPool" c:type="GstCudaMemoryPool*"/>
|
||||||
|
</instance-parameter>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="unref" c:identifier="gst_cuda_memory_pool_unref" version="1.26">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">Decrease the reference count of @pool.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<type name="none" c:type="void"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<instance-parameter name="pool" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">a #GstCudaMemoryPool</doc>
|
||||||
|
<type name="CudaMemoryPool" c:type="GstCudaMemoryPool*"/>
|
||||||
|
</instance-parameter>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
</record>
|
||||||
|
<record name="CudaMemoryPoolPrivate" c:type="GstCudaMemoryPoolPrivate" disguised="1">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.h"/>
|
||||||
|
</record>
|
||||||
<record name="CudaMemoryPrivate" c:type="GstCudaMemoryPrivate" disguised="1">
|
<record name="CudaMemoryPrivate" c:type="GstCudaMemoryPrivate" disguised="1">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
|
||||||
</record>
|
</record>
|
||||||
|
@ -928,6 +1046,32 @@ CUDA stream is in use</doc>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</constructor>
|
</constructor>
|
||||||
|
<constructor name="new_full" c:identifier="gst_cuda_pool_allocator_new_full" version="1.26">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">Creates a new #GstCudaPoolAllocator instance with given @config</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
|
||||||
|
<return-value transfer-ownership="full">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">a new #GstCudaPoolAllocator instance</doc>
|
||||||
|
<type name="CudaPoolAllocator" c:type="GstCudaPoolAllocator*"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="context" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">a #GstCudaContext</doc>
|
||||||
|
<type name="CudaContext" c:type="GstCudaContext*"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="stream" transfer-ownership="none" nullable="1" allow-none="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">a #GstCudaStream</doc>
|
||||||
|
<type name="CudaStream" c:type="GstCudaStream*"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="info" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">a #GstVideoInfo</doc>
|
||||||
|
<type name="GstVideo.VideoInfo" c:type="const GstVideoInfo*"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="config" transfer-ownership="full" nullable="1" allow-none="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">a #GstStructure with configuration options</doc>
|
||||||
|
<type name="Gst.Structure" c:type="GstStructure*"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</constructor>
|
||||||
<method name="acquire_memory" c:identifier="gst_cuda_pool_allocator_acquire_memory" version="1.24">
|
<method name="acquire_memory" c:identifier="gst_cuda_pool_allocator_acquire_memory" version="1.24">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">Acquires a #GstMemory from @allocator. @memory should point to a memory
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">Acquires a #GstMemory from @allocator. @memory should point to a memory
|
||||||
location that can hold a pointer to the new #GstMemory.</doc>
|
location that can hold a pointer to the new #GstMemory.</doc>
|
||||||
|
@ -1103,6 +1247,13 @@ failure</doc>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function-macro>
|
</function-macro>
|
||||||
|
<function-macro name="IS_CUDA_MEMORY_POOL" c:identifier="GST_IS_CUDA_MEMORY_POOL" introspectable="0">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.h"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="obj">
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function-macro>
|
||||||
<function-macro name="IS_CUDA_POOL_ALLOCATOR" c:identifier="GST_IS_CUDA_POOL_ALLOCATOR" introspectable="0">
|
<function-macro name="IS_CUDA_POOL_ALLOCATOR" c:identifier="GST_IS_CUDA_POOL_ALLOCATOR" introspectable="0">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -1163,6 +1314,23 @@ on @config or %NULL if @config doesn't hold #GstCudaStream</doc>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function>
|
</function>
|
||||||
|
<function name="buffer_pool_config_get_cuda_stream_ordered_alloc" c:identifier="gst_buffer_pool_config_get_cuda_stream_ordered_alloc" version="1.26">
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.cpp">%TRUE stream ordered allocation option was specified</doc>
|
||||||
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="config" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.cpp">a buffer pool config</doc>
|
||||||
|
<type name="Gst.Structure" c:type="GstStructure*"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="enabled" direction="out" caller-allocates="0" transfer-ownership="full">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.cpp">whether stream ordered allocation was requested or not</doc>
|
||||||
|
<type name="gboolean" c:type="gboolean*"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function>
|
||||||
<function name="buffer_pool_config_set_cuda_alloc_method" c:identifier="gst_buffer_pool_config_set_cuda_alloc_method" version="1.24">
|
<function name="buffer_pool_config_set_cuda_alloc_method" c:identifier="gst_buffer_pool_config_set_cuda_alloc_method" version="1.24">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.cpp">Sets allocation method</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.cpp">Sets allocation method</doc>
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.h"/>
|
||||||
|
@ -1196,6 +1364,36 @@ on @config or %NULL if @config doesn't hold #GstCudaStream</doc>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function>
|
</function>
|
||||||
|
<function name="buffer_pool_config_set_cuda_stream_ordered_alloc" c:identifier="gst_buffer_pool_config_set_cuda_stream_ordered_alloc" version="1.26">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.cpp">Sets stream ordered allocation option</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.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/cuda/gstcudabufferpool.cpp">a buffer pool config</doc>
|
||||||
|
<type name="Gst.Structure" c:type="GstStructure*"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="stream_ordered" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.cpp">whether stream ordered allocation is allowed</doc>
|
||||||
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function>
|
||||||
|
<function name="clear_cuda_memory_pool" c:identifier="gst_clear_cuda_memory_pool" version="1.26" introspectable="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">Clears a reference to a #GstCudaMemoryPool.</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<type name="none" c:type="void"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="pool" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemorypool.cpp">a pointer to a #GstCudaMemoryPool reference</doc>
|
||||||
|
<type name="CudaMemoryPool" c:type="GstCudaMemoryPool**"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function>
|
||||||
<function name="clear_cuda_stream" c:identifier="gst_clear_cuda_stream" version="1.24" introspectable="0">
|
<function name="clear_cuda_stream" c:identifier="gst_clear_cuda_stream" version="1.24" introspectable="0">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudastream.cpp">Clears a reference to a #GstCudaStream.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudastream.cpp">Clears a reference to a #GstCudaStream.</doc>
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudastream.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudastream.h"/>
|
||||||
|
@ -1398,6 +1596,27 @@ otherwise %NULL</doc>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function>
|
</function>
|
||||||
|
<function name="cuda_register_allocator_need_pool_callback" c:identifier="gst_cuda_register_allocator_need_pool_callback" version="1.26" introspectable="0">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">Sets global need-pool callback function</doc>
|
||||||
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<type name="none" c:type="void"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="callback" transfer-ownership="none" scope="notified" closure="1" destroy="2">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">the callbacks</doc>
|
||||||
|
<type name="CudaMemoryAllocatorNeedPoolCallback" c:type="GstCudaMemoryAllocatorNeedPoolCallback"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">an user_data argument for the callback</doc>
|
||||||
|
<type name="gpointer" c:type="gpointer"/>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="notify" transfer-ownership="none" scope="async">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">a destory notify function</doc>
|
||||||
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function>
|
||||||
<function-macro name="cuda_result" c:identifier="gst_cuda_result" version="1.22" introspectable="0">
|
<function-macro name="cuda_result" c:identifier="gst_cuda_result" version="1.22" introspectable="0">
|
||||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.h"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.h"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
|
|
Loading…
Reference in a new issue