summaryrefslogtreecommitdiffstats
path: root/gst/colorspace/gstcolorspace.h
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
committerJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
commit39fd8a2dbd436cbabe5e336d1145b62c2a885ed5 (patch)
tree61df7da4a9d2b8bdb853af50a27219a8921bf5e4 /gst/colorspace/gstcolorspace.h
parent1633bd8693c54cbc5f6648703a7ecf01548ec55f (diff)
downloadgst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.tar.gz
gst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.tar.bz2
gst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.zip
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'gst/colorspace/gstcolorspace.h')
-rw-r--r--gst/colorspace/gstcolorspace.h31
1 files changed, 14 insertions, 17 deletions
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 <gst/gst.h>
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
+