Go to the source code of this file.
Functions | |
gboolean | nvdspreprocess_parse_config_file (GstNvDsPreProcess *nvdspreprocess, gchar *cfg_file_path) |
Get GstNvDsPreProcessMemory structure associated with buffer allocated using GstNvDsPreProcessAllocator. More... | |
#define _PATH_MAX 4096 |
This file describes the Macro defined for config file property parser.
max string length
Definition at line 24 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP "group-" |
Definition at line 55 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_CUSTOM_INPUT_PREPROCESS_FUNCTION "custom-input-transformation-function" |
Definition at line 60 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_DRAW_ROI "draw-roi" |
Definition at line 61 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_INTERVAL "interval" |
Definition at line 64 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_OBJECT_MAX_HEIGHT "input-object-max-height" |
Definition at line 71 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_OBJECT_MAX_WIDTH "input-object-max-width" |
Definition at line 70 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_OBJECT_MIN_HEIGHT "input-object-min-height" |
Definition at line 69 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_OBJECT_MIN_WIDTH "input-object-min-width" |
Parameters for filtering objects based min/max size threshold when operating in secondary mode.
Definition at line 68 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_OPERATE_ON_CLASS_IDS "operate-on-class-ids" |
Definition at line 63 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_PROCESS_ON_ALL_OBJECTS "process-on-all-objects" |
Definition at line 58 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_PROCESS_ON_ROI "process-on-roi" |
Definition at line 57 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_ROI_COLOR "roi-color" |
Definition at line 62 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_ROI_PARAMS_SRC "roi-params-src" |
Definition at line 59 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_GROUP_SRC_IDS "src-ids" |
Definition at line 56 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY "property" |
Definition at line 26 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_CUSTOM_LIB_NAME "custom-lib-path" |
Definition at line 50 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_ENABLE "enable" |
Definition at line 29 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_GIE_ID_FOR_OPERATION "operate-on-gie-id" |
Definition at line 28 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_GPU_ID "gpu-id" |
Definition at line 31 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_MAINTAIN_ASPECT_RATIO "maintain-aspect-ratio" |
Definition at line 35 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_NETWORK_COLOR_FORMAT "network-color-format" |
Definition at line 46 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_NETWORK_INPUT_ORDER "network-input-order" |
Definition at line 44 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_NETWORK_SHAPE "network-input-shape" |
Definition at line 45 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_PROCESS_ON_FRAME "process-on-frame" |
Definition at line 32 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_PROCESSING_HEIGHT "processing-height" |
Definition at line 34 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_PROCESSING_WIDTH "processing-width" |
Definition at line 33 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_SCALING_BUF_POOL_SIZE "scaling-buf-pool-size" |
Definition at line 39 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_SCALING_FILTER "scaling-filter" |
Definition at line 40 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_SCALING_POOL_COMPUTE_HW "scaling-pool-compute-hw" |
Definition at line 41 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_SCALING_POOL_MEMORY_TYPE "scaling-pool-memory-type" |
Definition at line 42 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_SYMMETRIC_PADDING "symmetric-padding" |
Definition at line 36 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_TARGET_IDS "target-unique-ids" |
Definition at line 27 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_TENSOR_BUF_POOL_SIZE "tensor-buf-pool-size" |
Definition at line 37 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_TENSOR_DATA_TYPE "tensor-data-type" |
Definition at line 47 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_TENSOR_NAME "tensor-name" |
Definition at line 48 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_TENSOR_PREPARATION_FUNCTION "custom-tensor-preparation-function" |
Definition at line 51 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_PROPERTY_UNIQUE_ID "unique-id" |
Definition at line 30 of file nvdspreprocess_property_parser.h.
#define NVDSPREPROCESS_USER_CONFIGS "user-configs" |
Definition at line 53 of file nvdspreprocess_property_parser.h.
gboolean nvdspreprocess_parse_config_file | ( | GstNvDsPreProcess * | nvdspreprocess, |
gchar * | cfg_file_path | ||
) |
Get GstNvDsPreProcessMemory structure associated with buffer allocated using GstNvDsPreProcessAllocator.
nvdspreprocess | pointer to GstNvDsPreProcess structure |
cfg_file_path | config file path |