From: Thomas Vander Stichele Date: Wed, 30 Nov 2005 08:26:39 +0000 (+0000) Subject: gst-libs/gst/video/gstvideofilter.*: borgify name to bring in line with other classes X-Git-Tag: 1.19.3~511^2~12419 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d50aed796056d9efde5484747d2d2f653831d830;p=platform%2Fupstream%2Fgstreamer.git gst-libs/gst/video/gstvideofilter.*: borgify name to bring in line with other classes Original commit message from CVS: * gst-libs/gst/video/gstvideofilter.c: (gst_video_filter_get_type), (gst_video_filter_class_init), (gst_video_filter_init): * gst-libs/gst/video/gstvideofilter.h: borgify name to bring in line with other classes --- diff --git a/ChangeLog b/ChangeLog index 18e1732..94bb1c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2005-11-30 Thomas Vander Stichele + * gst-libs/gst/video/gstvideofilter.c: (gst_video_filter_get_type), + (gst_video_filter_class_init), (gst_video_filter_init): + * gst-libs/gst/video/gstvideofilter.h: + borgify name to bring in line with other classes + +2005-11-30 Thomas Vander Stichele + * gst/audioscale/.cvsignore: * gst/audioscale/Makefile.am: * gst/audioscale/README: diff --git a/docs/libs/tmpl/gstmixer.sgml b/docs/libs/tmpl/gstmixer.sgml index 20afe10..807f6e8 100644 --- a/docs/libs/tmpl/gstmixer.sgml +++ b/docs/libs/tmpl/gstmixer.sgml @@ -47,12 +47,18 @@ interface for elements that provide mixer operations +@parent: +@values: +@_gst_reserved: +@parent: +@label: +@flags: diff --git a/gst-libs/gst/video/gstvideofilter.c b/gst-libs/gst/video/gstvideofilter.c index a7d9db0..686ebba 100644 --- a/gst-libs/gst/video/gstvideofilter.c +++ b/gst-libs/gst/video/gstvideofilter.c @@ -24,63 +24,63 @@ #include "gstvideofilter.h" -GST_DEBUG_CATEGORY_STATIC (gst_videofilter_debug); -#define GST_CAT_DEFAULT gst_videofilter_debug +GST_DEBUG_CATEGORY_STATIC (gst_video_filter_debug); +#define GST_CAT_DEFAULT gst_video_filter_debug -static void gst_videofilter_class_init (gpointer g_class, gpointer class_data); -static void gst_videofilter_init (GTypeInstance * instance, gpointer g_class); +static void gst_video_filter_class_init (gpointer g_class, gpointer class_data); +static void gst_video_filter_init (GTypeInstance * instance, gpointer g_class); static GstBaseTransformClass *parent_class = NULL; GType -gst_videofilter_get_type (void) +gst_video_filter_get_type (void) { - static GType videofilter_type = 0; + static GType video_filter_type = 0; - if (!videofilter_type) { - static const GTypeInfo videofilter_info = { - sizeof (GstVideofilterClass), + if (!video_filter_type) { + static const GTypeInfo video_filter_info = { + sizeof (GstVideoFilterClass), NULL, NULL, - gst_videofilter_class_init, + gst_video_filter_class_init, NULL, NULL, - sizeof (GstVideofilter), + sizeof (GstVideoFilter), 0, - gst_videofilter_init, + gst_video_filter_init, }; - videofilter_type = g_type_register_static (GST_TYPE_BASE_TRANSFORM, - "GstVideofilter", &videofilter_info, G_TYPE_FLAG_ABSTRACT); + video_filter_type = g_type_register_static (GST_TYPE_BASE_TRANSFORM, + "GstVideoFilter", &video_filter_info, G_TYPE_FLAG_ABSTRACT); } - return videofilter_type; + return video_filter_type; } static void -gst_videofilter_class_init (gpointer g_class, gpointer class_data) +gst_video_filter_class_init (gpointer g_class, gpointer class_data) { GObjectClass *gobject_class; GstElementClass *gstelement_class; GstBaseTransformClass *trans_class; - GstVideofilterClass *klass; + GstVideoFilterClass *klass; - klass = (GstVideofilterClass *) g_class; + klass = (GstVideoFilterClass *) g_class; gobject_class = (GObjectClass *) klass; gstelement_class = (GstElementClass *) klass; trans_class = (GstBaseTransformClass *) klass; parent_class = g_type_class_peek_parent (klass); - GST_DEBUG_CATEGORY_INIT (gst_videofilter_debug, "videofilter", 0, + GST_DEBUG_CATEGORY_INIT (gst_video_filter_debug, "videofilter", 0, "videofilter"); } static void -gst_videofilter_init (GTypeInstance * instance, gpointer g_class) +gst_video_filter_init (GTypeInstance * instance, gpointer g_class) { - GstVideofilter *videofilter = GST_VIDEOFILTER (instance); + GstVideoFilter *videofilter = GST_VIDEO_FILTER (instance); - GST_DEBUG_OBJECT (videofilter, "gst_videofilter_init"); + GST_DEBUG_OBJECT (videofilter, "gst_video_filter_init"); videofilter->inited = FALSE; } diff --git a/gst-libs/gst/video/gstvideofilter.h b/gst-libs/gst/video/gstvideofilter.h index a2f9ef0..67e184c 100644 --- a/gst-libs/gst/video/gstvideofilter.h +++ b/gst-libs/gst/video/gstvideofilter.h @@ -18,39 +18,39 @@ */ -#ifndef __GST_VIDEOFILTER_H__ -#define __GST_VIDEOFILTER_H__ +#ifndef __GST_VIDEO_FILTER_H__ +#define __GST_VIDEO_FILTER_H__ #include G_BEGIN_DECLS -typedef struct _GstVideofilter GstVideofilter; -typedef struct _GstVideofilterClass GstVideofilterClass; - -#define GST_TYPE_VIDEOFILTER \ - (gst_videofilter_get_type()) -#define GST_VIDEOFILTER(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEOFILTER,GstVideofilter)) -#define GST_VIDEOFILTER_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEOFILTER,GstVideofilterClass)) -#define GST_IS_VIDEOFILTER(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEOFILTER)) -#define GST_IS_VIDEOFILTER_CLASS(obj) \ - (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEOFILTER)) - -struct _GstVideofilter { +typedef struct _GstVideoFilter GstVideoFilter; +typedef struct _GstVideoFilterClass GstVideoFilterClass; + +#define GST_TYPE_VIDEO_FILTER \ + (gst_video_filter_get_type()) +#define GST_VIDEO_FILTER(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_FILTER,GstVideoFilter)) +#define GST_VIDEO_FILTER_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEO_FILTER,GstVideoFilterClass)) +#define GST_IS_VIDEO_FILTER(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEO_FILTER)) +#define GST_IS_VIDEO_FILTER_CLASS(obj) \ + (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEO_FILTER)) + +struct _GstVideoFilter { GstBaseTransform element; gboolean inited; }; -struct _GstVideofilterClass { +struct _GstVideoFilterClass { GstBaseTransformClass parent_class; }; -GType gst_videofilter_get_type(void); +GType gst_video_filter_get_type (void); G_END_DECLS -#endif /* __GST_VIDEOFILTER_H__ */ +#endif /* __GST_VIDEO_FILTER_H__ */