diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2011-11-18 19:15:26 +0100 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2011-11-18 20:57:31 +0100 |
commit | c613904c68173d060916f418836e784cc1700e2f (patch) | |
tree | 3019dadc9fcc3d0786215788d10f5ddff82dc6c9 /ext/opencv/gstedgedetect.h | |
parent | 1f3b4ad5746336dabaa39feb1d6be1018d456511 (diff) | |
download | gstreamer-plugins-bad-c613904c68173d060916f418836e784cc1700e2f.tar.gz |
opencv: fixup gobject naming conventions
Diffstat (limited to 'ext/opencv/gstedgedetect.h')
-rw-r--r-- | ext/opencv/gstedgedetect.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/ext/opencv/gstedgedetect.h b/ext/opencv/gstedgedetect.h index eaaa3c0fa..c6dbeb22e 100644 --- a/ext/opencv/gstedgedetect.h +++ b/ext/opencv/gstedgedetect.h @@ -43,28 +43,28 @@ * Boston, MA 02111-1307, USA. */ -#ifndef __GST_EDGEDETECT_H__ -#define __GST_EDGEDETECT_H__ +#ifndef __GST_EDGE_DETECT_H__ +#define __GST_EDGE_DETECT_H__ #include <gst/gst.h> #include <cv.h> G_BEGIN_DECLS /* #defines don't like whitespacey bits */ -#define GST_TYPE_EDGEDETECT \ - (gst_edgedetect_get_type()) -#define GST_EDGEDETECT(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EDGEDETECT,Gstedgedetect)) -#define GST_EDGEDETECT_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EDGEDETECT,GstedgedetectClass)) -#define GST_IS_EDGEDETECT(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EDGEDETECT)) -#define GST_IS_EDGEDETECT_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EDGEDETECT)) -typedef struct _Gstedgedetect Gstedgedetect; -typedef struct _GstedgedetectClass GstedgedetectClass; +#define GST_TYPE_EDGE_DETECT \ + (gst_edge_detect_get_type()) +#define GST_EDGE_DETECT(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EDGE_DETECT,GstEdgeDetect)) +#define GST_EDGE_DETECT_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EDGE_DETECT,GstEdgeDetectClass)) +#define GST_IS_EDGE_DETECT(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EDGE_DETECT)) +#define GST_IS_EDGE_DETECT_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EDGE_DETECT)) +typedef struct _GstEdgeDetect GstEdgeDetect; +typedef struct _GstEdgeDetectClass GstEdgeDetectClass; -struct _Gstedgedetect +struct _GstEdgeDetect { GstElement element; @@ -77,14 +77,14 @@ struct _Gstedgedetect IplImage *cvEdge, *cvGray, *cvImage, *cvCEdge; }; -struct _GstedgedetectClass +struct _GstEdgeDetectClass { GstElementClass parent_class; }; -GType gst_edgedetect_get_type (void); +GType gst_edge_detect_get_type (void); -gboolean gst_edgedetect_plugin_init (GstPlugin * plugin); +gboolean gst_edge_detect_plugin_init (GstPlugin * plugin); G_END_DECLS -#endif /* __GST_EDGEDETECT_H__ */ +#endif /* __GST_EDGE_DETECT_H__ */ |