Doxygen Book
nnstreamer_internal.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-only */
13 #ifndef __NNSTREAMER_INTERNAL_H__
14 #define __NNSTREAMER_INTERNAL_H__
15 
16 #include <glib.h>
18 
19 G_BEGIN_DECLS
20 
37 extern gchar *
38 nnsconf_get_custom_value_string (const gchar * group, const gchar * key);
39 
57 extern gboolean
58 nnsconf_get_custom_value_bool (const gchar * group, const gchar * key, gboolean def);
59 
67 extern gchar *
68 gst_tensor_filter_detect_framework (const gchar * const *model_files, const guint num_models, const gboolean load_conf);
69 
77 extern gboolean
78 gst_tensor_filter_check_hw_availability (const gchar * name, const accl_hw hw, const char *custom);
79 
80 G_END_DECLS
81 #endif /* __NNSTREAMER_INTERNAL_H__ */
accl_hw
accl_hw
acceleration hw properties.
Definition: nnstreamer_plugin_api_filter.h:80
gst_tensor_filter_detect_framework
gchar * gst_tensor_filter_detect_framework(const gchar *const *model_files, const guint num_models, const gboolean load_conf)
Get neural network framework name from given model file. This does not guarantee the framework is ava...
Definition: tensor_filter_common.c:1232
gst_tensor_filter_check_hw_availability
gboolean gst_tensor_filter_check_hw_availability(const gchar *name, const accl_hw hw, const char *custom)
Check if the given hw is supported by the framework.
Definition: tensor_filter_common.c:2923
nnstreamer_plugin_api_filter.h
Mandatory APIs for NNStreamer Filter sub-plugins (No External Dependencies)
nnsconf_get_custom_value_bool
gboolean nnsconf_get_custom_value_bool(const gchar *group, const gchar *key, gboolean def)
Get the custom configuration value from .ini and envvar. @detail For predefined configurations define...
Definition: nnstreamer_conf.c:609
nnsconf_get_custom_value_string
G_BEGIN_DECLS gchar * nnsconf_get_custom_value_string(const gchar *group, const gchar *key)
Get the custom configuration value from .ini and envvar. @detail For predefined configurations define...
Definition: nnstreamer_conf.c:557