X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgstinfo.h;h=2016d4e35574689a08c46c8823b506d965d4db26;hb=0c6f5b3e4c3dc55e684bca1e3fc9a2a9b74407b9;hp=75c86068f5324fdd4faf45e98df1c5034f8dc593;hpb=39664da1f07bda3032ea867fc695450b689b9d8f;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gstinfo.h b/gst/gstinfo.h index 75c8606..2016d4e 100644 --- a/gst/gstinfo.h +++ b/gst/gstinfo.h @@ -253,7 +253,7 @@ struct _GstDebugCategory { * GST_FUNCTION: * * This macro should evaluate to the name of the current function and be should - * be defined when configuring your project, as it is compiler dependant. If it + * be defined when configuring your project, as it is compiler dependent. If it * is not defined, some default value is used. It is used to provide debugging * output with the function name of the message. * @@ -271,7 +271,7 @@ struct _GstDebugCategory { #endif /* ifndef GST_FUNCTION */ /** - * GST_PTR_FORMAT: + * GST_PTR_FORMAT: (skip): * * printf format type used to debug GStreamer types. You can use this in * combination with GStreamer's debug logging system as well as the functions @@ -287,7 +287,7 @@ struct _GstDebugCategory { #define GST_PTR_FORMAT "p\aA" /** - * GST_SEGMENT_FORMAT: + * GST_SEGMENT_FORMAT: (skip): * * printf format type used to debug GStreamer segments. You can use this in * combination with GStreamer's debug logging system as well as the functions @@ -323,7 +323,7 @@ typedef void (*GstLogFunction) (GstDebugCategory * category, GstDebugMessage * message, gpointer user_data); -GST_EXPORT +GST_API void gst_debug_log (GstDebugCategory * category, GstDebugLevel level, const gchar * file, @@ -332,7 +332,7 @@ void gst_debug_log (GstDebugCategory * category, GObject * object, const gchar * format, ...) G_GNUC_PRINTF (7, 8) G_GNUC_NO_INSTRUMENT; -GST_EXPORT +GST_API void gst_debug_log_valist (GstDebugCategory * category, GstDebugLevel level, const gchar * file, @@ -344,20 +344,20 @@ void gst_debug_log_valist (GstDebugCategory * category, /* do not use this function, use the GST_DEBUG_CATEGORY_INIT macro */ -GST_EXPORT +GST_API GstDebugCategory *_gst_debug_category_new (const gchar * name, guint color, const gchar * description); /* do not use this function, use the GST_DEBUG_CATEGORY_GET macro */ -GST_EXPORT +GST_API GstDebugCategory *_gst_debug_get_category (const gchar *name); /* do not use this function, use the GST_CAT_MEMDUMP_* macros */ -GST_EXPORT +GST_API void _gst_debug_dump_mem (GstDebugCategory * cat, const gchar * file, const gchar * func, gint line, GObject * obj, const gchar * msg, const guint8 * data, guint length); @@ -370,18 +370,18 @@ typedef void (* GstDebugFuncPtr) (void); /* do no use these functions, use the GST_DEBUG*_FUNCPTR macros */ -GST_EXPORT +GST_API void _gst_debug_register_funcptr (GstDebugFuncPtr func, const gchar * ptrname); -GST_EXPORT +GST_API const gchar * _gst_debug_nameof_funcptr (GstDebugFuncPtr func) G_GNUC_NO_INSTRUMENT; -GST_EXPORT +GST_API const gchar * gst_debug_message_get (GstDebugMessage * message); -GST_EXPORT +GST_API void gst_debug_log_default (GstDebugCategory * category, GstDebugLevel level, const gchar * file, @@ -390,108 +390,108 @@ void gst_debug_log_default (GstDebugCategory * category, GObject * object, GstDebugMessage * message, gpointer user_data) G_GNUC_NO_INSTRUMENT; -GST_EXPORT +GST_API const gchar * gst_debug_level_get_name (GstDebugLevel level); -GST_EXPORT +GST_API void gst_debug_add_log_function (GstLogFunction func, gpointer user_data, GDestroyNotify notify); -GST_EXPORT +GST_API guint gst_debug_remove_log_function (GstLogFunction func); -GST_EXPORT +GST_API guint gst_debug_remove_log_function_by_data (gpointer data); -GST_EXPORT +GST_API void gst_debug_set_active (gboolean active); -GST_EXPORT +GST_API gboolean gst_debug_is_active (void); -GST_EXPORT +GST_API void gst_debug_set_colored (gboolean colored); -GST_EXPORT +GST_API void gst_debug_set_color_mode (GstDebugColorMode mode); -GST_EXPORT +GST_API void gst_debug_set_color_mode_from_string (const gchar * mode); -GST_EXPORT +GST_API gboolean gst_debug_is_colored (void); -GST_EXPORT +GST_API GstDebugColorMode gst_debug_get_color_mode (void); -GST_EXPORT +GST_API void gst_debug_set_default_threshold (GstDebugLevel level); -GST_EXPORT +GST_API GstDebugLevel gst_debug_get_default_threshold (void); -GST_EXPORT +GST_API void gst_debug_set_threshold_for_name (const gchar * name, GstDebugLevel level); -GST_EXPORT +GST_API void gst_debug_set_threshold_from_string (const gchar * list, gboolean reset); -GST_EXPORT +GST_API void gst_debug_unset_threshold_for_name (const gchar * name); -GST_EXPORT +GST_API void gst_debug_category_free (GstDebugCategory * category); -GST_EXPORT +GST_API void gst_debug_category_set_threshold (GstDebugCategory * category, GstDebugLevel level); -GST_EXPORT +GST_API void gst_debug_category_reset_threshold (GstDebugCategory * category); -GST_EXPORT +GST_API GstDebugLevel gst_debug_category_get_threshold (GstDebugCategory * category); -GST_EXPORT +GST_API const gchar * gst_debug_category_get_name (GstDebugCategory * category); -GST_EXPORT +GST_API guint gst_debug_category_get_color (GstDebugCategory * category); -GST_EXPORT +GST_API const gchar * gst_debug_category_get_description (GstDebugCategory * category); -GST_EXPORT +GST_API GSList * gst_debug_get_all_categories (void); -GST_EXPORT +GST_API gchar * gst_debug_construct_term_color (guint colorinfo); -GST_EXPORT +GST_API gint gst_debug_construct_win_color (guint colorinfo); -GST_EXPORT +GST_API gint gst_info_vasprintf (gchar ** result, const gchar * format, va_list args) G_GNUC_PRINTF (2, 0); -GST_EXPORT +GST_API gchar * gst_info_strdup_vprintf (const gchar *format, va_list args) G_GNUC_PRINTF (1, 0); -GST_EXPORT +GST_API gchar * gst_info_strdup_printf (const gchar *format, ...) G_GNUC_PRINTF (1, 2); -GST_EXPORT +GST_API void gst_print (const gchar * format, ...) G_GNUC_PRINTF (1, 2); -GST_EXPORT +GST_API void gst_println (const gchar * format, ...) G_GNUC_PRINTF (1, 2); -GST_EXPORT +GST_API void gst_printerr (const gchar * format, ...) G_GNUC_PRINTF (1, 2); -GST_EXPORT +GST_API void gst_printerrln (const gchar * format, ...) G_GNUC_PRINTF (1, 2); #ifndef GST_DISABLE_GST_DEBUG @@ -609,15 +609,15 @@ G_STMT_START{ \ * Default gstreamer core debug log category. Please define your own. */ -GST_EXPORT GstDebugCategory * GST_CAT_DEFAULT; +GST_API GstDebugCategory * GST_CAT_DEFAULT; /* this symbol may not be used */ -GST_EXPORT gboolean _gst_debug_enabled; +GST_API gboolean _gst_debug_enabled; /* the min debug level, used for quickly discarding debug * messages that fall under the threshold. */ -GST_EXPORT GstDebugLevel _gst_debug_min; +GST_API GstDebugLevel _gst_debug_min; /** * GST_CAT_LEVEL_LOG: @@ -1740,17 +1740,17 @@ GST_TRACE (const char *format, ...) #endif /* GST_DISABLE_GST_DEBUG */ -GST_EXPORT +GST_API void gst_debug_print_stack_trace (void); -GST_EXPORT +GST_API gchar * gst_debug_get_stack_trace (GstStackTraceFlags flags); -GST_EXPORT +GST_API void gst_debug_add_ring_buffer_logger (guint max_size_per_thread, guint thread_timeout); -GST_EXPORT +GST_API void gst_debug_remove_ring_buffer_logger (void); -GST_EXPORT +GST_API gchar ** gst_debug_ring_buffer_logger_get_logs (void); G_END_DECLS