|
NVIDIA DeepStream SDK API Reference
|
7.1 Release
|
Go to the documentation of this file.
13 #ifndef __NVGSTDS_CONFIG_PARSER_H__
14 #define __NVGSTDS_CONFIG_PARSER_H__
42 #define CONFIG_GROUP_SOURCE_LIST "source-list"
43 #define CONFIG_GROUP_SOURCE_LIST_NUM_SOURCE_BINS "num-source-bins"
44 #define CONFIG_GROUP_SOURCE_LIST_URI_LIST "list"
46 #define CONFIG_GROUP_SOURCE_LIST_SENSOR_ID_LIST "sensor-id-list"
47 #define CONFIG_GROUP_SOURCE_LIST_SENSOR_NAME_LIST "sensor-name-list"
50 #define CONFIG_GROUP_SOURCE_LIST_USE_NVMULTIURISRCBIN "use-nvmultiurisrcbin"
51 #define CONFIG_GROUP_SOURCE_LIST_STREAM_NAME_DISPLAY "stream-name-display"
52 #define CONFIG_GROUP_SOURCE_LIST_MAX_BATCH_SIZE "max-batch-size"
53 #define CONFIG_GROUP_SOURCE_LIST_HTTP_IP "http-ip"
54 #define CONFIG_GROUP_SOURCE_LIST_HTTP_PORT "http-port"
55 #define CONFIG_GROUP_SOURCE_EXTRACT_SEI_TYPE5_DATA "extract-sei-type5-data"
56 #define CONFIG_GROUP_SOURCE_SEI_UUID "sei-uuid"
57 #define CONFIG_GROUP_SOURCE_LIST_LOW_LATENCY_MODE "low-latency-mode"
59 #define CONFIG_GROUP_SOURCE_ALL "source-attr-all"
61 #define CONFIG_GROUP_SOURCE "source"
62 #define CONFIG_GROUP_OSD "osd"
63 #define CONFIG_GROUP_SEGVISUAL "segvisual"
64 #define CONFIG_GROUP_PREPROCESS "pre-process"
65 #define CONFIG_GROUP_SECONDARY_PREPROCESS "secondary-pre-process"
66 #define CONFIG_GROUP_PRIMARY_GIE "primary-gie"
67 #define CONFIG_GROUP_SECONDARY_GIE "secondary-gie"
68 #define CONFIG_GROUP_TRACKER "tracker"
69 #define CONFIG_GROUP_SINK "sink"
70 #define CONFIG_GROUP_TILED_DISPLAY "tiled-display"
71 #define CONFIG_GROUP_DSANALYTICS "nvds-analytics"
72 #define CONFIG_GROUP_DSEXAMPLE "ds-example"
73 #define CONFIG_GROUP_STREAMMUX "streammux"
74 #define CONFIG_GROUP_DEWARPER "dewarper"
75 #define CONFIG_GROUP_MSG_CONVERTER "message-converter"
76 #define CONFIG_GROUP_MSG_CONSUMER "message-consumer"
77 #define CONFIG_GROUP_IMG_SAVE "img-save"
78 #define CONFIG_GROUP_AUDIO_TRANSFORM "audio-transform"
79 #define CONFIG_GROUP_AUDIO_CLASSIFIER "audio-classifier"
81 #define CONFIG_GROUP_SOURCE_GPU_ID "gpu-id"
82 #define CONFIG_GROUP_SOURCE_TYPE "type"
83 #define CONFIG_GROUP_SOURCE_CUDA_MEM_TYPE "nvbuf-memory-type"
84 #define CONFIG_GROUP_SOURCE_CAMERA_WIDTH "camera-width"
85 #define CONFIG_GROUP_SOURCE_CAMERA_HEIGHT "camera-height"
86 #define CONFIG_GROUP_SOURCE_CAMERA_FPS_N "camera-fps-n"
87 #define CONFIG_GROUP_SOURCE_CAMERA_FPS_D "camera-fps-d"
88 #define CONFIG_GROUP_SOURCE_CAMERA_CSI_SID "camera-csi-sensor-id"
89 #define CONFIG_GROUP_SOURCE_CAMERA_V4L2_DEVNODE "camera-v4l2-dev-node"
90 #define CONFIG_GROUP_SOURCE_URI "uri"
91 #define CONFIG_GROUP_SOURCE_LIVE_SOURCE "live-source"
92 #define CONFIG_GROUP_SOURCE_FILE_LOOP "file-loop"
93 #define CONFIG_GROUP_SOURCE_LATENCY "latency"
94 #define CONFIG_GROUP_SOURCE_NUM_SOURCES "num-sources"
95 #define CONFIG_GROUP_SOURCE_INTRA_DECODE "intra-decode-enable"
96 #define CONFIG_GROUP_SOURCE_DEC_SKIP_FRAMES "dec-skip-frames"
97 #define CONFIG_GROUP_SOURCE_NUM_DECODE_SURFACES "num-decode-surfaces"
98 #define CONFIG_GROUP_SOURCE_NUM_EXTRA_SURFACES "num-extra-surfaces"
99 #define CONFIG_GROUP_SOURCE_DROP_FRAME_INTERVAL "drop-frame-interval"
100 #define CONFIG_GROUP_SOURCE_CAMERA_ID "camera-id"
101 #define CONFIG_GROUP_SOURCE_ID "source-id"
102 #define CONFIG_GROUP_SOURCE_SELECT_RTP_PROTOCOL "select-rtp-protocol"
103 #define CONFIG_GROUP_SOURCE_RTSP_RECONNECT_INTERVAL_SEC "rtsp-reconnect-interval-sec"
104 #define CONFIG_GROUP_SOURCE_RTSP_RECONNECT_ATTEMPTS "rtsp-reconnect-attempts"
105 #define CONFIG_GROUP_SOURCE_SMART_RECORD_ENABLE "smart-record"
106 #define CONFIG_GROUP_SOURCE_SMART_RECORD_DIRPATH "smart-rec-dir-path"
107 #define CONFIG_GROUP_SOURCE_SMART_RECORD_FILE_PREFIX "smart-rec-file-prefix"
108 #define CONFIG_GROUP_SOURCE_SMART_RECORD_CACHE_SIZE_LEGACY "smart-rec-video-cache"
109 #define CONFIG_GROUP_SOURCE_SMART_RECORD_CACHE_SIZE "smart-rec-cache"
110 #define CONFIG_GROUP_SOURCE_SMART_RECORD_CONTAINER "smart-rec-container"
111 #define CONFIG_GROUP_SOURCE_SMART_RECORD_START_TIME "smart-rec-start-time"
112 #define CONFIG_GROUP_SOURCE_SMART_RECORD_DEFAULT_DURATION "smart-rec-default-duration"
113 #define CONFIG_GROUP_SOURCE_SMART_RECORD_DURATION "smart-rec-duration"
114 #define CONFIG_GROUP_SOURCE_SMART_RECORD_INTERVAL "smart-rec-interval"
152 gchar * group, gchar * cfg_file_path);
187 gchar * group, gchar * cfg_file_path);
202 gchar * cfg_file_path);
311 gchar *group, gchar *cfg_file_path);
gboolean parse_segvisual(NvDsSegVisualConfig *config, GKeyFile *key_file)
Function to read properties of NvSegVisual element from configuration file.
gboolean parse_dewarper(NvDsDewarperConfig *config, GKeyFile *key_file, gchar *cfg_file_path, gchar *group)
Function to read properties of source element from configuration file.
gboolean parse_tiled_display(NvDsTiledDisplayConfig *config, GKeyFile *key_file)
Function to read properties of tiler element from configuration file.
gboolean parse_tracker(NvDsTrackerConfig *config, GKeyFile *key_file, gchar *cfg_file_path)
Function to read properties of tracker element from configuration file.
gboolean parse_dsanalytics(NvDsDsAnalyticsConfig *config, GKeyFile *key_file, gchar *cfg_file_path)
Function to read properties of dsanalytics element from configuration file.
gboolean parse_preprocess(NvDsPreProcessConfig *config, GKeyFile *key_file, gchar *group, gchar *cfg_file_path)
Function to read properties of nvdspreprocess element from configuration file.
gboolean parse_labels_file(NvDsGieConfig *config)
Function to parse class label file.
gboolean parse_source(NvDsSourceConfig *config, GKeyFile *key_file, gchar *group, gchar *cfg_file_path)
Function to read properties of source element from configuration file.
gboolean parse_image_save(NvDsImageSave *config, GKeyFile *key_file, gchar *group, gchar *cfg_file_path)
Function to read properties of image save from configuration file.
gboolean parse_gie(NvDsGieConfig *config, GKeyFile *key_file, gchar *group, gchar *cfg_file_path)
Function to read properties of infer element from configuration file.
gboolean parse_msgconv(NvDsSinkMsgConvBrokerConfig *config, GKeyFile *key_file, gchar *group, gchar *cfg_file_path)
Function to read properties of message converter element from configuration file.
gboolean parse_msgconsumer(NvDsMsgConsumerConfig *config, GKeyFile *key_file, gchar *group, gchar *cfg_file_path)
Function to read properties of message consumer element from configuration file.
gboolean parse_sink(NvDsSinkSubBinConfig *config, GKeyFile *key_file, gchar *group, gchar *cfg_file_path)
Function to read properties of sink element from configuration file.
gboolean parse_streammux(NvDsStreammuxConfig *config, GKeyFile *key_file, gchar *cfg_file_path)
Function to read properties of streammux element from configuration file.
gboolean parse_dsexample(NvDsDsExampleConfig *config, GKeyFile *key_file)
Function to read properties of dsexample element from configuration file.
gchar * get_absolute_file_path(gchar *cfg_file_path, gchar *file_path)
Utility function to convert relative path in configuration file with absolute path.
gboolean parse_osd(NvDsOSDConfig *config, GKeyFile *key_file)
Function to read properties of OSD element from configuration file.