diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-07-28 17:34:02 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-07-28 18:42:05 +0200 |
commit | 120d4a29558a4437e09f012a243d6e879293227a (patch) | |
tree | 0beb43bb11f2ae40a695e45da111815458ef3b8f /gst/gaudieffects | |
parent | 691901da51799cb04d17ed9ba94619bc7fd61f73 (diff) |
gaudieffects: fix structure names to comply with the plugin moving guidelines
Diffstat (limited to 'gst/gaudieffects')
-rw-r--r-- | gst/gaudieffects/gstburn.c | 14 | ||||
-rw-r--r-- | gst/gaudieffects/gstburn.h | 12 | ||||
-rw-r--r-- | gst/gaudieffects/gstchromium.c | 14 | ||||
-rw-r--r-- | gst/gaudieffects/gstchromium.h | 12 | ||||
-rw-r--r-- | gst/gaudieffects/gstdilate.c | 14 | ||||
-rw-r--r-- | gst/gaudieffects/gstdilate.h | 12 | ||||
-rw-r--r-- | gst/gaudieffects/gstdodge.c | 14 | ||||
-rw-r--r-- | gst/gaudieffects/gstdodge.h | 12 | ||||
-rw-r--r-- | gst/gaudieffects/gstexclusion.c | 14 | ||||
-rw-r--r-- | gst/gaudieffects/gstexclusion.h | 12 | ||||
-rw-r--r-- | gst/gaudieffects/gstsolarize.c | 14 | ||||
-rw-r--r-- | gst/gaudieffects/gstsolarize.h | 12 |
12 files changed, 78 insertions, 78 deletions
diff --git a/gst/gaudieffects/gstburn.c b/gst/gaudieffects/gstburn.c index 691c1cc9a..7b73f724e 100644 --- a/gst/gaudieffects/gstburn.c +++ b/gst/gaudieffects/gstburn.c @@ -109,7 +109,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS (CAPS_STR) ); -GST_BOILERPLATE (Gstburn, gst_burn, GstVideoFilter, GST_TYPE_VIDEO_FILTER); +GST_BOILERPLATE (GstBurn, gst_burn, GstVideoFilter, GST_TYPE_VIDEO_FILTER); static void gst_burn_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec); @@ -142,7 +142,7 @@ gst_burn_base_init (gpointer gclass) /* Initialize the burn's class. */ static void -gst_burn_class_init (GstburnClass * klass) +gst_burn_class_init (GstBurnClass * klass) { GObjectClass *gobject_class = (GObjectClass *) klass; GstBaseTransformClass *trans_class = (GstBaseTransformClass *) klass; @@ -164,7 +164,7 @@ gst_burn_class_init (GstburnClass * klass) * initialize instance structure. */ static void -gst_burn_init (Gstburn * filter, GstburnClass * gclass) +gst_burn_init (GstBurn * filter, GstBurnClass * gclass) { filter->silent = FALSE; } @@ -173,7 +173,7 @@ static void gst_burn_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - Gstburn *filter = GST_BURN (object); + GstBurn *filter = GST_BURN (object); switch (prop_id) { case PROP_SILENT: @@ -189,7 +189,7 @@ static void gst_burn_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - Gstburn *filter = GST_BURN (object); + GstBurn *filter = GST_BURN (object); switch (prop_id) { case PROP_SILENT: @@ -208,7 +208,7 @@ static gboolean gst_burn_set_caps (GstBaseTransform * btrans, GstCaps * incaps, GstCaps * outcaps) { - Gstburn *filter = GST_BURN (btrans); + GstBurn *filter = GST_BURN (btrans); GstStructure *structure; gboolean ret = TRUE; @@ -225,7 +225,7 @@ static GstFlowReturn gst_burn_transform (GstBaseTransform * btrans, GstBuffer * in_buf, GstBuffer * out_buf) { - Gstburn *filter = GST_BURN (btrans); + GstBurn *filter = GST_BURN (btrans); gint video_size; guint32 *src = (guint32 *) GST_BUFFER_DATA (in_buf); guint32 *dest = (guint32 *) GST_BUFFER_DATA (out_buf); diff --git a/gst/gaudieffects/gstburn.h b/gst/gaudieffects/gstburn.h index 21f734c15..d6b9d4c4f 100644 --- a/gst/gaudieffects/gstburn.h +++ b/gst/gaudieffects/gstburn.h @@ -56,18 +56,18 @@ G_BEGIN_DECLS #define GST_TYPE_BURN \ (gst_burn_get_type()) #define GST_BURN(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_BURN,Gstburn)) + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_BURN,GstBurn)) #define GST_BURN_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_BURN,GstburnClass)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_BURN,GstBurnClass)) #define GST_IS_BURN(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_BURN)) #define GST_IS_BURN_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_BURN)) -typedef struct _Gstburn Gstburn; -typedef struct _GstburnClass GstburnClass; +typedef struct _GstBurn GstBurn; +typedef struct _GstBurnClass GstBurnClass; -struct _Gstburn +struct _GstBurn { GstVideoFilter videofilter; @@ -78,7 +78,7 @@ struct _Gstburn gboolean silent; }; -struct _GstburnClass +struct _GstBurnClass { GstVideoFilterClass parent_class; }; diff --git a/gst/gaudieffects/gstchromium.c b/gst/gaudieffects/gstchromium.c index afb618b6f..a081c0aba 100644 --- a/gst/gaudieffects/gstchromium.c +++ b/gst/gaudieffects/gstchromium.c @@ -122,7 +122,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS (CAPS_STR) ); -GST_BOILERPLATE (Gstchromium, gst_chromium, GstVideoFilter, +GST_BOILERPLATE (GstChromium, gst_chromium, GstVideoFilter, GST_TYPE_VIDEO_FILTER); static void gst_chromium_set_property (GObject * object, guint prop_id, @@ -156,7 +156,7 @@ gst_chromium_base_init (gpointer gclass) /* Initialize the chromium's class. */ static void -gst_chromium_class_init (GstchromiumClass * klass) +gst_chromium_class_init (GstChromiumClass * klass) { GObjectClass *gobject_class = (GObjectClass *) klass; GstBaseTransformClass *trans_class = (GstBaseTransformClass *) klass; @@ -178,7 +178,7 @@ gst_chromium_class_init (GstchromiumClass * klass) * initialize instance structure. */ static void -gst_chromium_init (Gstchromium * filter, GstchromiumClass * gclass) +gst_chromium_init (GstChromium * filter, GstChromiumClass * gclass) { filter->silent = FALSE; @@ -189,7 +189,7 @@ static void gst_chromium_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - Gstchromium *filter = GST_CHROMIUM (object); + GstChromium *filter = GST_CHROMIUM (object); switch (prop_id) { case PROP_SILENT: @@ -205,7 +205,7 @@ static void gst_chromium_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - Gstchromium *filter = GST_CHROMIUM (object); + GstChromium *filter = GST_CHROMIUM (object); switch (prop_id) { case PROP_SILENT: @@ -224,7 +224,7 @@ static gboolean gst_chromium_set_caps (GstBaseTransform * btrans, GstCaps * incaps, GstCaps * outcaps) { - Gstchromium *filter = GST_CHROMIUM (btrans); + GstChromium *filter = GST_CHROMIUM (btrans); GstStructure *structure; gboolean ret = TRUE; @@ -241,7 +241,7 @@ static GstFlowReturn gst_chromium_transform (GstBaseTransform * btrans, GstBuffer * in_buf, GstBuffer * out_buf) { - Gstchromium *filter = GST_CHROMIUM (btrans); + GstChromium *filter = GST_CHROMIUM (btrans); gint video_size; guint32 *src = (guint32 *) GST_BUFFER_DATA (in_buf); guint32 *dest = (guint32 *) GST_BUFFER_DATA (out_buf); diff --git a/gst/gaudieffects/gstchromium.h b/gst/gaudieffects/gstchromium.h index 74c73686a..2cd63cd6c 100644 --- a/gst/gaudieffects/gstchromium.h +++ b/gst/gaudieffects/gstchromium.h @@ -56,18 +56,18 @@ G_BEGIN_DECLS #define GST_TYPE_CHROMIUM \ (gst_chromium_get_type()) #define GST_CHROMIUM(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CHROMIUM,Gstchromium)) + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CHROMIUM,GstChromium)) #define GST_CHROMIUM_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CHROMIUM,GstchromiumClass)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CHROMIUM,GstChromiumClass)) #define GST_IS_CHROMIUM(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_CHROMIUM)) #define GST_IS_CHROMIUM_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CHROMIUM)) -typedef struct _Gstchromium Gstchromium; -typedef struct _GstchromiumClass GstchromiumClass; +typedef struct _GstChromium GstChromium; +typedef struct _GstChromiumClass GstChromiumClass; -struct _Gstchromium +struct _GstChromium { GstVideoFilter videofilter; @@ -77,7 +77,7 @@ struct _Gstchromium gboolean silent; }; -struct _GstchromiumClass +struct _GstChromiumClass { GstVideoFilterClass parent_class; }; diff --git a/gst/gaudieffects/gstdilate.c b/gst/gaudieffects/gstdilate.c index 7a68ccf59..0a7ebaea0 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -111,7 +111,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS (CAPS_STR) ); -GST_BOILERPLATE (Gstdilate, gst_dilate, GstVideoFilter, GST_TYPE_VIDEO_FILTER); +GST_BOILERPLATE (GstDilate, gst_dilate, GstVideoFilter, GST_TYPE_VIDEO_FILTER); static void gst_dilate_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec); @@ -144,7 +144,7 @@ gst_dilate_base_init (gpointer gclass) /* Initialize the dilate's class. */ static void -gst_dilate_class_init (GstdilateClass * klass) +gst_dilate_class_init (GstDilateClass * klass) { GObjectClass *gobject_class = (GObjectClass *) klass; GstBaseTransformClass *trans_class = (GstBaseTransformClass *) klass; @@ -166,7 +166,7 @@ gst_dilate_class_init (GstdilateClass * klass) * initialize instance structure. */ static void -gst_dilate_init (Gstdilate * filter, GstdilateClass * gclass) +gst_dilate_init (GstDilate * filter, GstDilateClass * gclass) { filter->silent = FALSE; } @@ -175,7 +175,7 @@ static void gst_dilate_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - Gstdilate *filter = GST_DILATE (object); + GstDilate *filter = GST_DILATE (object); switch (prop_id) { case PROP_SILENT: @@ -191,7 +191,7 @@ static void gst_dilate_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - Gstdilate *filter = GST_DILATE (object); + GstDilate *filter = GST_DILATE (object); switch (prop_id) { case PROP_SILENT: @@ -210,7 +210,7 @@ static gboolean gst_dilate_set_caps (GstBaseTransform * btrans, GstCaps * incaps, GstCaps * outcaps) { - Gstdilate *filter = GST_DILATE (btrans); + GstDilate *filter = GST_DILATE (btrans); GstStructure *structure; gboolean ret = TRUE; @@ -226,7 +226,7 @@ static GstFlowReturn gst_dilate_transform (GstBaseTransform * btrans, GstBuffer * in_buf, GstBuffer * out_buf) { - Gstdilate *filter = GST_DILATE (btrans); + GstDilate *filter = GST_DILATE (btrans); gint video_size; guint32 *src = (guint32 *) GST_BUFFER_DATA (in_buf); diff --git a/gst/gaudieffects/gstdilate.h b/gst/gaudieffects/gstdilate.h index 38fa0ff15..8a3b50290 100644 --- a/gst/gaudieffects/gstdilate.h +++ b/gst/gaudieffects/gstdilate.h @@ -56,18 +56,18 @@ G_BEGIN_DECLS #define GST_TYPE_DILATE \ (gst_dilate_get_type()) #define GST_DILATE(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DILATE,Gstdilate)) + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DILATE,GstDilate)) #define GST_DILATE_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DILATE,GstdilateClass)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DILATE,GstDilateClass)) #define GST_IS_DILATE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DILATE)) #define GST_IS_DILATE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DILATE)) -typedef struct _Gstdilate Gstdilate; -typedef struct _GstdilateClass GstdilateClass; +typedef struct _GstDilate GstDilate; +typedef struct _GstDilateClass GstDilateClass; -struct _Gstdilate +struct _GstDilate { GstVideoFilter videofilter; @@ -78,7 +78,7 @@ struct _Gstdilate gboolean silent; }; -struct _GstdilateClass +struct _GstDilateClass { GstVideoFilterClass parent_class; }; diff --git a/gst/gaudieffects/gstdodge.c b/gst/gaudieffects/gstdodge.c index db74dec88..798424ed8 100644 --- a/gst/gaudieffects/gstdodge.c +++ b/gst/gaudieffects/gstdodge.c @@ -110,7 +110,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS (CAPS_STR) ); -GST_BOILERPLATE (Gstdodge, gst_dodge, GstVideoFilter, GST_TYPE_VIDEO_FILTER); +GST_BOILERPLATE (GstDodge, gst_dodge, GstVideoFilter, GST_TYPE_VIDEO_FILTER); static void gst_dodge_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec); @@ -143,7 +143,7 @@ gst_dodge_base_init (gpointer gclass) /* Initialize the dodge's class. */ static void -gst_dodge_class_init (GstdodgeClass * klass) +gst_dodge_class_init (GstDodgeClass * klass) { GObjectClass *gobject_class = (GObjectClass *) klass; GstBaseTransformClass *trans_class = (GstBaseTransformClass *) klass; @@ -165,7 +165,7 @@ gst_dodge_class_init (GstdodgeClass * klass) * initialize instance structure. */ static void -gst_dodge_init (Gstdodge * filter, GstdodgeClass * gclass) +gst_dodge_init (GstDodge * filter, GstDodgeClass * gclass) { filter->silent = FALSE; } @@ -174,7 +174,7 @@ static void gst_dodge_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - Gstdodge *filter = GST_DODGE (object); + GstDodge *filter = GST_DODGE (object); switch (prop_id) { case PROP_SILENT: @@ -190,7 +190,7 @@ static void gst_dodge_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - Gstdodge *filter = GST_DODGE (object); + GstDodge *filter = GST_DODGE (object); switch (prop_id) { case PROP_SILENT: @@ -209,7 +209,7 @@ static gboolean gst_dodge_set_caps (GstBaseTransform * btrans, GstCaps * incaps, GstCaps * outcaps) { - Gstdodge *filter = GST_DODGE (btrans); + GstDodge *filter = GST_DODGE (btrans); GstStructure *structure; gboolean ret = TRUE; @@ -225,7 +225,7 @@ static GstFlowReturn gst_dodge_transform (GstBaseTransform * btrans, GstBuffer * in_buf, GstBuffer * out_buf) { - Gstdodge *filter = GST_DODGE (btrans); + GstDodge *filter = GST_DODGE (btrans); guint32 *src = (guint32 *) GST_BUFFER_DATA (in_buf); guint32 *dest = (guint32 *) GST_BUFFER_DATA (out_buf); gint video_size; diff --git a/gst/gaudieffects/gstdodge.h b/gst/gaudieffects/gstdodge.h index a8d1e4c0f..411913124 100644 --- a/gst/gaudieffects/gstdodge.h +++ b/gst/gaudieffects/gstdodge.h @@ -56,18 +56,18 @@ G_BEGIN_DECLS #define GST_TYPE_DODGE \ (gst_dodge_get_type()) #define GST_DODGE(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DODGE,Gstdodge)) + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DODGE,GstDodge)) #define GST_DODGE_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DODGE,GstdodgeClass)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DODGE,GstDodgeClass)) #define GST_IS_DODGE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DODGE)) #define GST_IS_DODGE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DODGE)) -typedef struct _Gstdodge Gstdodge; -typedef struct _GstdodgeClass GstdodgeClass; +typedef struct _GstDodge GstDodge; +typedef struct _GstDodgeClass GstDodgeClass; -struct _Gstdodge +struct _GstDodge { GstVideoFilter videofilter; @@ -78,7 +78,7 @@ struct _Gstdodge gboolean silent; }; -struct _GstdodgeClass +struct _GstDodgeClass { GstVideoFilterClass parent_class; }; diff --git a/gst/gaudieffects/gstexclusion.c b/gst/gaudieffects/gstexclusion.c index 364dd7564..bbcd31a07 100644 --- a/gst/gaudieffects/gstexclusion.c +++ b/gst/gaudieffects/gstexclusion.c @@ -110,7 +110,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS (CAPS_STR) ); -GST_BOILERPLATE (Gstexclusion, gst_exclusion, GstVideoFilter, +GST_BOILERPLATE (GstExclusion, gst_exclusion, GstVideoFilter, GST_TYPE_VIDEO_FILTER); static void gst_exclusion_set_property (GObject * object, guint prop_id, @@ -144,7 +144,7 @@ gst_exclusion_base_init (gpointer gclass) /* Initialize the exclusion's class. */ static void -gst_exclusion_class_init (GstexclusionClass * klass) +gst_exclusion_class_init (GstExclusionClass * klass) { GObjectClass *gobject_class = (GObjectClass *) klass; GstBaseTransformClass *trans_class = (GstBaseTransformClass *) klass; @@ -166,7 +166,7 @@ gst_exclusion_class_init (GstexclusionClass * klass) * initialize instance structure. */ static void -gst_exclusion_init (Gstexclusion * filter, GstexclusionClass * gclass) +gst_exclusion_init (GstExclusion * filter, GstExclusionClass * gclass) { filter->silent = FALSE; } @@ -175,7 +175,7 @@ static void gst_exclusion_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - Gstexclusion *filter = GST_EXCLUSION (object); + GstExclusion *filter = GST_EXCLUSION (object); switch (prop_id) { case PROP_SILENT: @@ -191,7 +191,7 @@ static void gst_exclusion_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - Gstexclusion *filter = GST_EXCLUSION (object); + GstExclusion *filter = GST_EXCLUSION (object); switch (prop_id) { case PROP_SILENT: @@ -210,7 +210,7 @@ static gboolean gst_exclusion_set_caps (GstBaseTransform * btrans, GstCaps * incaps, GstCaps * outcaps) { - Gstexclusion *filter = GST_EXCLUSION (btrans); + GstExclusion *filter = GST_EXCLUSION (btrans); GstStructure *structure; gboolean ret = TRUE; @@ -226,7 +226,7 @@ static GstFlowReturn gst_exclusion_transform (GstBaseTransform * btrans, GstBuffer * in_buf, GstBuffer * out_buf) { - Gstexclusion *filter = GST_EXCLUSION (btrans); + GstExclusion *filter = GST_EXCLUSION (btrans); gint video_size; guint32 *src = (guint32 *) GST_BUFFER_DATA (in_buf); guint32 *dest = (guint32 *) GST_BUFFER_DATA (out_buf); diff --git a/gst/gaudieffects/gstexclusion.h b/gst/gaudieffects/gstexclusion.h index 8a6e1c74a..0ff7f9629 100644 --- a/gst/gaudieffects/gstexclusion.h +++ b/gst/gaudieffects/gstexclusion.h @@ -56,18 +56,18 @@ G_BEGIN_DECLS #define GST_TYPE_EXCLUSION \ (gst_exclusion_get_type()) #define GST_EXCLUSION(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EXCLUSION,Gstexclusion)) + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EXCLUSION,GstExclusion)) #define GST_EXCLUSION_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EXCLUSION,GstexclusionClass)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EXCLUSION,GstExclusionClass)) #define GST_IS_EXCLUSION(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EXCLUSION)) #define GST_IS_EXCLUSION_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EXCLUSION)) -typedef struct _Gstexclusion Gstexclusion; -typedef struct _GstexclusionClass GstexclusionClass; +typedef struct _GstExclusion GstExclusion; +typedef struct _GstExclusionClass GstExclusionClass; -struct _Gstexclusion +struct _GstExclusion { GstVideoFilter videofilter; @@ -78,7 +78,7 @@ struct _Gstexclusion gboolean silent; }; -struct _GstexclusionClass +struct _GstExclusionClass { GstVideoFilterClass parent_class; }; diff --git a/gst/gaudieffects/gstsolarize.c b/gst/gaudieffects/gstsolarize.c index 8b0bc2ca9..6ef95dac1 100644 --- a/gst/gaudieffects/gstsolarize.c +++ b/gst/gaudieffects/gstsolarize.c @@ -110,7 +110,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS (CAPS_STR) ); -GST_BOILERPLATE (Gstsolarize, gst_solarize, GstVideoFilter, +GST_BOILERPLATE (GstSolarize, gst_solarize, GstVideoFilter, GST_TYPE_VIDEO_FILTER); static void gst_solarize_set_property (GObject * object, guint prop_id, @@ -144,7 +144,7 @@ gst_solarize_base_init (gpointer gclass) /* Initialize the solarize's class. */ static void -gst_solarize_class_init (GstsolarizeClass * klass) +gst_solarize_class_init (GstSolarizeClass * klass) { GObjectClass *gobject_class = (GObjectClass *) klass; GstBaseTransformClass *trans_class = (GstBaseTransformClass *) klass; @@ -166,7 +166,7 @@ gst_solarize_class_init (GstsolarizeClass * klass) * initialize instance structure. */ static void -gst_solarize_init (Gstsolarize * filter, GstsolarizeClass * gclass) +gst_solarize_init (GstSolarize * filter, GstSolarizeClass * gclass) { filter->silent = FALSE; } @@ -175,7 +175,7 @@ static void gst_solarize_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { - Gstsolarize *filter = GST_SOLARIZE (object); + GstSolarize *filter = GST_SOLARIZE (object); switch (prop_id) { case PROP_SILENT: @@ -191,7 +191,7 @@ static void gst_solarize_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { - Gstsolarize *filter = GST_SOLARIZE (object); + GstSolarize *filter = GST_SOLARIZE (object); switch (prop_id) { case PROP_SILENT: @@ -210,7 +210,7 @@ static gboolean gst_solarize_set_caps (GstBaseTransform * btrans, GstCaps * incaps, GstCaps * outcaps) { - Gstsolarize *filter = GST_SOLARIZE (btrans); + GstSolarize *filter = GST_SOLARIZE (btrans); GstStructure *structure; gboolean ret = TRUE; @@ -226,7 +226,7 @@ static GstFlowReturn gst_solarize_transform (GstBaseTransform * btrans, GstBuffer * in_buf, GstBuffer * out_buf) { - Gstsolarize *filter = GST_SOLARIZE (btrans); + GstSolarize *filter = GST_SOLARIZE (btrans); gint video_size; guint32 *src = (guint32 *) GST_BUFFER_DATA (in_buf); guint32 *dest = (guint32 *) GST_BUFFER_DATA (out_buf); diff --git a/gst/gaudieffects/gstsolarize.h b/gst/gaudieffects/gstsolarize.h index 739f01a89..885687d03 100644 --- a/gst/gaudieffects/gstsolarize.h +++ b/gst/gaudieffects/gstsolarize.h @@ -56,18 +56,18 @@ G_BEGIN_DECLS #define GST_TYPE_SOLARIZE \ (gst_solarize_get_type()) #define GST_SOLARIZE(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_SOLARIZE,Gstsolarize)) + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_SOLARIZE,GstSolarize)) #define GST_SOLARIZE_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_SOLARIZE,GstsolarizeClass)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_SOLARIZE,GstSolarizeClass)) #define GST_IS_SOLARIZE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SOLARIZE)) #define GST_IS_SOLARIZE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SOLARIZE)) -typedef struct _Gstsolarize Gstsolarize; -typedef struct _GstsolarizeClass GstsolarizeClass; +typedef struct _GstSolarize GstSolarize; +typedef struct _GstSolarizeClass GstSolarizeClass; -struct _Gstsolarize +struct _GstSolarize { GstVideoFilter videofilter; @@ -78,7 +78,7 @@ struct _Gstsolarize gboolean silent; }; -struct _GstsolarizeClass +struct _GstSolarizeClass { GstVideoFilterClass parent_class; }; |