Go to the source code of this file.
Functions | |
gboolean | parse_labels_file (NvDsGieConfig *config) |
Function to parse class label file. More... | |
gboolean | parse_dewarper (NvDsDewarperConfig *config, GKeyFile *key_file, gchar *cfg_file_path, gchar *group) |
Function to read properties of source element from configuration file. More... | |
gboolean | parse_source (NvDsSourceConfig *config, GKeyFile *key_file, gchar *group, gchar *cfg_file_path) |
Function to read properties of source element from configuration file. More... | |
gboolean | parse_segvisual (NvDsSegVisualConfig *config, GKeyFile *key_file) |
Function to read properties of NvSegVisual element from configuration file. More... | |
gboolean | parse_osd (NvDsOSDConfig *config, GKeyFile *key_file) |
Function to read properties of OSD element from configuration file. More... | |
gboolean | parse_preprocess (NvDsPreProcessConfig *config, GKeyFile *key_file, gchar *group, gchar *cfg_file_path) |
Function to read properties of nvdspreprocess element from configuration file. More... | |
gboolean | parse_gie (NvDsGieConfig *config, GKeyFile *key_file, gchar *group, gchar *cfg_file_path) |
Function to read properties of infer element from configuration file. More... | |
gboolean | parse_tracker (NvDsTrackerConfig *config, GKeyFile *key_file, gchar *cfg_file_path) |
Function to read properties of tracker element from configuration file. More... | |
gboolean | parse_sink (NvDsSinkSubBinConfig *config, GKeyFile *key_file, gchar *group, gchar *cfg_file_path) |
Function to read properties of sink element from configuration file. More... | |
gboolean | parse_tiled_display (NvDsTiledDisplayConfig *config, GKeyFile *key_file) |
Function to read properties of tiler element from configuration file. More... | |
gboolean | parse_dsanalytics (NvDsDsAnalyticsConfig *config, GKeyFile *key_file, gchar *cfg_file_path) |
Function to read properties of dsanalytics element from configuration file. More... | |
gboolean | parse_dsexample (NvDsDsExampleConfig *config, GKeyFile *key_file) |
Function to read properties of dsexample element from configuration file. More... | |
gboolean | parse_streammux (NvDsStreammuxConfig *config, GKeyFile *key_file, gchar *cfg_file_path) |
Function to read properties of streammux element from configuration file. More... | |
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. More... | |
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. More... | |
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. More... | |
gchar * | get_absolute_file_path (gchar *cfg_file_path, gchar *file_path) |
Utility function to convert relative path in configuration file with absolute path. More... | |
#define CONFIG_GROUP_AUDIO_CLASSIFIER "audio-classifier" |
Definition at line 86 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_AUDIO_TRANSFORM "audio-transform" |
Definition at line 85 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_DEWARPER "dewarper" |
Definition at line 81 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_DSANALYTICS "nvds-analytics" |
Definition at line 78 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_DSEXAMPLE "ds-example" |
Definition at line 79 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_IMG_SAVE "img-save" |
Definition at line 84 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_MSG_CONSUMER "message-consumer" |
Definition at line 83 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_MSG_CONVERTER "message-converter" |
Definition at line 82 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_OSD "osd" |
Definition at line 69 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_PREPROCESS "pre-process" |
Definition at line 71 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_PRIMARY_GIE "primary-gie" |
Definition at line 73 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SECONDARY_GIE "secondary-gie" |
Definition at line 74 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SECONDARY_PREPROCESS "secondary-pre-process" |
Definition at line 72 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SEGVISUAL "segvisual" |
Definition at line 70 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SINK "sink" |
Definition at line 76 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE "source" |
Definition at line 68 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_ALL "source-attr-all" |
Definition at line 66 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_CAMERA_CSI_SID "camera-csi-sensor-id" |
Definition at line 95 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_CAMERA_FPS_D "camera-fps-d" |
Definition at line 94 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_CAMERA_FPS_N "camera-fps-n" |
Definition at line 93 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_CAMERA_HEIGHT "camera-height" |
Definition at line 92 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_CAMERA_ID "camera-id" |
Definition at line 107 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_CAMERA_V4L2_DEVNODE "camera-v4l2-dev-node" |
Definition at line 96 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_CAMERA_WIDTH "camera-width" |
Definition at line 91 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_CUDA_MEM_TYPE "nvbuf-memory-type" |
Definition at line 90 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_DEC_SKIP_FRAMES "dec-skip-frames" |
Definition at line 103 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_DROP_FRAME_INTERVAL "drop-frame-interval" |
Definition at line 106 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_FILE_LOOP "file-loop" |
Definition at line 99 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_GPU_ID "gpu-id" |
Definition at line 88 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_ID "source-id" |
Definition at line 108 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_INTRA_DECODE "intra-decode-enable" |
Definition at line 102 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LATENCY "latency" |
Definition at line 100 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LIST "source-list" |
Definition at line 52 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LIST_HTTP_IP "http-ip" |
Definition at line 63 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LIST_HTTP_PORT "http-port" |
Definition at line 64 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LIST_MAX_BATCH_SIZE "max-batch-size" |
Definition at line 62 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LIST_NUM_SOURCE_BINS "num-source-bins" |
Definition at line 53 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LIST_SENSOR_ID_LIST "sensor-id-list" |
this vector is one to one mapped with the uri-list/list
Definition at line 56 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LIST_SENSOR_NAME_LIST "sensor-name-list" |
Definition at line 57 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LIST_STREAM_NAME_DISPLAY "stream-name-display" |
Definition at line 61 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LIST_URI_LIST "list" |
Definition at line 54 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LIST_USE_NVMULTIURISRCBIN "use-nvmultiurisrcbin" |
additional configs to support nvmultiurisrcbin usage
Definition at line 60 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_LIVE_SOURCE "live-source" |
Definition at line 98 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_NUM_DECODE_SURFACES "num-decode-surfaces" |
Definition at line 104 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_NUM_EXTRA_SURFACES "num-extra-surfaces" |
Definition at line 105 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_NUM_SOURCES "num-sources" |
Definition at line 101 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_RTSP_RECONNECT_ATTEMPTS "rtsp-reconnect-attempts" |
Definition at line 111 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_RTSP_RECONNECT_INTERVAL_SEC "rtsp-reconnect-interval-sec" |
Definition at line 110 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_SELECT_RTP_PROTOCOL "select-rtp-protocol" |
Definition at line 109 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_SMART_RECORD_CACHE_SIZE "smart-rec-cache" |
Definition at line 116 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_SMART_RECORD_CACHE_SIZE_LEGACY "smart-rec-video-cache" |
Definition at line 115 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_SMART_RECORD_CONTAINER "smart-rec-container" |
Definition at line 117 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_SMART_RECORD_DEFAULT_DURATION "smart-rec-default-duration" |
Definition at line 119 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_SMART_RECORD_DIRPATH "smart-rec-dir-path" |
Definition at line 113 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_SMART_RECORD_DURATION "smart-rec-duration" |
Definition at line 120 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_SMART_RECORD_ENABLE "smart-record" |
Definition at line 112 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_SMART_RECORD_FILE_PREFIX "smart-rec-file-prefix" |
Definition at line 114 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_SMART_RECORD_INTERVAL "smart-rec-interval" |
Definition at line 121 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_SMART_RECORD_START_TIME "smart-rec-start-time" |
Definition at line 118 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_TYPE "type" |
Definition at line 89 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_SOURCE_URI "uri" |
Definition at line 97 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_STREAMMUX "streammux" |
Definition at line 80 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_TILED_DISPLAY "tiled-display" |
Definition at line 77 of file deepstream_config_file_parser.h.
#define CONFIG_GROUP_TRACKER "tracker" |
Definition at line 75 of file deepstream_config_file_parser.h.
gchar* get_absolute_file_path | ( | gchar * | cfg_file_path, |
gchar * | file_path | ||
) |
Utility function to convert relative path in configuration file with absolute path.
[in] | cfg_file_path | path of configuration file. |
[in] | file_path | relative path of 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.
[in] | config | pointer to NvDsDewarperConfig |
[in] | key_file | pointer to file having key value pairs. |
[in] | group | name of property group CONFIG_GROUP_DEWARPER |
[in] | cfg_file_path | path of configuration file. |
gboolean parse_dsanalytics | ( | NvDsDsAnalyticsConfig * | config, |
GKeyFile * | key_file, | ||
gchar * | cfg_file_path | ||
) |
Function to read properties of dsanalytics element from configuration file.
[in] | config | pointer to NvDsDsAnalyticsConfig |
[in] | key_file | pointer to file having key value pairs. |
gboolean parse_dsexample | ( | NvDsDsExampleConfig * | config, |
GKeyFile * | key_file | ||
) |
Function to read properties of dsexample element from configuration file.
[in] | config | pointer to NvDsDsExampleConfig |
[in] | key_file | pointer to file having key value pairs. |
gboolean parse_gie | ( | NvDsGieConfig * | config, |
GKeyFile * | key_file, | ||
gchar * | group, | ||
gchar * | cfg_file_path | ||
) |
Function to read properties of infer element from configuration file.
[in] | config | pointer to NvDsGieConfig |
[in] | key_file | pointer to file having key value pairs. |
[in] | group | name of property group CONFIG_GROUP_PRIMARY_GIE and CONFIG_GROUP_SECONDARY_GIE |
[in] | cfg_file_path | path of 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.
[in] | config | pointer to NvDsMsgConsumerConfig |
[in] | key_file | pointer to file having key value pairs. |
[in] | group | name of property group CONFIG_GROUP_MSG_CONSUMER |
[in] | cfg_file_path | path of configuration file. |
gboolean parse_labels_file | ( | NvDsGieConfig * | config | ) |
Function to parse class label file.
Parses the labels into a 2D-array of strings. Refer the SDK documentation for format of the labels file.
[in] | config | pointer to NvDsGieConfig |
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.
[in] | config | pointer to NvDsMsgConsumerConfig |
[in] | key_file | pointer to file having key value pairs. |
[in] | group | name of property group CONFIG_GROUP_MSG_CONSUMER |
[in] | cfg_file_path | path of 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.
[in] | config | pointer to NvDsSinkMsgConvBrokerConfig |
[in] | key_file | pointer to file having key value pairs. |
[in] | group | name of property group CONFIG_GROUP_MSG_CONVERTER |
[in] | cfg_file_path | path of configuration file. |
gboolean parse_osd | ( | NvDsOSDConfig * | config, |
GKeyFile * | key_file | ||
) |
Function to read properties of OSD element from configuration file.
[in] | config | pointer to NvDsOSDConfig |
[in] | key_file | pointer to file having key value pairs. |
gboolean parse_preprocess | ( | NvDsPreProcessConfig * | config, |
GKeyFile * | key_file, | ||
gchar * | group, | ||
gchar * | cfg_file_path | ||
) |
Function to read properties of nvdspreprocess element from configuration file.
[in] | config | pointer to NvDsPreProcessConfig |
[in] | key_file | pointer to file having key value pairs. |
[in] | group | name of property group CONFIG_GROUP_PREPROCESS and CONFIG_GROUP_SECONDARY_PREPROCESS |
[in] | cfg_file_path | path of configuration file. |
gboolean parse_segvisual | ( | NvDsSegVisualConfig * | config, |
GKeyFile * | key_file | ||
) |
Function to read properties of NvSegVisual element from configuration file.
[in] | config | pointer to NvDsSegVisualConfig |
[in] | key_file | pointer to file having key value pairs. |
gboolean parse_sink | ( | NvDsSinkSubBinConfig * | config, |
GKeyFile * | key_file, | ||
gchar * | group, | ||
gchar * | cfg_file_path | ||
) |
Function to read properties of sink element from configuration file.
[in] | config | pointer to NvDsSinkSubBinConfig |
[in] | key_file | pointer to file having key value pairs. |
[in] | group | name of property group CONFIG_GROUP_SINK |
gboolean parse_source | ( | NvDsSourceConfig * | config, |
GKeyFile * | key_file, | ||
gchar * | group, | ||
gchar * | cfg_file_path | ||
) |
Function to read properties of source element from configuration file.
[in] | config | pointer to NvDsSourceConfig |
[in] | key_file | pointer to file having key value pairs. |
[in] | group | name of property group CONFIG_GROUP_SOURCE |
[in] | cfg_file_path | path of configuration file. |
gboolean parse_streammux | ( | NvDsStreammuxConfig * | config, |
GKeyFile * | key_file, | ||
gchar * | cfg_file_path | ||
) |
Function to read properties of streammux element from configuration file.
[in] | config | pointer to NvDsStreammuxConfig |
[in] | key_file | pointer to file having key value pairs. |
[in] | cfg_file_path | path of configuration file. |
gboolean parse_tiled_display | ( | NvDsTiledDisplayConfig * | config, |
GKeyFile * | key_file | ||
) |
Function to read properties of tiler element from configuration file.
[in] | config | pointer to NvDsTiledDisplayConfig |
[in] | key_file | pointer to file having key value pairs. |
gboolean parse_tracker | ( | NvDsTrackerConfig * | config, |
GKeyFile * | key_file, | ||
gchar * | cfg_file_path | ||
) |
Function to read properties of tracker element from configuration file.
[in] | config | pointer to NvDsTrackerConfig |
[in] | key_file | pointer to file having key value pairs. |
[in] | cfg_file_path | path of configuration file. |