NVIDIA DeepStream SDK API Reference

6.1.1 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvds_yml_parser.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"),
6  * to deal in the Software without restriction, including without limitation
7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8  * and/or sell copies of the Software, and to permit persons to whom the
9  * Software is furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20  * DEALINGS IN THE SOFTWARE.
21  */
22 
23 
39 #ifndef _NVGSTDS_YAML_PARSER_H_
40 #define _NVGSTDS_YAML_PARSER_H_
41 
42 #ifdef __cplusplus
43 extern "C"
44 {
45 #endif
46 
47 #include <gst/gst.h>
48 
52 typedef enum NvDsYamlParserStatus {
60 
61 
72 nvds_parse_file_source(GstElement *element, gchar *cfg_file_path, const char* group);
73 
74 
85 nvds_parse_uridecodebin(GstElement *element, gchar *cfg_file_path, const char* group);
86 
87 
98 nvds_parse_rtsp_source(GstElement *element, gchar *cfg_file_path, const char* group);
99 
100 
111 nvds_parse_nvarguscamerasrc(GstElement *element, gchar *cfg_file_path, const char* group);
112 
123 nvds_parse_v4l2src(GstElement *element, gchar *cfg_file_path, const char* group);
124 
135 nvds_parse_multifilesrc(GstElement *element, gchar *cfg_file_path, const char* group);
136 
147 nvds_parse_alsasrc(GstElement *element, gchar *cfg_file_path, const char* group);
148 
149 
162 nvds_parse_source_list(GList ** src_list, gchar *cfg_file_path, const char* group);
163 
174 nvds_parse_streammux(GstElement *element, gchar *cfg_file_path, const char* group);
175 
186 nvds_parse_tracker(GstElement *element, gchar *cfg_file_path, const char* group);
187 
198 nvds_parse_osd(GstElement *element, gchar *cfg_file_path, const char* group);
199 
210 nvds_parse_tiler(GstElement *element, gchar *cfg_file_path, const char* group);
211 
222 nvds_parse_msgbroker(GstElement *element, gchar *cfg_file_path, const char* group);
223 
234 nvds_parse_msgconv(GstElement *element, gchar *cfg_file_path, const char* group);
235 
246 nvds_parse_gie(GstElement *element, gchar *cfg_file_path, const char* group);
247 
258 nvds_parse_egl_sink(GstElement *element, gchar *cfg_file_path, const char* group);
259 
270 nvds_parse_file_sink(GstElement *element, gchar *cfg_file_path, const char* group);
271 
282 nvds_parse_fake_sink(GstElement *element, gchar *cfg_file_path, const char* group);
283 
284 
285 #ifdef __cplusplus
286 }
287 #endif
288 
289 #endif /* _NVGSTDS_YAML_PARSER_H_ */
290 
NvDsYamlParserStatus nvds_parse_osd(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a nvdsosd element from values specified in a YAML configuration file...
Properties were set correctly.
NvDsYamlParserStatus nvds_parse_multifilesrc(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a multifilesrc element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_fake_sink(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a fakesink element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_msgbroker(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a nvmsgbroker element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_msgconv(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a nvmsgconv element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_rtsp_source(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a rtspsrc element from values specified in a YAML configuration file...
NvDsYamlParserStatus
Enum for Yaml parsing status for the API call on a GstElement.
NvDsYamlParserStatus nvds_parse_tracker(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a nvtracker element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_gie(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a nvinfer element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_file_source(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a filesrc element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_v4l2src(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a v4l2src element from values specified in a YAML configuration file...
Encountered an error while setting properties.
NvDsYamlParserStatus nvds_parse_uridecodebin(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a uridecodebin element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_file_sink(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a filesink element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_egl_sink(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a nveglglessink element from values specified in a YAML configuration file...
Property group was disabled, properties were not set.
NvDsYamlParserStatus nvds_parse_alsasrc(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a alsasrc element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_source_list(GList **src_list, gchar *cfg_file_path, const char *group)
Parse semicolon separated uri(s) in the source-list group and store it in a GList.
NvDsYamlParserStatus nvds_parse_streammux(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a nvstreammux element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_nvarguscamerasrc(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a nvarguscamerasrc element from values specified in a YAML configuration file...
NvDsYamlParserStatus nvds_parse_tiler(GstElement *element, gchar *cfg_file_path, const char *group)
Set properties of a nvtiler element from values specified in a YAML configuration file...