NVIDIA DeepStream SDK API Reference

7.0 Release
deepstream_dsanalytics.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2022 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_DSANALYTICS_H_
14 #define _NVGSTDS_DSANALYTICS_H_
15 
16 #include <gst/gst.h>
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 typedef struct
24 {
25  // Create a bin for the element only if enabled
26  gboolean enable;
27  guint unique_id;
28  // Config file path having properties for the element
31 
32 // Struct to store references to the bin and elements
33 typedef struct
34 {
35  GstElement *bin;
36  GstElement *queue;
37  GstElement *elem_dsanalytics;
39 
40 // Function to create the bin and set properties
41 gboolean
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif /* _NVGSTDS_DSANALYTICS_H_ */
NvDsDsAnalyticsConfig::unique_id
guint unique_id
Definition: deepstream_dsanalytics.h:27
create_dsanalytics_bin
gboolean create_dsanalytics_bin(NvDsDsAnalyticsConfig *config, NvDsDsAnalyticsBin *bin)
NvDsDsAnalyticsBin::elem_dsanalytics
GstElement * elem_dsanalytics
Definition: deepstream_dsanalytics.h:37
NvDsDsAnalyticsBin
Definition: deepstream_dsanalytics.h:33
NvDsDsAnalyticsBin::queue
GstElement * queue
Definition: deepstream_dsanalytics.h:36
NvDsDsAnalyticsConfig
Definition: deepstream_dsanalytics.h:23
NvDsDsAnalyticsConfig::config_file_path
gchar * config_file_path
Definition: deepstream_dsanalytics.h:29
NvDsDsAnalyticsConfig::enable
gboolean enable
Definition: deepstream_dsanalytics.h:26
NvDsDsAnalyticsBin::bin
GstElement * bin
Definition: deepstream_dsanalytics.h:35