cuda: Update gir

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4510>
This commit is contained in:
Seungha Yang 2023-08-13 00:55:46 +09:00 committed by GStreamer Marge Bot
parent dc2fd997a2
commit 815b1dfb4a
2 changed files with 306 additions and 0 deletions

View file

@ -19,6 +19,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="guintptr" c:type="guintptr"/> <type name="guintptr" c:type="guintptr"/>
</alias> </alias>
<alias name="event" c:type="CUevent">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gpointer" c:type="gpointer"/>
</alias>
<alias name="function" c:type="CUfunction"> <alias name="function" c:type="CUfunction">
<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"/>
@ -27,6 +31,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="gpointer" c:type="gpointer"/> <type name="gpointer" c:type="gpointer"/>
</alias> </alias>
<alias name="memGenericAllocationHandle" c:type="CUmemGenericAllocationHandle" introspectable="0">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="unsigned long long" c:type="unsigned long long"/>
</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"/>
@ -238,6 +246,10 @@ and/or use gtk-doc annotations. -->
<member name="gl_device_list_all" value="1" c:identifier="CU_GL_DEVICE_LIST_ALL"> <member name="gl_device_list_all" value="1" c:identifier="CU_GL_DEVICE_LIST_ALL">
</member> </member>
</enumeration> </enumeration>
<constant name="IPC_HANDLE_SIZE" value="64" c:type="CU_IPC_HANDLE_SIZE">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="TRSF_READ_AS_INTEGER" value="1" c:type="CU_TRSF_READ_AS_INTEGER"> <constant name="TRSF_READ_AS_INTEGER" value="1" c:type="CU_TRSF_READ_AS_INTEGER">
<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="gint" c:type="gint"/> <type name="gint" c:type="gint"/>
@ -268,10 +280,31 @@ 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"/>
<member name="texture_alignment" value="14" c:identifier="CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT"> <member name="texture_alignment" value="14" c:identifier="CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT">
</member> </member>
<member name="unified_addressing" value="41" c:identifier="CU_DEVICE_ATTRIBUTE_UNIFIED_ADDRESSING">
</member>
<member name="compute_capability_major" value="75" c:identifier="CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR"> <member name="compute_capability_major" value="75" c:identifier="CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR">
</member> </member>
<member name="compute_capability_minor" value="76" c:identifier="CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR"> <member name="compute_capability_minor" value="76" c:identifier="CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR">
</member> </member>
<member name="virtual_memory_management_supported" value="102" c:identifier="CU_DEVICE_ATTRIBUTE_VIRTUAL_MEMORY_MANAGEMENT_SUPPORTED">
</member>
<member name="handle_type_posix_file_descriptor_supported" value="103" c:identifier="CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR_SUPPORTED">
</member>
<member name="handle_type_win32_handle_supported" value="104" c:identifier="CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_WIN32_HANDLE_SUPPORTED">
</member>
<member name="handle_type_win32_kmt_handle_supported" value="105" c:identifier="CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_WIN32_KMT_HANDLE_SUPPORTED">
</member>
</enumeration>
<enumeration name="event_flags" c:type="CUevent_flags">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="default" value="0" c:identifier="CU_EVENT_DEFAULT">
</member>
<member name="blocking_sync" value="1" c:identifier="CU_EVENT_BLOCKING_SYNC">
</member>
<member name="disable_timing" value="2" c:identifier="CU_EVENT_DISABLE_TIMING">
</member>
<member name="interprocess" value="4" c:identifier="CU_EVENT_INTERPROCESS">
</member>
</enumeration> </enumeration>
<enumeration name="filter_mode" c:type="CUfilter_mode"> <enumeration name="filter_mode" c:type="CUfilter_mode">
<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"/>
@ -302,6 +335,129 @@ and/or use gtk-doc annotations. -->
<member name="texture_gather" value="8" c:identifier="CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER"> <member name="texture_gather" value="8" c:identifier="CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER">
</member> </member>
</enumeration> </enumeration>
<record name="ipcEventHandle" c:type="CUipcEventHandle">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="reserved" writable="1">
<array zero-terminated="0" fixed-size="64">
<type name="gchar" c:type="char"/>
</array>
</field>
</record>
<record name="ipcMemHandle" c:type="CUipcMemHandle">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="reserved" writable="1">
<array zero-terminated="0" fixed-size="64">
<type name="gchar" c:type="char"/>
</array>
</field>
</record>
<enumeration name="ipcMem_flags" c:type="CUipcMem_flags">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="ipc_mem_lazy_enable_peer_access" value="1" c:identifier="CU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS">
</member>
</enumeration>
<record name="memAccessDesc" c:type="CUmemAccessDesc">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="location" writable="1">
<type name="memLocation" c:type="CUmemLocation"/>
</field>
<field name="flags" writable="1">
<type name="memAccess_flags" c:type="CUmemAccess_flags"/>
</field>
</record>
<enumeration name="memAccess_flags" c:type="CUmemAccess_flags">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="none" value="0" c:identifier="CU_MEM_ACCESS_FLAGS_PROT_NONE">
</member>
<member name="read" value="1" c:identifier="CU_MEM_ACCESS_FLAGS_PROT_READ">
</member>
<member name="readwrite" value="3" c:identifier="CU_MEM_ACCESS_FLAGS_PROT_READWRITE">
</member>
<member name="max" value="2147483647" c:identifier="CU_MEM_ACCESS_FLAGS_PROT_MAX">
</member>
</enumeration>
<enumeration name="memAllocationGranularity_flags" c:type="CUmemAllocationGranularity_flags">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="minimum" value="0" c:identifier="CU_MEM_ALLOC_GRANULARITY_MINIMUM">
</member>
<member name="recommended" value="1" c:identifier="CU_MEM_ALLOC_GRANULARITY_RECOMMENDED">
</member>
</enumeration>
<enumeration name="memAllocationHandleType" c:type="CUmemAllocationHandleType">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="none" value="0" c:identifier="CU_MEM_HANDLE_TYPE_NONE">
</member>
<member name="posix_file_descriptor" value="1" c:identifier="CU_MEM_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR">
</member>
<member name="win32" value="2" c:identifier="CU_MEM_HANDLE_TYPE_WIN32">
</member>
<member name="win32_kmt" value="4" c:identifier="CU_MEM_HANDLE_TYPE_WIN32_KMT">
</member>
<member name="max" value="2147483647" c:identifier="CU_MEM_HANDLE_TYPE_MAX">
</member>
</enumeration>
<record name="memAllocationProp" c:type="CUmemAllocationProp">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="type" writable="1">
<type name="memAllocationType" c:type="CUmemAllocationType"/>
</field>
<field name="requestedHandleTypes" writable="1">
<type name="memAllocationHandleType" c:type="CUmemAllocationHandleType"/>
</field>
<field name="location" writable="1">
<type name="memLocation" c:type="CUmemLocation"/>
</field>
<field name="win32HandleMetaData" writable="1">
<type name="gpointer" c:type="void*"/>
</field>
<field name="allocFlags" writable="1">
<type name="memAllocationPropAllocFlags" c:type="CUmemAllocationPropAllocFlags"/>
</field>
</record>
<record name="memAllocationPropAllocFlags" c:type="CUmemAllocationPropAllocFlags">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="compressionType" writable="1">
<type name="guint8" c:type="unsigned char"/>
</field>
<field name="gpuDirectRDMACapable" writable="1">
<type name="guint8" c:type="unsigned char"/>
</field>
<field name="usage" writable="1">
<type name="gushort" c:type="unsigned short"/>
</field>
<field name="reserved" writable="1">
<array zero-terminated="0" fixed-size="4">
<type name="guint8" c:type="unsigned char"/>
</array>
</field>
</record>
<enumeration name="memAllocationType" c:type="CUmemAllocationType">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="invalid" value="0" c:identifier="CU_MEM_ALLOCATION_TYPE_INVALID">
</member>
<member name="pinned" value="1" c:identifier="CU_MEM_ALLOCATION_TYPE_PINNED">
</member>
<member name="max" value="2147483647" c:identifier="CU_MEM_ALLOCATION_TYPE_MAX">
</member>
</enumeration>
<record name="memLocation" c:type="CUmemLocation">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<field name="type" writable="1">
<type name="memLocationType" c:type="CUmemLocationType"/>
</field>
<field name="id" writable="1">
<type name="gint" c:type="int"/>
</field>
</record>
<enumeration name="memLocationType" c:type="CUmemLocationType">
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
<member name="invalid" value="0" c:identifier="CU_MEM_LOCATION_TYPE_INVALID">
</member>
<member name="device" value="1" c:identifier="CU_MEM_LOCATION_TYPE_DEVICE">
</member>
<member name="max" value="2147483647" c:identifier="CU_MEM_LOCATION_TYPE_MAX">
</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">
@ -333,6 +489,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"/>
<member name="success" value="0" c:identifier="CUDA_SUCCESS"> <member name="success" value="0" c:identifier="CUDA_SUCCESS">
</member> </member>
<member name="error_already_mapped" value="208" c:identifier="CUDA_ERROR_ALREADY_MAPPED">
</member>
<member name="error_not_supported" value="801" c:identifier="CUDA_ERROR_NOT_SUPPORTED">
</member>
</enumeration> </enumeration>
<enumeration name="stream_flags" c:type="CUstream_flags"> <enumeration name="stream_flags" c:type="CUstream_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"/>

View file

@ -263,6 +263,41 @@ This method is conceptually identical to gst_buffer_pool_set_active method.</doc
</parameter> </parameter>
</parameters> </parameters>
</method> </method>
<method name="virtual_alloc" c:identifier="gst_cuda_allocator_virtual_alloc" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">Allocates new #GstMemory object with CUDA virtual memory.</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.cpp">a newly allocated memory object or
%NULL if allocation is not supported</doc>
<type name="Gst.Memory" c:type="GstMemory*"/>
</return-value>
<parameters>
<instance-parameter name="allocator" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">a #GstCudaAllocator</doc>
<type name="CudaAllocator" c:type="GstCudaAllocator*"/>
</instance-parameter>
<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">
<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="prop" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">allocation property</doc>
<type name="CudaGst.memAllocationProp" c:type="const CUmemAllocationProp*"/>
</parameter>
<parameter name="granularity_flags" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">allocation flags</doc>
<type name="CudaGst.memAllocationGranularity_flags" c:type="CUmemAllocationGranularity_flags"/>
</parameter>
</parameters>
</method>
<field name="parent"> <field name="parent">
<type name="Gst.Allocator" c:type="GstAllocator"/> <type name="Gst.Allocator" c:type="GstAllocator"/>
</field> </field>
@ -462,6 +497,14 @@ so all CUDA functions that operate on the current context are affected.</doc>
<property name="cuda-device-id" writable="1" construct-only="1" transfer-ownership="none"> <property name="cuda-device-id" writable="1" construct-only="1" transfer-ownership="none">
<type name="guint" c:type="guint"/> <type name="guint" c:type="guint"/>
</property> </property>
<property name="os-handle" version="1.24" transfer-ownership="none">
<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"/>
</property>
<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>
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="object"> <field name="object">
<type name="Gst.Object" c:type="GstObject"/> <type name="Gst.Object" c:type="GstObject"/>
</field> </field>
@ -645,6 +688,43 @@ Free with gst_cuda_graphics_resource_free</doc>
<type name="gpointer" c:type="gpointer"/> <type name="gpointer" c:type="gpointer"/>
</array> </array>
</field> </field>
<method name="export" c:identifier="gst_cuda_memory_export" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">Exports virtual memory handle to OS specific handle.
On Windows, @os_handle should be pointer to HANDLE (i.e., void **), and
pointer to file descriptor (i.e., int *) on Linux.
The returned @os_handle is owned by @mem and therefore caller shouldn't
close the handle.</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">%TRUE if successful</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">a #GstCudaMemory</doc>
<type name="CudaMemory" c:type="GstCudaMemory*"/>
</instance-parameter>
<parameter name="os_handle" direction="out" caller-allocates="1" transfer-ownership="none" nullable="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">a pointer to OS handle</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="get_alloc_method" c:identifier="gst_cuda_memory_get_alloc_method" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">Query allocation method</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h"/>
<return-value transfer-ownership="none">
<type name="CudaMemoryAllocMethod" c:type="GstCudaMemoryAllocMethod"/>
</return-value>
<parameters>
<instance-parameter name="mem" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">a #GstCudaMemory</doc>
<type name="CudaMemory" c:type="GstCudaMemory*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_stream" c:identifier="gst_cuda_memory_get_stream" version="1.24"> <method name="get_stream" c:identifier="gst_cuda_memory_get_stream" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">Gets CUDA stream object associated with @mem</doc> <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">Gets CUDA stream object associated with @mem</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"/>
@ -765,6 +845,15 @@ CUDA stream is in use</doc>
</return-value> </return-value>
</function> </function>
</record> </record>
<enumeration name="CudaMemoryAllocMethod" version="1.24" glib:type-name="GstCudaMemoryAllocMethod" glib:get-type="gst_cuda_memory_alloc_method_get_type" c:type="GstCudaMemoryAllocMethod">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.h">CUDA memory allocation method</doc>
<member name="unknown" value="0" c:identifier="GST_CUDA_MEMORY_ALLOC_UNKNOWN" glib:nick="unknown">
</member>
<member name="malloc" value="1" c:identifier="GST_CUDA_MEMORY_ALLOC_MALLOC" glib:nick="malloc">
</member>
<member name="mmap" value="2" c:identifier="GST_CUDA_MEMORY_ALLOC_MMAP" glib:nick="mmap">
</member>
</enumeration>
<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>
@ -803,6 +892,34 @@ CUDA stream is in use</doc>
</parameter> </parameter>
</parameters> </parameters>
</constructor> </constructor>
<constructor name="new_for_virtual_memory" c:identifier="gst_cuda_pool_allocator_new_for_virtual_memory" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudamemory.cpp">Creates a new #GstCudaPoolAllocator instance for virtual memory allocation.</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="prop" transfer-ownership="none">
<type name="CudaGst.memAllocationProp" c:type="const CUmemAllocationProp*"/>
</parameter>
<parameter name="granularity_flags" transfer-ownership="none">
<type name="CudaGst.memAllocationGranularity_flags" c:type="CUmemAllocationGranularity_flags"/>
</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>
@ -1011,6 +1128,19 @@ CUDA device/host memory</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"/>
<type name="gint" c:type="gint"/> <type name="gint" c:type="gint"/>
</constant> </constant>
<function name="buffer_pool_config_get_cuda_alloc_method" c:identifier="gst_buffer_pool_config_get_cuda_alloc_method" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.cpp">Gets configured allocation method</doc>
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.h"/>
<return-value transfer-ownership="none">
<type name="CudaMemoryAllocMethod" c:type="GstCudaMemoryAllocMethod"/>
</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>
</parameters>
</function>
<function name="buffer_pool_config_get_cuda_stream" c:identifier="gst_buffer_pool_config_get_cuda_stream" version="1.24"> <function name="buffer_pool_config_get_cuda_stream" c:identifier="gst_buffer_pool_config_get_cuda_stream" version="1.24">
<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"/>
<return-value transfer-ownership="full" nullable="1"> <return-value transfer-ownership="full" nullable="1">
@ -1025,6 +1155,22 @@ on @config or %NULL if @config doesn't hold #GstCudaStream</doc>
</parameter> </parameter>
</parameters> </parameters>
</function> </function>
<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>
<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="method" transfer-ownership="none">
<type name="CudaMemoryAllocMethod" c:type="GstCudaMemoryAllocMethod"/>
</parameter>
</parameters>
</function>
<function name="buffer_pool_config_set_cuda_stream" c:identifier="gst_buffer_pool_config_set_cuda_stream" version="1.24"> <function name="buffer_pool_config_set_cuda_stream" c:identifier="gst_buffer_pool_config_set_cuda_stream" version="1.24">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.cpp">Sets @stream on @config</doc> <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudabufferpool.cpp">Sets @stream on @config</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"/>