NVIDIA DeepStream SDK API Reference

9.0 Release
9.0/sources/apps/apps-common/includes/deepstream_secondary_gie.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-2019 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_SECONDARY_GIE_H__
14 #define __NVGSTDS_SECONDARY_GIE_H__
15 
16 #include "deepstream_gie.h"
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 typedef struct
24 {
25  GstElement *queue;
26  GstElement *secondary_gie;
27  GstElement *tee;
28  GstElement *sink;
29  gboolean create;
30  guint num_children;
31  gint parent_index;
33 
34 typedef struct
35 {
36  GstElement *bin;
37  GstElement *tee;
38  GstElement *queue;
39  gulong wait_for_sgie_process_buf_probe_id;
40  gboolean stop;
41  gboolean flush;
43  GMutex wait_lock;
44  GCond wait_cond;
46 
61 gboolean create_secondary_gie_bin (guint num_secondary_gie,
62  guint primary_gie_unique_id, NvDsGieConfig *config_array,
63  NvDsSecondaryGieBin *bin);
64 
69 
70 #ifdef __cplusplus
71 }
72 #endif
73 
74 #endif
MAX_SECONDARY_GIE_BINS
#define MAX_SECONDARY_GIE_BINS
Definition: sources/apps/apps-common/includes/deepstream_config.h:88
create_secondary_gie_bin
gboolean create_secondary_gie_bin(guint num_secondary_gie, guint primary_gie_unique_id, NvDsGieConfig *config_array, NvDsSecondaryGieBin *bin)
Initialize NvDsSecondaryGieBin.
deepstream_gie.h
NvDsGieConfig
Definition: sources/apps/apps-common/includes/deepstream_gie.h:35
NvDsSecondaryGieBinSubBin
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:23
destroy_secondary_gie_bin
void destroy_secondary_gie_bin(NvDsSecondaryGieBin *bin)
Release the resources.
NvDsSecondaryGieBin
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:34