NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/includes/gstnvdsbufferpool.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-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 GSTNVDSBUFFERPOOL_H_
19 #define GSTNVDSBUFFERPOOL_H_
20 
21 #include <gst/gst.h>
22 
23 G_BEGIN_DECLS
24 
27 typedef struct _GstNvDsBufferPoolPrivate GstNvDsBufferPoolPrivate;
28 
29 #define GST_TYPE_NVDS_BUFFER_POOL (gst_nvds_buffer_pool_get_type())
30 #define GST_IS_NVDS_BUFFER_POOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NVDS_BUFFER_POOL))
31 #define GST_NVDS_BUFFER_POOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_NVDS_BUFFER_POOL, GstNvDsBufferPool))
32 #define GST_NVDS_BUFFER_POOL_CAST(obj) ((GstNvDsBufferPool*)(obj))
33 
34 #define GST_NVDS_MEMORY_TYPE "nvds"
35 #define GST_BUFFER_POOL_OPTION_NVDS_META "GstBufferPoolOptionNvDsMeta"
36 
37 struct _GstNvDsBufferPool
38 {
39  GstBufferPool bufferpool;
40 
42 };
43 
45 {
46  GstBufferPoolClass parent_class;
47 };
48 
50 
51 GstBufferPool* gst_nvds_buffer_pool_new (void);
52 
53 G_END_DECLS
54 
55 #endif /* GSTNVDSBUFFERPOOL_H_ */
_GstNvDsBufferPool
Definition: includes/gstnvdsbufferpool.h:37
GstNvDsBufferPool
typedefG_BEGIN_DECLS struct _GstNvDsBufferPool GstNvDsBufferPool
Definition: includes/gstnvdsbufferpool.h:25
_GstNvDsBufferPool::priv
GstNvDsBufferPoolPrivate * priv
Definition: includes/gstnvdsbufferpool.h:41
gst_nvds_buffer_pool_get_type
GType gst_nvds_buffer_pool_get_type(void)
gst_nvds_buffer_pool_new
GstBufferPool * gst_nvds_buffer_pool_new(void)
_GstNvDsBufferPool::bufferpool
GstBufferPool bufferpool
Definition: includes/gstnvdsbufferpool.h:39
_GstNvDsBufferPoolClass
Definition: includes/gstnvdsbufferpool.h:44
GstNvDsBufferPoolPrivate
struct _GstNvDsBufferPoolPrivate GstNvDsBufferPoolPrivate
Definition: includes/gstnvdsbufferpool.h:27
_GstNvDsBufferPoolClass::parent_class
GstBufferPoolClass parent_class
Definition: includes/gstnvdsbufferpool.h:46