NVIDIA DeepStream SDK API Reference

9.0 Release
9.0/sources/apps/apps-common/includes/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
29  gchar *config_file_path;
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_ */
NvDsDsAnalyticsBin
Definition: sources/apps/apps-common/includes/deepstream_dsanalytics.h:33
NvDsDsAnalyticsConfig
Definition: sources/apps/apps-common/includes/deepstream_dsanalytics.h:23
create_dsanalytics_bin
gboolean create_dsanalytics_bin(NvDsDsAnalyticsConfig *config, NvDsDsAnalyticsBin *bin)