diff options
Diffstat (limited to 'gst/median/gstmedian.h')
-rw-r--r-- | gst/median/gstmedian.h | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/gst/median/gstmedian.h b/gst/median/gstmedian.h index 5e558bae..c22b80d1 100644 --- a/gst/median/gstmedian.h +++ b/gst/median/gstmedian.h @@ -26,9 +26,8 @@ #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_TYPE_MEDIAN \ @@ -42,33 +41,31 @@ extern "C" #define GST_IS_MEDIAN_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MEDIAN)) - typedef struct _GstMedian GstMedian; - typedef struct _GstMedianClass GstMedianClass; +typedef struct _GstMedian GstMedian; +typedef struct _GstMedianClass GstMedianClass; - struct _GstMedian - { - GstElement element; +struct _GstMedian { + GstElement element; - int format; - int width; - int height; + int format; + int width; + int height; - int filtersize; + int filtersize; - gboolean active; - gboolean lum_only; + gboolean active; + gboolean lum_only; - GstPad *sinkpad, *srcpad; - }; + GstPad *sinkpad,*srcpad; +}; - struct _GstMedianClass - { - GstElementClass parent_class; - }; +struct _GstMedianClass { + GstElementClass parent_class; +}; #ifdef __cplusplus } -#endif /* __cplusplus */ +#endif /* __cplusplus */ -#endif /* __GST_MEDIAN_H__ */ +#endif /* __GST_MEDIAN_H__ */ |