NVIDIA DeepStream SDK API Reference

9.0 Release
9.0/sources/apps/apps-common/includes/deepstream_secondary_preprocess.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 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_SECONDARY_PREPROCESS_H__
14 #define __NVGSTDS_SECONDARY_PREPROCESS_H__
15 
16 #include <gst/gst.h>
17 #include "deepstream_preprocess.h"
18 
19 #ifdef __cplusplus
20 extern "C"
21 {
22 #endif
23 
24 typedef struct
25 {
26  GstElement *queue;
27  GstElement *secondary_preprocess;
28  GstElement *tee;
29  GstElement *sink;
30  gboolean create;
31  guint num_children;
32  gint parent_index;
34 
35 typedef struct
36 {
37  GstElement *bin;
38  GstElement *tee;
39  GstElement *queue;
40  gulong wait_for_secondary_preprocess_process_buf_probe_id;
41  gboolean stop;
42  gboolean flush;
44  GMutex wait_lock;
45  GCond wait_cond;
47 
61 gboolean create_secondary_preprocess_bin (guint num_secondary_preprocess,
62  guint primary_gie_unique_id,
63  NvDsPreProcessConfig *config_array,
65 
70 
71 #ifdef __cplusplus
72 }
73 #endif
74 
75 #endif
deepstream_preprocess.h
MAX_SECONDARY_GIE_BINS
#define MAX_SECONDARY_GIE_BINS
Definition: sources/apps/apps-common/includes/deepstream_config.h:88
NvDsPreProcessConfig
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:23
destroy_secondary_preprocess_bin
void destroy_secondary_preprocess_bin(NvDsSecondaryPreProcessBin *bin)
Release the resources.
create_secondary_preprocess_bin
gboolean create_secondary_preprocess_bin(guint num_secondary_preprocess, guint primary_gie_unique_id, NvDsPreProcessConfig *config_array, NvDsSecondaryPreProcessBin *bin)
Initialize NvDsSecondaryPreProcessBin.
NvDsSecondaryPreProcessBinSubBin
Definition: sources/apps/apps-common/includes/deepstream_secondary_preprocess.h:24
NvDsSecondaryPreProcessBin
Definition: sources/apps/apps-common/includes/deepstream_secondary_preprocess.h:35