NVIDIA DeepStream SDK API Reference

9.1 Release
sources/apps/apps-common/includes/deepstream_preprocess.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-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_PREPROCESS_H__
19 #define __NVGSTDS_PREPROCESS_H__
20 
21 #include <gst/gst.h>
22 
23 #ifdef __cplusplus
24 extern "C"
25 {
26 #endif
27 
28 typedef struct
29 {
31  gboolean enable;
32  /*gie id on which preprocessing is to be done*/
38 
39 typedef struct
40 {
41  GstElement *bin;
42  GstElement *queue;
43  GstElement *preprocess;
45 
59  NvDsPreProcessBin *bin);
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif
NvDsPreProcessBin::bin
GstElement * bin
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:41
NvDsPreProcessConfig
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:28
NvDsPreProcessConfig::operate_on_gie_id
gint operate_on_gie_id
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:33
NvDsPreProcessBin::preprocess
GstElement * preprocess
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:43
NvDsPreProcessConfig::is_operate_on_gie_id_set
gboolean is_operate_on_gie_id_set
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:34
NvDsPreProcessConfig::enable
gboolean enable
create a bin for the element only if enabled
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:31
NvDsPreProcessBin
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:39
NvDsPreProcessConfig::config_file_path
gchar * config_file_path
config file path having properties for preprocess
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:36
create_preprocess_bin
gboolean create_preprocess_bin(NvDsPreProcessConfig *config, NvDsPreProcessBin *bin)
Initialize NvDsPreProcessBin.
NvDsPreProcessBin::queue
GstElement * queue
Definition: sources/apps/apps-common/includes/deepstream_preprocess.h:42