NVIDIA DeepStream SDK API Reference

9.0 Release
9.0/sources/apps/apps-common/includes/deepstream_preprocess.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021 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_PREPROCESS_H__
14 #define __NVGSTDS_PREPROCESS_H__
15 
16 #include <gst/gst.h>
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 typedef struct
24 {
26  gboolean enable;
27  /*gie id on which preprocessing is to be done*/
28  gint operate_on_gie_id;
29  gboolean is_operate_on_gie_id_set;
31  gchar *config_file_path;
33 
34 typedef struct
35 {
36  GstElement *bin;
37  GstElement *queue;
38  GstElement *preprocess;
40 
54  NvDsPreProcessBin *bin);
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif
NvDsPreProcessConfig
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:23
NvDsPreProcessBin
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:34
create_preprocess_bin
gboolean create_preprocess_bin(NvDsPreProcessConfig *config, NvDsPreProcessBin *bin)
Initialize NvDsPreProcessBin.