NVIDIA DeepStream SDK API Reference
6.4 Release
deepstream_preprocess.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
3
*
4
* Permission is hereby granted, free of charge, to any person obtaining a
5
* copy of this software and associated documentation files (the "Software"),
6
* to deal in the Software without restriction, including without limitation
7
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
* and/or sell copies of the Software, and to permit persons to whom the
9
* Software is furnished to do so, subject to the following conditions:
10
*
11
* The above copyright notice and this permission notice shall be included in
12
* all copies or substantial portions of the Software.
13
*
14
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20
* DEALINGS IN THE SOFTWARE.
21
*/
22
23
#ifndef __NVGSTDS_PREPROCESS_H__
24
#define __NVGSTDS_PREPROCESS_H__
25
26
#include <gst/gst.h>
27
28
#ifdef __cplusplus
29
extern
"C"
30
{
31
#endif
32
33
typedef
struct
34
{
36
gboolean
enable
;
37
/*gie id on which preprocessing is to be done*/
38
gint
operate_on_gie_id
;
39
gboolean
is_operate_on_gie_id_set
;
41
gchar *
config_file_path
;
42
}
NvDsPreProcessConfig
;
43
44
typedef
struct
45
{
46
GstElement *
bin
;
47
GstElement *
queue
;
48
GstElement *
preprocess
;
49
}
NvDsPreProcessBin
;
50
63
gboolean
create_preprocess_bin
(
NvDsPreProcessConfig
*config,
64
NvDsPreProcessBin
*bin);
65
66
#ifdef __cplusplus
67
}
68
#endif
69
70
#endif
NvDsPreProcessConfig
Definition:
deepstream_preprocess.h:33
NvDsPreProcessConfig::operate_on_gie_id
gint operate_on_gie_id
Definition:
deepstream_preprocess.h:38
NvDsPreProcessConfig::is_operate_on_gie_id_set
gboolean is_operate_on_gie_id_set
Definition:
deepstream_preprocess.h:39
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:36
NvDsPreProcessBin
Definition:
deepstream_preprocess.h:44
NvDsPreProcessConfig::config_file_path
gchar * config_file_path
config file path having properties for preprocess
Definition:
deepstream_preprocess.h:41
NvDsPreProcessBin::preprocess
GstElement * preprocess
Definition:
deepstream_preprocess.h:48
NvDsPreProcessBin::queue
GstElement * queue
Definition:
deepstream_preprocess.h:47
NvDsPreProcessBin::bin
GstElement * bin
Definition:
deepstream_preprocess.h:46
Advance Information | Subject to Change | Generated by NVIDIA | Mon Dec 11 2023 17:51:24 | PR-09318-R32