NVIDIA DeepStream SDK API Reference

7.0 Release
nvdspreprocess_property_parser.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2022 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 NVDSPREPROCESS_PROPERTY_FILE_PARSER_H_
14 #define NVDSPREPROCESS_PROPERTY_FILE_PARSER_H_
15 
16 #include <gst/gst.h>
17 #include "gstnvdspreprocess.h"
18 
24 #define _PATH_MAX 4096
25 
26 #define NVDSPREPROCESS_PROPERTY "property"
27 #define NVDSPREPROCESS_PROPERTY_TARGET_IDS "target-unique-ids"
28 #define NVDSPREPROCESS_PROPERTY_GIE_ID_FOR_OPERATION "operate-on-gie-id"
29 #define NVDSPREPROCESS_PROPERTY_ENABLE "enable"
30 #define NVDSPREPROCESS_PROPERTY_UNIQUE_ID "unique-id"
31 #define NVDSPREPROCESS_PROPERTY_GPU_ID "gpu-id"
32 #define NVDSPREPROCESS_PROPERTY_PROCESS_ON_FRAME "process-on-frame"
33 #define NVDSPREPROCESS_PROPERTY_PROCESSING_WIDTH "processing-width"
34 #define NVDSPREPROCESS_PROPERTY_PROCESSING_HEIGHT "processing-height"
35 #define NVDSPREPROCESS_PROPERTY_MAINTAIN_ASPECT_RATIO "maintain-aspect-ratio"
36 #define NVDSPREPROCESS_PROPERTY_SYMMETRIC_PADDING "symmetric-padding"
37 #define NVDSPREPROCESS_PROPERTY_TENSOR_BUF_POOL_SIZE "tensor-buf-pool-size"
38 
39 #define NVDSPREPROCESS_PROPERTY_SCALING_BUF_POOL_SIZE "scaling-buf-pool-size"
40 #define NVDSPREPROCESS_PROPERTY_SCALING_FILTER "scaling-filter"
41 #define NVDSPREPROCESS_PROPERTY_SCALING_POOL_COMPUTE_HW "scaling-pool-compute-hw"
42 #define NVDSPREPROCESS_PROPERTY_SCALING_POOL_MEMORY_TYPE "scaling-pool-memory-type"
43 
44 #define NVDSPREPROCESS_PROPERTY_NETWORK_INPUT_ORDER "network-input-order"
45 #define NVDSPREPROCESS_PROPERTY_NETWORK_SHAPE "network-input-shape"
46 #define NVDSPREPROCESS_PROPERTY_NETWORK_COLOR_FORMAT "network-color-format"
47 #define NVDSPREPROCESS_PROPERTY_TENSOR_DATA_TYPE "tensor-data-type"
48 #define NVDSPREPROCESS_PROPERTY_TENSOR_NAME "tensor-name"
49 
50 #define NVDSPREPROCESS_PROPERTY_CUSTOM_LIB_NAME "custom-lib-path"
51 #define NVDSPREPROCESS_PROPERTY_TENSOR_PREPARATION_FUNCTION "custom-tensor-preparation-function"
52 
53 #define NVDSPREPROCESS_USER_CONFIGS "user-configs"
54 
55 #define NVDSPREPROCESS_GROUP "group-"
56 #define NVDSPREPROCESS_GROUP_SRC_IDS "src-ids"
57 #define NVDSPREPROCESS_GROUP_PROCESS_ON_ROI "process-on-roi"
58 #define NVDSPREPROCESS_GROUP_PROCESS_ON_ALL_OBJECTS "process-on-all-objects"
59 #define NVDSPREPROCESS_GROUP_ROI_PARAMS_SRC "roi-params-src"
60 #define NVDSPREPROCESS_GROUP_CUSTOM_INPUT_PREPROCESS_FUNCTION "custom-input-transformation-function"
61 #define NVDSPREPROCESS_GROUP_DRAW_ROI "draw-roi"
62 #define NVDSPREPROCESS_GROUP_ROI_COLOR "roi-color"
63 #define NVDSPREPROCESS_GROUP_OPERATE_ON_CLASS_IDS "operate-on-class-ids"
64 
67 #define NVDSPREPROCESS_GROUP_OBJECT_MIN_WIDTH "input-object-min-width"
68 #define NVDSPREPROCESS_GROUP_OBJECT_MIN_HEIGHT "input-object-min-height"
69 #define NVDSPREPROCESS_GROUP_OBJECT_MAX_WIDTH "input-object-max-width"
70 #define NVDSPREPROCESS_GROUP_OBJECT_MAX_HEIGHT "input-object-max-height"
71 
81 gboolean
82 nvdspreprocess_parse_config_file (GstNvDsPreProcess *nvdspreprocess, gchar *cfg_file_path);
83 
84 #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: gstnvdspreprocess.h:47
gstnvdspreprocess.h