From 39fd8a2dbd436cbabe5e336d1145b62c2a885ed5 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Mon, 15 Mar 2004 16:32:54 +0000 Subject: *.h: Revert indenting Original commit message from CVS: * *.h: Revert indenting --- gst/colorspace/gstcolorspace.h | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'gst/colorspace/gstcolorspace.h') diff --git a/gst/colorspace/gstcolorspace.h b/gst/colorspace/gstcolorspace.h index f777b41b..22e2f7ec 100644 --- a/gst/colorspace/gstcolorspace.h +++ b/gst/colorspace/gstcolorspace.h @@ -23,6 +23,7 @@ #include G_BEGIN_DECLS + #define GST_TYPE_COLORSPACE \ (gst_colorspace_get_type()) #define GST_COLORSPACE(obj) \ @@ -33,11 +34,11 @@ G_BEGIN_DECLS (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_COLORSPACE)) #define GST_IS_COLORSPACE_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_COLORSPACE)) + typedef struct _GstColorspace GstColorspace; typedef struct _GstColorspaceClass GstColorspaceClass; -typedef enum -{ +typedef enum { GST_COLORSPACE_NONE, GST_COLORSPACE_HERMES, GST_COLORSPACE_YUV_RGB, @@ -47,11 +48,10 @@ typedef enum GST_COLORSPACE_420_SWAP, } GstColorSpaceConverterType; -struct _GstColorspace -{ +struct _GstColorspace { GstElement element; - GstPad *sinkpad, *srcpad; + GstPad *sinkpad,*srcpad; int converter_index; @@ -60,7 +60,7 @@ struct _GstColorspace int src_size; int sink_size; - + int src_stride; int sink_stride; @@ -68,21 +68,18 @@ struct _GstColorspace gdouble fps; }; -struct _GstColorspaceClass -{ +struct _GstColorspaceClass { GstElementClass parent_class; }; -GType gst_colorspace_get_type (void); +GType gst_colorspace_get_type(void); -typedef struct _GstColorspaceFormat -{ +typedef struct _GstColorspaceFormat { GstStaticCaps caps; } GstColorspaceFormat; -typedef enum -{ +typedef enum { GST_COLORSPACE_I420, GST_COLORSPACE_YV12, GST_COLORSPACE_RGB32, @@ -90,13 +87,13 @@ typedef enum GST_COLORSPACE_RGB16, } GstColorSpaceFormatType; -typedef struct _GstColorspaceConverter -{ +typedef struct _GstColorspaceConverter { GstColorSpaceFormatType from; GstColorSpaceFormatType to; - void (*convert) (GstColorspace * colorspace, unsigned char *dest, - unsigned char *src); + void (*convert) (GstColorspace *colorspace, unsigned char *dest, unsigned char *src); } GstColorspaceConverter; G_END_DECLS + #endif + -- cgit v1.2.1