NVIDIA DeepStream SDK API Reference

7.0 Release
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*/
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: deepstream_preprocess.h:23
NvDsPreProcessConfig::operate_on_gie_id
gint operate_on_gie_id
Definition: deepstream_preprocess.h:28
NvDsPreProcessConfig::is_operate_on_gie_id_set
gboolean is_operate_on_gie_id_set
Definition: deepstream_preprocess.h:29
create_preprocess_bin
gboolean create_preprocess_bin(NvDsPreProcessConfig *config, NvDsPreProcessBin *bin)
Initialize NvDsPreProcessBin.
NvDsPreProcessConfig::enable
gboolean enable
create a bin for the element only if enabled
Definition: deepstream_preprocess.h:26
NvDsPreProcessBin
Definition: deepstream_preprocess.h:34
NvDsPreProcessConfig::config_file_path
gchar * config_file_path
config file path having properties for preprocess
Definition: deepstream_preprocess.h:31
NvDsPreProcessBin::preprocess
GstElement * preprocess
Definition: deepstream_preprocess.h:38
NvDsPreProcessBin::queue
GstElement * queue
Definition: deepstream_preprocess.h:37
NvDsPreProcessBin::bin
GstElement * bin
Definition: deepstream_preprocess.h:36