NVIDIA DeepStream SDK API Reference

9.1 Release
sources/apps/apps-common/includes/deepstream_secondary_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: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef __NVGSTDS_SECONDARY_GIE_H__
19 #define __NVGSTDS_SECONDARY_GIE_H__
20 
21 #include "deepstream_gie.h"
22 
23 #ifdef __cplusplus
24 extern "C"
25 {
26 #endif
27 
28 typedef struct
29 {
30  GstElement *queue;
31  GstElement *secondary_gie;
32  GstElement *tee;
33  GstElement *sink;
34  gboolean create;
35  guint num_children;
38 
39 typedef struct
40 {
41  GstElement *bin;
42  GstElement *tee;
43  GstElement *queue;
45  gboolean stop;
46  gboolean flush;
48  GMutex wait_lock;
49  GCond wait_cond;
51 
66 gboolean create_secondary_gie_bin (guint num_secondary_gie,
67  guint primary_gie_unique_id, NvDsGieConfig *config_array,
68  NvDsSecondaryGieBin *bin);
69 
74 
75 #ifdef __cplusplus
76 }
77 #endif
78 
79 #endif
deepstream_gie.h
NvDsSecondaryGieBinSubBin::queue
GstElement * queue
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:30
NvDsSecondaryGieBinSubBin::tee
GstElement * tee
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:32
MAX_SECONDARY_GIE_BINS
#define MAX_SECONDARY_GIE_BINS
Definition: sources/apps/apps-common/includes/deepstream_config.h:93
NvDsSecondaryGieBin::wait_cond
GCond wait_cond
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:49
NvDsSecondaryGieBin::tee
GstElement * tee
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:42
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.
NvDsSecondaryGieBinSubBin::create
gboolean create
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:34
NvDsSecondaryGieBin::wait_lock
GMutex wait_lock
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:48
NvDsSecondaryGieBin::flush
gboolean flush
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:46
destroy_secondary_gie_bin
void destroy_secondary_gie_bin(NvDsSecondaryGieBin *bin)
Release the resources.
NvDsSecondaryGieBinSubBin::secondary_gie
GstElement * secondary_gie
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:31
NvDsSecondaryGieBin::bin
GstElement * bin
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:41
NvDsSecondaryGieBin::stop
gboolean stop
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:45
NvDsSecondaryGieBinSubBin::sink
GstElement * sink
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:33
NvDsGieConfig
Definition: sources/apps/apps-common/includes/deepstream_gie.h:40
NvDsSecondaryGieBinSubBin::parent_index
gint parent_index
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:36
NvDsSecondaryGieBinSubBin::num_children
guint num_children
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:35
NvDsSecondaryGieBinSubBin
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:28
NvDsSecondaryGieBin
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:39
NvDsSecondaryGieBin::queue
GstElement * queue
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:43
NvDsSecondaryGieBin::wait_for_sgie_process_buf_probe_id
gulong wait_for_sgie_process_buf_probe_id
Definition: sources/apps/apps-common/includes/deepstream_secondary_gie.h:44