NVIDIA DeepStream SDK API Reference

9.0 Release
9.0/sources/apps/apps-common/includes/deepstream_segvisual.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef __NVGSTDS_SEGVISUAL_H__
14 #define __NVGSTDS_SEGVISUAL_H__
15 
16 #include <gst/gst.h>
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 typedef struct
24 {
25  GstElement *bin;
26  GstElement *queue;
27  GstElement *nvvidconv;
28  GstElement *conv_queue;
29  GstElement *cap_filter;
30  GstElement *nvsegvisual;
32 
33 typedef struct
34 {
35  gboolean enable;
36  guint gpu_id;
37  guint max_batch_size;
38  guint width;
39  guint height;
40  guint nvbuf_memory_type; /* For nvvidconv */
42 
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif
NvDsSegVisualBin
Definition: sources/apps/apps-common/includes/deepstream_segvisual.h:23
NvDsSegVisualConfig
Definition: sources/apps/apps-common/includes/deepstream_segvisual.h:33
create_segvisual_bin
gboolean create_segvisual_bin(NvDsSegVisualConfig *config, NvDsSegVisualBin *bin)
Initialize NvDsSegVisualBin.