mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
cuda: Update gir
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7480>
This commit is contained in:
parent
f5ce4d10b1
commit
9eb5bfc00c
2 changed files with 263 additions and 0 deletions
|
@ -23,6 +23,14 @@ and/or use gtk-doc annotations. -->
|
|||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
</alias>
|
||||
<alias name="externalMemory" c:type="CUexternalMemory">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
</alias>
|
||||
<alias name="externalSemaphore" c:type="CUexternalSemaphore">
|
||||
<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">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
|
@ -55,6 +63,215 @@ and/or use gtk-doc annotations. -->
|
|||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<type name="guint64" c:type="guint64"/>
|
||||
</alias>
|
||||
<record name="DA_ARRAY3D_DESCRIPTOR" c:type="CUDA_ARRAY3D_DESCRIPTOR">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="Width" writable="1">
|
||||
<type name="gsize" c:type="size_t"/>
|
||||
</field>
|
||||
<field name="Height" writable="1">
|
||||
<type name="gsize" c:type="size_t"/>
|
||||
</field>
|
||||
<field name="Depth" writable="1">
|
||||
<type name="gsize" c:type="size_t"/>
|
||||
</field>
|
||||
<field name="Format" writable="1">
|
||||
<type name="array_format" c:type="CUarray_format"/>
|
||||
</field>
|
||||
<field name="NumChannels" writable="1">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</field>
|
||||
<field name="Flags" writable="1">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</field>
|
||||
</record>
|
||||
<record name="DA_EXTERNAL_MEMORY_BUFFER_DESC" c:type="CUDA_EXTERNAL_MEMORY_BUFFER_DESC">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="offset" introspectable="0" writable="1">
|
||||
<type name="unsigned long long" c:type="unsigned long long"/>
|
||||
</field>
|
||||
<field name="size" introspectable="0" writable="1">
|
||||
<type name="unsigned long long" c:type="unsigned long long"/>
|
||||
</field>
|
||||
<field name="flags" writable="1">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</field>
|
||||
<field name="reserved" writable="1">
|
||||
<array zero-terminated="0" fixed-size="16">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</array>
|
||||
</field>
|
||||
</record>
|
||||
<record name="DA_EXTERNAL_MEMORY_HANDLE_DESC" c:type="CUDA_EXTERNAL_MEMORY_HANDLE_DESC" introspectable="0">
|
||||
<attribute name="doc.skip" value="true"/>
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="type" writable="1">
|
||||
<type name="externalMemoryHandleType" c:type="CUexternalMemoryHandleType"/>
|
||||
</field>
|
||||
<union name="handle" c:type="handle">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="fd" writable="1">
|
||||
<type name="gint" c:type="int"/>
|
||||
</field>
|
||||
<record name="win32" c:type="win32">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="handle" writable="1">
|
||||
<type name="gpointer" c:type="void*"/>
|
||||
</field>
|
||||
<field name="name" writable="1">
|
||||
<type name="gpointer" c:type="void*"/>
|
||||
</field>
|
||||
</record>
|
||||
<field name="nvSciBufObject" writable="1">
|
||||
<type name="gpointer" c:type="void*"/>
|
||||
</field>
|
||||
</union>
|
||||
<field name="size" writable="1">
|
||||
<type name="unsigned long long" c:type="unsigned long long"/>
|
||||
</field>
|
||||
<field name="flags" writable="1">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</field>
|
||||
<field name="reserved" writable="1">
|
||||
<array zero-terminated="0" fixed-size="16">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</array>
|
||||
</field>
|
||||
</record>
|
||||
<record name="DA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC" c:type="CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="offset" introspectable="0" writable="1">
|
||||
<type name="unsigned long long" c:type="unsigned long long"/>
|
||||
</field>
|
||||
<field name="arrayDesc" writable="1">
|
||||
<type name="DA_ARRAY3D_DESCRIPTOR" c:type="CUDA_ARRAY3D_DESCRIPTOR"/>
|
||||
</field>
|
||||
<field name="numLevels" writable="1">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</field>
|
||||
<field name="reserved" writable="1">
|
||||
<array zero-terminated="0" fixed-size="16">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</array>
|
||||
</field>
|
||||
</record>
|
||||
<record name="DA_EXTERNAL_SEMAPHORE_HANDLE_DESC" c:type="CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC" introspectable="0">
|
||||
<attribute name="doc.skip" value="true"/>
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="type" writable="1">
|
||||
<type name="externalSemaphoreHandleType" c:type="CUexternalSemaphoreHandleType"/>
|
||||
</field>
|
||||
<union name="handle" c:type="handle">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="fd" writable="1">
|
||||
<type name="gint" c:type="int"/>
|
||||
</field>
|
||||
<record name="win32" c:type="win32">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="handle" writable="1">
|
||||
<type name="gpointer" c:type="void*"/>
|
||||
</field>
|
||||
<field name="name" writable="1">
|
||||
<type name="gpointer" c:type="void*"/>
|
||||
</field>
|
||||
</record>
|
||||
<field name="nvSciSyncObj" writable="1">
|
||||
<type name="gpointer" c:type="void*"/>
|
||||
</field>
|
||||
</union>
|
||||
<field name="flags" writable="1">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</field>
|
||||
<field name="reserved" writable="1">
|
||||
<array zero-terminated="0" fixed-size="16">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</array>
|
||||
</field>
|
||||
</record>
|
||||
<record name="DA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS" c:type="CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS" introspectable="0">
|
||||
<attribute name="doc.skip" value="true"/>
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<record name="params" c:type="params">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<record name="fence" c:type="fence">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="value" writable="1">
|
||||
<type name="unsigned long long" c:type="unsigned long long"/>
|
||||
</field>
|
||||
</record>
|
||||
<union name="nvSciSync" c:type="nvSciSync">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="fence" writable="1">
|
||||
<type name="gpointer" c:type="void*"/>
|
||||
</field>
|
||||
<field name="reserved" writable="1">
|
||||
<type name="unsigned long long" c:type="unsigned long long"/>
|
||||
</field>
|
||||
</union>
|
||||
<record name="keyedMutex" c:type="keyedMutex">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="key" writable="1">
|
||||
<type name="unsigned long long" c:type="unsigned long long"/>
|
||||
</field>
|
||||
</record>
|
||||
<field name="reserved" writable="1">
|
||||
<array zero-terminated="0" fixed-size="12">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</array>
|
||||
</field>
|
||||
</record>
|
||||
<field name="flags" writable="1">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</field>
|
||||
<field name="reserved" writable="1">
|
||||
<array zero-terminated="0" fixed-size="16">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</array>
|
||||
</field>
|
||||
</record>
|
||||
<record name="DA_EXTERNAL_SEMAPHORE_WAIT_PARAMS" c:type="CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS" introspectable="0">
|
||||
<attribute name="doc.skip" value="true"/>
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<record name="params" c:type="params">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<record name="fence" c:type="fence">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="value" writable="1">
|
||||
<type name="unsigned long long" c:type="unsigned long long"/>
|
||||
</field>
|
||||
</record>
|
||||
<union name="nvSciSync" c:type="nvSciSync">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="fence" writable="1">
|
||||
<type name="gpointer" c:type="void*"/>
|
||||
</field>
|
||||
<field name="reserved" writable="1">
|
||||
<type name="unsigned long long" c:type="unsigned long long"/>
|
||||
</field>
|
||||
</union>
|
||||
<record name="keyedMutex" c:type="keyedMutex">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="key" writable="1">
|
||||
<type name="unsigned long long" c:type="unsigned long long"/>
|
||||
</field>
|
||||
<field name="timeoutMs" writable="1">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</field>
|
||||
</record>
|
||||
<field name="reserved" writable="1">
|
||||
<array zero-terminated="0" fixed-size="10">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</array>
|
||||
</field>
|
||||
</record>
|
||||
<field name="flags" writable="1">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</field>
|
||||
<field name="reserved" writable="1">
|
||||
<array zero-terminated="0" fixed-size="16">
|
||||
<type name="guint" c:type="unsigned int"/>
|
||||
</array>
|
||||
</field>
|
||||
</record>
|
||||
<record name="DA_MEMCPY2D" c:type="CUDA_MEMCPY2D">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<field name="srcXInBytes" writable="1">
|
||||
|
@ -312,6 +529,48 @@ and/or use gtk-doc annotations. -->
|
|||
<member name="interprocess" value="4" c:identifier="CU_EVENT_INTERPROCESS">
|
||||
</member>
|
||||
</enumeration>
|
||||
<enumeration name="externalMemoryHandleType" c:type="CUexternalMemoryHandleType">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<member name="opaque_fd" value="1" c:identifier="CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD">
|
||||
</member>
|
||||
<member name="opaque_win32" value="2" c:identifier="CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32">
|
||||
</member>
|
||||
<member name="opaque_win32_kmt" value="3" c:identifier="CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT">
|
||||
</member>
|
||||
<member name="d3d12_heap" value="4" c:identifier="CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP">
|
||||
</member>
|
||||
<member name="d3d12_resource" value="5" c:identifier="CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE">
|
||||
</member>
|
||||
<member name="d3d11_resource" value="6" c:identifier="CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE">
|
||||
</member>
|
||||
<member name="d3d11_resource_kmt" value="7" c:identifier="CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE_KMT">
|
||||
</member>
|
||||
<member name="nvscibuf" value="8" c:identifier="CU_EXTERNAL_MEMORY_HANDLE_TYPE_NVSCIBUF">
|
||||
</member>
|
||||
</enumeration>
|
||||
<enumeration name="externalSemaphoreHandleType" c:type="CUexternalSemaphoreHandleType">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<member name="opaque_fd" value="1" c:identifier="CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD">
|
||||
</member>
|
||||
<member name="opaque_win32" value="2" c:identifier="CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32">
|
||||
</member>
|
||||
<member name="opaque_win32_kmt" value="3" c:identifier="CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT">
|
||||
</member>
|
||||
<member name="d3d12_fence" value="4" c:identifier="CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE">
|
||||
</member>
|
||||
<member name="d3d11_fence" value="5" c:identifier="CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE">
|
||||
</member>
|
||||
<member name="nvscisync" value="6" c:identifier="CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC">
|
||||
</member>
|
||||
<member name="d3d11_keyed_mutex" value="7" c:identifier="CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX">
|
||||
</member>
|
||||
<member name="d3d11_keyed_mutex_kmt" value="8" c:identifier="CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX_KMT">
|
||||
</member>
|
||||
<member name="timeline_semaphore_fd" value="9" c:identifier="CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TIMELINE_SEMAPHORE_FD">
|
||||
</member>
|
||||
<member name="timeline_semaphore_win32" value="10" c:identifier="CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TIMELINE_SEMAPHORE_WIN32">
|
||||
</member>
|
||||
</enumeration>
|
||||
<enumeration name="filter_mode" c:type="CUfilter_mode">
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h"/>
|
||||
<member name="point" value="0" c:identifier="CU_TR_FILTER_MODE_POINT">
|
||||
|
|
|
@ -509,6 +509,10 @@ 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">
|
||||
<type name="guint" c:type="guint"/>
|
||||
</property>
|
||||
<property name="external-resource-interop" version="1.26" transfer-ownership="none">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.cpp">External resource interop API support</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
</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"/>
|
||||
|
|
Loading…
Reference in a new issue