summaryrefslogtreecommitdiffstats
path: root/gst/videoflip
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
commit5acffea623eaa95469a8fb77260c85240c6c0a41 (patch)
tree5d1eb5b3c6cbe7ff7888cfe0b2f972f7e509e99d /gst/videoflip
parentf878cc16402dcc70f31861bb120f435f3157c518 (diff)
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'gst/videoflip')
-rw-r--r--gst/videoflip/gstvideoflip.h20
-rw-r--r--gst/videoflip/videoflip.h24
2 files changed, 22 insertions, 22 deletions
diff --git a/gst/videoflip/gstvideoflip.h b/gst/videoflip/gstvideoflip.h
index 4d28ac66..b14b0bd3 100644
--- a/gst/videoflip/gstvideoflip.h
+++ b/gst/videoflip/gstvideoflip.h
@@ -25,8 +25,9 @@
#include <gst/gst.h>
-G_BEGIN_DECLS typedef enum
-{
+G_BEGIN_DECLS
+
+typedef enum {
GST_VIDEOFLIP_METHOD_IDENTITY,
GST_VIDEOFLIP_METHOD_90R,
GST_VIDEOFLIP_METHOD_180,
@@ -52,11 +53,10 @@ G_BEGIN_DECLS typedef enum
typedef struct _GstVideoflip GstVideoflip;
typedef struct _GstVideoflipClass GstVideoflipClass;
-struct _GstVideoflip
-{
+struct _GstVideoflip {
GstElement element;
- GstPad *sinkpad, *srcpad;
+ GstPad *sinkpad,*srcpad;
gboolean force_size;
gint forced_width;
@@ -78,16 +78,16 @@ struct _GstVideoflip
gint to_buf_size;
};
-struct _GstVideoflipClass
-{
+struct _GstVideoflipClass {
GstElementClass parent_class;
};
-GType gst_videoflip_get_type (void);
-
-void gst_videoflip_setup (GstVideoflip *);
+GType gst_videoflip_get_type(void);
+void gst_videoflip_setup(GstVideoflip *);
#define gst_videoflip_scale(scale, src, dest) (scale)->scale_cc((scale), (src), (dest))
G_END_DECLS
+
#endif /* __GST_VIDEOFLIP_H__ */
+
diff --git a/gst/videoflip/videoflip.h b/gst/videoflip/videoflip.h
index a6bd5fb7..e912fe98 100644
--- a/gst/videoflip/videoflip.h
+++ b/gst/videoflip/videoflip.h
@@ -23,24 +23,24 @@
#include "gstvideoflip.h"
-struct videoflip_format_struct
-{
- char *fourcc;
- int depth;
- void (*scale) (GstVideoflip *, unsigned char *dest, unsigned char *src);
- int bpp;
- unsigned int endianness;
- unsigned int red_mask;
- unsigned int green_mask;
- unsigned int blue_mask;
+struct videoflip_format_struct {
+ char *fourcc;
+ int depth;
+ void (*scale)(GstVideoflip *,unsigned char *dest, unsigned char *src);
+ int bpp;
+ unsigned int endianness;
+ unsigned int red_mask;
+ unsigned int green_mask;
+ unsigned int blue_mask;
};
extern struct videoflip_format_struct videoflip_formats[];
extern int videoflip_n_formats;
-GstStructure *videoflip_get_cap (struct videoflip_format_struct *format);
+GstStructure *videoflip_get_cap(struct videoflip_format_struct *format);
-struct videoflip_format_struct *videoflip_find_by_caps (const GstCaps * caps);
+struct videoflip_format_struct *videoflip_find_by_caps(const GstCaps *caps);
#endif
+