NVIDIA DeepStream SDK API Reference

7.0 Release
deepstream_config_yaml.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2022-2023 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 _NVGSTDS_STREAMMUX_YAML_H_
14 #define _NVGSTDS_STREAMMUX_YAML_H_
15 
16 
17 #pragma GCC diagnostic push
18 #pragma GCC diagnostic ignored "-Wreturn-type"
19 #include <yaml-cpp/yaml.h>
20 #pragma GCC diagnostic pop
21 
22 #include <gst/gst.h>
23 
24 #ifdef __cplusplus
25 extern "C"
26 {
27 #endif
28 
29 #include "deepstream_streammux.h"
31 #include "deepstream_osd.h"
32 #include "deepstream_segvisual.h"
33 #include "deepstream_image_save.h"
34 #include "deepstream_c2d_msg.h"
35 #include "deepstream_sinks.h"
36 #include "deepstream_sources.h"
37 #include "deepstream_tracker.h"
38 #include "deepstream_gie.h"
39 #include "deepstream_preprocess.h"
40 #include "deepstream_dewarper.h"
41 #include "deepstream_dsanalytics.h"
42 #include "deepstream_dsexample.h"
43 
44 #define _MAX_STR_LENGTH 1024
45 
46 std::vector<std::string> split_string (std::string input);
47 
48 gboolean
50  const gchar * cfg_file_path, const gchar * file_path,
51  char *abs_path_str);
52 
53 gboolean
54 parse_streammux_yaml (NvDsStreammuxConfig *config, gchar *cfg_file_path);
55 
56 gboolean
57 parse_tiled_display_yaml (NvDsTiledDisplayConfig *config, gchar *cfg_file_path);
58 
59 gboolean
60 parse_osd_yaml (NvDsOSDConfig *config, gchar *cfg_file_path);
61 
62 gboolean
63 parse_segvisual_yaml (NvDsSegVisualConfig *config, gchar *cfg_file_path);
64 
65 gboolean
66 parse_image_save_yaml (NvDsImageSave *config, gchar *cfg_file_path);
67 
68 gboolean
69 parse_msgconsumer_yaml (NvDsMsgConsumerConfig *config, std::string group, gchar *cfg_file_path);
70 
71 gboolean
72 parse_msgconv_yaml (NvDsSinkMsgConvBrokerConfig *config, std::string group, gchar *cfg_file_path);
73 
74 gboolean
75 parse_sink_yaml (NvDsSinkSubBinConfig *config, std::string group, gchar * cfg_file_path);
76 
77 gboolean
78 parse_source_yaml (NvDsSourceConfig *config, std::vector<std::string> headers,
79  std::vector<std::string> source_values, gchar *cfg_file_path);
80 
81 gboolean
82 parse_tracker_yaml (NvDsTrackerConfig *config, gchar *cfg_file_path);
83 
84 gboolean
85 parse_gie_yaml (NvDsGieConfig *config, std::string group, gchar *cfg_file_path);
86 
87 gboolean
88 parse_preprocess_yaml (NvDsPreProcessConfig *config, gchar* cfg_file_path);
89 
90 gboolean
91 parse_dewarper_yaml (NvDsDewarperConfig * config, gchar *cfg_file_path);
92 
93 gboolean
94 parse_dsexample_yaml (NvDsDsExampleConfig *config, gchar *cfg_file_path);
95 
96 gboolean
97 parse_dsanalytics_yaml (NvDsDsAnalyticsConfig *config, gchar* cfg_file_path);
98 
99 #ifdef __cplusplus
100 }
101 #endif
102 
103 #endif /* _NVGSTDS_DSEXAMPLE_H_ */
deepstream_tracker.h
deepstream_streammux.h
NvDsPreProcessConfig
Definition: deepstream_preprocess.h:23
deepstream_dsexample.h
deepstream_dewarper.h
NvDsSinkSubBinConfig
Definition: deepstream_sinks.h:129
parse_streammux_yaml
gboolean parse_streammux_yaml(NvDsStreammuxConfig *config, gchar *cfg_file_path)
NvDsImageSave
Definition: deepstream_image_save.h:21
parse_tiled_display_yaml
gboolean parse_tiled_display_yaml(NvDsTiledDisplayConfig *config, gchar *cfg_file_path)
parse_msgconv_yaml
gboolean parse_msgconv_yaml(NvDsSinkMsgConvBrokerConfig *config, std::string group, gchar *cfg_file_path)
NvDsSegVisualConfig
Definition: deepstream_segvisual.h:33
deepstream_image_save.h
NvDsDsExampleConfig
Definition: deepstream_dsexample.h:23
parse_dewarper_yaml
gboolean parse_dewarper_yaml(NvDsDewarperConfig *config, gchar *cfg_file_path)
parse_msgconsumer_yaml
gboolean parse_msgconsumer_yaml(NvDsMsgConsumerConfig *config, std::string group, gchar *cfg_file_path)
NvDsSinkMsgConvBrokerConfig
Definition: deepstream_sinks.h:104
split_string
std::vector< std::string > split_string(std::string input)
deepstream_sinks.h
parse_sink_yaml
gboolean parse_sink_yaml(NvDsSinkSubBinConfig *config, std::string group, gchar *cfg_file_path)
NvDsDsAnalyticsConfig
Definition: deepstream_dsanalytics.h:23
deepstream_osd.h
parse_dsexample_yaml
gboolean parse_dsexample_yaml(NvDsDsExampleConfig *config, gchar *cfg_file_path)
NvDsSourceConfig
Definition: deepstream_sources.h:38
deepstream_c2d_msg.h
get_absolute_file_path_yaml
gboolean get_absolute_file_path_yaml(const gchar *cfg_file_path, const gchar *file_path, char *abs_path_str)
NvDsTiledDisplayConfig
Definition: deepstream_tiled_display.h:44
parse_tracker_yaml
gboolean parse_tracker_yaml(NvDsTrackerConfig *config, gchar *cfg_file_path)
deepstream_gie.h
parse_preprocess_yaml
gboolean parse_preprocess_yaml(NvDsPreProcessConfig *config, gchar *cfg_file_path)
deepstream_sources.h
NvDsStreammuxConfig
Definition: deepstream_streammux.h:23
parse_gie_yaml
gboolean parse_gie_yaml(NvDsGieConfig *config, std::string group, gchar *cfg_file_path)
NvDsGieConfig
Definition: deepstream_gie.h:33
deepstream_preprocess.h
deepstream_segvisual.h
NvDsTrackerConfig
Definition: deepstream_tracker.h:25
parse_osd_yaml
gboolean parse_osd_yaml(NvDsOSDConfig *config, gchar *cfg_file_path)
NvDsMsgConsumerConfig
Definition: deepstream_c2d_msg.h:36
parse_segvisual_yaml
gboolean parse_segvisual_yaml(NvDsSegVisualConfig *config, gchar *cfg_file_path)
deepstream_dsanalytics.h
deepstream_tiled_display.h
NvDsOSDConfig
Definition: deepstream_osd.h:35
parse_image_save_yaml
gboolean parse_image_save_yaml(NvDsImageSave *config, gchar *cfg_file_path)
NvDsDewarperConfig
Definition: deepstream_dewarper.h:35
parse_source_yaml
gboolean parse_source_yaml(NvDsSourceConfig *config, std::vector< std::string > headers, std::vector< std::string > source_values, gchar *cfg_file_path)
parse_dsanalytics_yaml
gboolean parse_dsanalytics_yaml(NvDsDsAnalyticsConfig *config, gchar *cfg_file_path)