NVIDIA DeepStream SDK API Reference

8.0 Release
9.0/sources/apps/apps-common/includes/deepstream_gie.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-2026 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_GIE_H__
14 #define __NVGSTDS_GIE_H__
15 
16 #include <gst/gst.h>
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 #include "gstnvdsmeta.h"
24 #include "gstnvdsinfer.h"
25 #include "deepstream_config.h"
26 
27 typedef enum
28 {
34 
35 typedef struct
36 {
37  gboolean enable;
38 
39  gchar *config_file_path;
40 
41  gboolean input_tensor_meta;
42 
43  gboolean override_colors;
44 
45  gint operate_on_gie_id;
46  gboolean is_operate_on_gie_id_set;
47  gint operate_on_classes;
48 
49  gint num_operate_on_class_ids;
50  gint *list_operate_on_class_ids;
51 
52  gboolean have_bg_color;
53  NvOSD_ColorParams bbox_bg_color;
54  NvOSD_ColorParams bbox_border_color;
55 
56  GHashTable *bbox_border_color_table;
57  GHashTable *bbox_bg_color_table;
58 
59  guint batch_size;
60  gboolean is_batch_size_set;
61 
62  guint interval;
63  gboolean is_interval_set;
64  guint unique_id;
65  gboolean is_unique_id_set;
66  guint gpu_id;
67  gboolean is_gpu_id_set;
68  guint nvbuf_memory_type;
69  gchar *model_engine_file_path;
70 
71  gchar *audio_transform;
72  guint frame_size;
73  gboolean is_frame_size_set;
74  guint hop_size;
75  gboolean is_hop_size_set;
76  guint input_audio_rate;
77 
78  gchar *label_file_path;
79  guint n_labels;
80  guint *n_label_outputs;
81  gchar ***labels;
82 
83  gchar *raw_output_directory;
84  gulong file_write_frame_num;
85 
86  gchar *tag;
87 
88  NvDsGiePluginType plugin_type;
89 
90  // Vision encoder specific fields (when plugin_type == NV_DS_GIE_PLUGIN_VISION_ENCODER)
91  gchar *model_variant;
92  gchar *device;
93  guint min_crop_size;
94  gboolean is_min_crop_size_set;
95  guint verbose;
96  gchar *backend; // "transformers" or "triton"
97  gchar *triton_url; // Triton gRPC endpoint (host:port)
98  gchar *triton_model; // Model name in Triton repository
100 
101 #ifdef __cplusplus
102 }
103 #endif
104 
105 #endif
NV_DS_GIE_PLUGIN_INFER
@ NV_DS_GIE_PLUGIN_INFER
Definition: 9.0/sources/apps/apps-common/includes/deepstream_gie.h:29
NV_DS_GIE_PLUGIN_VIDEO_TEMPLATE
@ NV_DS_GIE_PLUGIN_VIDEO_TEMPLATE
Definition: 9.0/sources/apps/apps-common/includes/deepstream_gie.h:31
NvDsGiePluginType
NvDsGiePluginType
Definition: sources/apps/apps-common/includes/deepstream_gie.h:27
NvDsGieConfig
Definition: sources/apps/apps-common/includes/deepstream_gie.h:35
_NvOSD_ColorParams
Holds the color parameters of the box or text to be overlayed.
Definition: sources/includes/nvll_osd_struct.h:81
NV_DS_GIE_PLUGIN_VISION_ENCODER
@ NV_DS_GIE_PLUGIN_VISION_ENCODER
Definition: 9.0/sources/apps/apps-common/includes/deepstream_gie.h:32
NV_DS_GIE_PLUGIN_INFER_SERVER
@ NV_DS_GIE_PLUGIN_INFER_SERVER
Definition: 9.0/sources/apps/apps-common/includes/deepstream_gie.h:30
deepstream_config.h
NvDsGiePluginType
NvDsGiePluginType
Definition: 9.0/sources/apps/apps-common/includes/deepstream_gie.h:27