NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/sources/gst-plugins/gst-nvdsucx/gstucxsharedtaskpool.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2022-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef _GST_UCX_SHARED_TASK_POOL_H_
19 #define _GST_UCX_SHARED_TASK_POOL_H_
20 
21 G_BEGIN_DECLS
22 #include <gst/gst.h>
25 typedef struct _GstUcxSharedTaskPoolPrivate GstUcxSharedTaskPoolPrivate;
26 
27 #define GST_TYPE_UCX_SHARED_TASK_POOL (gst_ucx_shared_task_pool_get_type ())
28 #define GST_UCX_SHARED_TASK_POOL(pool) (G_TYPE_CHECK_INSTANCE_CAST ((pool), GST_TYPE_TASK_POOL, GstUcxSharedTaskPool))
29 #define GST_IS_UCX_SHARED_TASK_POOL(pool) (G_TYPE_CHECK_INSTANCE_TYPE ((pool), GST_TYPE_UCX_SHARED_TASK_POOL))
30 #define GST_UCX_SHARED_TASK_POOL_CLASS(pclass) (G_TYPE_CHECK_CLASS_CAST ((pclass), GST_TYPE_UCX_SHARED_TASK_POOL, GstUcxSharedTaskPoolClass))
31 #define GST_IS_UCX_SHARED_TASK_POOL_CLASS(pclass) (G_TYPE_CHECK_CLASS_TYPE ((pclass), GST_TYPE_UCX_SHARED_TASK_POOL))
32 #define GST_UCX_SHARED_TASK_POOL_GET_CLASS(pool) (G_TYPE_INSTANCE_GET_CLASS ((pool), GST_TYPE_UCX_SHARED_TASK_POOL, GstUcxSharedTaskPoolClass))
33 
35 {
36  GstTaskPool parent;
37 
38  /*< private > */
40 
41  gpointer _gst_reserved[GST_PADDING];
42 };
43 
45 {
46  GstTaskPoolClass parent_class;
47 
48  /*< private > */
49  gpointer _gst_reserved[GST_PADDING];
50 };
51 
52 GST_API GType gst_ucx_shared_task_pool_get_type (void);
53 
54 GST_API
56  guint max_threads);
57 
59  pool);
60 
61 GST_API GstTaskPool *gst_ucx_shared_task_pool_new (void);
62 
63 G_END_DECLS
64 #endif
gst_ucx_shared_task_pool_set_max_threads
GST_API void gst_ucx_shared_task_pool_set_max_threads(GstUcxSharedTaskPool *pool, guint max_threads)
gst_ucx_shared_task_pool_get_max_threads
GST_API guint gst_ucx_shared_task_pool_get_max_threads(GstUcxSharedTaskPool *pool)
_GstUcxSharedTaskPoolClass::_gst_reserved
gpointer _gst_reserved[GST_PADDING]
Definition: sources/gst-plugins/gst-nvdsucx/gstucxsharedtaskpool.h:49
gst_ucx_shared_task_pool_new
GST_API GstTaskPool * gst_ucx_shared_task_pool_new(void)
gst_ucx_shared_task_pool_get_type
GST_API GType gst_ucx_shared_task_pool_get_type(void)
_GstUcxSharedTaskPool::priv
GstUcxSharedTaskPoolPrivate * priv
Definition: sources/gst-plugins/gst-nvdsucx/gstucxsharedtaskpool.h:39
_GstUcxSharedTaskPool::_gst_reserved
gpointer _gst_reserved[GST_PADDING]
Definition: sources/gst-plugins/gst-nvdsucx/gstucxsharedtaskpool.h:41
_GstUcxSharedTaskPool
Definition: sources/gst-plugins/gst-nvdsucx/gstucxsharedtaskpool.h:34
GstUcxSharedTaskPoolPrivate
struct _GstUcxSharedTaskPoolPrivate GstUcxSharedTaskPoolPrivate
Definition: sources/gst-plugins/gst-nvdsucx/gstucxsharedtaskpool.h:25
_GstUcxSharedTaskPool::parent
GstTaskPool parent
Definition: sources/gst-plugins/gst-nvdsucx/gstucxsharedtaskpool.h:36
_GstUcxSharedTaskPoolClass
Definition: sources/gst-plugins/gst-nvdsucx/gstucxsharedtaskpool.h:44
GstUcxSharedTaskPool
typedefG_BEGIN_DECLS struct _GstUcxSharedTaskPool GstUcxSharedTaskPool
Definition: sources/gst-plugins/gst-nvdsucx/gstucxsharedtaskpool.h:23
_GstUcxSharedTaskPoolClass::parent_class
GstTaskPoolClass parent_class
Definition: sources/gst-plugins/gst-nvdsucx/gstucxsharedtaskpool.h:46