NVIDIA DeepStream SDK API Reference
9.1 Release
sources/gst-plugins/gst-nvdspreprocess/nvdspreprocess_property_parser.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 NVDSPREPROCESS_PROPERTY_FILE_PARSER_H_
19
#define NVDSPREPROCESS_PROPERTY_FILE_PARSER_H_
20
21
#include <gst/gst.h>
22
#include "
gstnvdspreprocess.h
"
23
29
#define _PATH_MAX 4096
30
31
#define NVDSPREPROCESS_PROPERTY "property"
32
#define NVDSPREPROCESS_PROPERTY_TARGET_IDS "target-unique-ids"
33
#define NVDSPREPROCESS_PROPERTY_GIE_ID_FOR_OPERATION "operate-on-gie-id"
34
#define NVDSPREPROCESS_PROPERTY_ENABLE "enable"
35
#define NVDSPREPROCESS_PROPERTY_UNIQUE_ID "unique-id"
36
#define NVDSPREPROCESS_PROPERTY_GPU_ID "gpu-id"
37
#define NVDSPREPROCESS_PROPERTY_PROCESS_ON_FRAME "process-on-frame"
38
#define NVDSPREPROCESS_PROPERTY_PROCESSING_WIDTH "processing-width"
39
#define NVDSPREPROCESS_PROPERTY_PROCESSING_HEIGHT "processing-height"
40
#define NVDSPREPROCESS_PROPERTY_MAINTAIN_ASPECT_RATIO "maintain-aspect-ratio"
41
#define NVDSPREPROCESS_PROPERTY_SYMMETRIC_PADDING "symmetric-padding"
42
#define NVDSPREPROCESS_PROPERTY_TENSOR_BUF_POOL_SIZE "tensor-buf-pool-size"
43
44
#define NVDSPREPROCESS_PROPERTY_SCALING_BUF_POOL_SIZE "scaling-buf-pool-size"
45
#define NVDSPREPROCESS_PROPERTY_SCALING_FILTER "scaling-filter"
46
#define NVDSPREPROCESS_PROPERTY_SCALING_POOL_COMPUTE_HW "scaling-pool-compute-hw"
47
#define NVDSPREPROCESS_PROPERTY_SCALING_POOL_MEMORY_TYPE "scaling-pool-memory-type"
48
49
#define NVDSPREPROCESS_PROPERTY_NETWORK_INPUT_ORDER "network-input-order"
50
#define NVDSPREPROCESS_PROPERTY_NETWORK_SHAPE "network-input-shape"
51
#define NVDSPREPROCESS_PROPERTY_NETWORK_COLOR_FORMAT "network-color-format"
52
#define NVDSPREPROCESS_PROPERTY_TENSOR_DATA_TYPE "tensor-data-type"
53
#define NVDSPREPROCESS_PROPERTY_TENSOR_NAME "tensor-name"
54
55
#define NVDSPREPROCESS_PROPERTY_CUSTOM_LIB_NAME "custom-lib-path"
56
#define NVDSPREPROCESS_PROPERTY_TENSOR_PREPARATION_FUNCTION "custom-tensor-preparation-function"
57
58
#define NVDSPREPROCESS_USER_CONFIGS "user-configs"
59
60
#define NVDSPREPROCESS_GROUP "group-"
61
#define NVDSPREPROCESS_GROUP_SRC_IDS "src-ids"
62
#define NVDSPREPROCESS_GROUP_PROCESS_ON_ROI "process-on-roi"
63
#define NVDSPREPROCESS_GROUP_PROCESS_ON_ALL_OBJECTS "process-on-all-objects"
64
#define NVDSPREPROCESS_GROUP_ROI_PARAMS_SRC "roi-params-src"
65
#define NVDSPREPROCESS_GROUP_CUSTOM_INPUT_PREPROCESS_FUNCTION "custom-input-transformation-function"
66
#define NVDSPREPROCESS_GROUP_DRAW_ROI "draw-roi"
67
#define NVDSPREPROCESS_GROUP_ROI_COLOR "roi-color"
68
#define NVDSPREPROCESS_GROUP_OPERATE_ON_CLASS_IDS "operate-on-class-ids"
69
#define NVDSPREPROCESS_GROUP_INTERVAL "interval"
70
73
#define NVDSPREPROCESS_GROUP_OBJECT_MIN_WIDTH "input-object-min-width"
74
#define NVDSPREPROCESS_GROUP_OBJECT_MIN_HEIGHT "input-object-min-height"
75
#define NVDSPREPROCESS_GROUP_OBJECT_MAX_WIDTH "input-object-max-width"
76
#define NVDSPREPROCESS_GROUP_OBJECT_MAX_HEIGHT "input-object-max-height"
77
87
gboolean
88
nvdspreprocess_parse_config_file
(
GstNvDsPreProcess
*nvdspreprocess, gchar *cfg_file_path);
89
90
#endif
/* NVDSPREPROCESS_PROPERTY_FILE_PARSER_H_ */
nvdspreprocess_parse_config_file
gboolean nvdspreprocess_parse_config_file(GstNvDsPreProcess *nvdspreprocess, gchar *cfg_file_path)
Get GstNvDsPreProcessMemory structure associated with buffer allocated using GstNvDsPreProcessAllocat...
GstNvDsPreProcess
typedefG_BEGIN_DECLS struct _GstNvDsPreProcess GstNvDsPreProcess
Definition:
sources/gst-plugins/gst-nvdspreprocess/gstnvdspreprocess.h:52
gstnvdspreprocess.h
Privacy Policy
|
Manage My Privacy
|
Do Not Sell or Share My Data
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Thu Jul 9 2026 11:48:20 | PR-09318-R32