Go to the documentation of this file.
33 #ifndef __GST_NNSTREAMER_CONF_H__
34 #define __GST_NNSTREAMER_CONF_H__
41 #define NNSTREAMER_SYS_ROOT_PATH_PREFIX "c:\\"
43 #define NNSTREAMER_SYS_ROOT_PATH_PREFIX "/"
51 #define NNSTREAMER_SO_FILE_EXTENSION ".dylib"
53 #define NNSTREAMER_SO_FILE_EXTENSION ".so"
57 #define NNSTREAMER_DEFAULT_CONF_FILE "/etc/nnstreamer.ini"
58 #ifndef NNSTREAMER_CONF_FILE
59 #define NNSTREAMER_CONF_FILE NNSTREAMER_DEFAULT_CONF_FILE
61 #define NNSTREAMER_ENVVAR_CONF_FILE "NNSTREAMER_CONF"
gboolean nnsconf_validate_file(nnsconf_type_path type, const gchar *fullpath)
Public function to validate sub-plugin library is available.
void nnsconf_subplugin_dump(gchar *str, gulong size)
Print out the information of registered sub-plugins.
const gchar * nnsconf_get_fullpath(const gchar *subpluginname, nnsconf_type_path type)
Get the configured paths for the type with sub-plugin name.
guint nnsconf_get_subplugin_info(nnsconf_type_path type, subplugin_info_s *info)
Public function to get the list of sub-plugins name and path.
@ NNSCONF_PATH_CONVERTERS
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...
@ NNSCONF_PATH_EASY_CUSTOM_FILTERS
@ NNSCONF_PATH_CUSTOM_FILTERS
gboolean nnsconf_loadconf(gboolean force_reload)
Load the .ini file.
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...
void nnsconf_dump(gchar *str, gulong size)
NNStreamer configuration dump as string.
const gchar * nnsconf_get_subplugin_name_prefix(nnsconf_type_path type)
Get sub-plugin's name prefix.