summaryrefslogtreecommitdiff
path: root/gst/games
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:55:58 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:55:58 +0000
commitbdb814f6ef56edca67e1241eb16df22fdd8ab17c (patch)
tree7b43c9dfbf67b852503d263a322064f0101bf591 /gst/games
parent04ad447fcfa1502907339a6a68e975bb6d35536a (diff)
downloadgstreamer-plugins-bad-bdb814f6ef56edca67e1241eb16df22fdd8ab17c.tar.gz
expand tabs
Original commit message from CVS: expand tabs
Diffstat (limited to 'gst/games')
-rw-r--r--gst/games/gstpuzzle.c4
-rw-r--r--gst/games/gstvideoimage.c2
-rw-r--r--gst/games/gstvideoimage.h96
3 files changed, 51 insertions, 51 deletions
diff --git a/gst/games/gstpuzzle.c b/gst/games/gstpuzzle.c
index f15e4839c..6ebc51006 100644
--- a/gst/games/gstpuzzle.c
+++ b/gst/games/gstpuzzle.c
@@ -1,7 +1,7 @@
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
- * <2003> David Schleef <ds@schleef.org>
- * <2004> Benjamin Otte <otte@gnome.org>
+ * <2003> David Schleef <ds@schleef.org>
+ * <2004> Benjamin Otte <otte@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
diff --git a/gst/games/gstvideoimage.c b/gst/games/gstvideoimage.c
index c18843c8e..5c660a254 100644
--- a/gst/games/gstvideoimage.c
+++ b/gst/games/gstvideoimage.c
@@ -1,6 +1,6 @@
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
- * <2004> Benjamin Otte <otte@gnome.org>
+ * <2004> Benjamin Otte <otte@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
diff --git a/gst/games/gstvideoimage.h b/gst/games/gstvideoimage.h
index 7392d0d13..06677781c 100644
--- a/gst/games/gstvideoimage.h
+++ b/gst/games/gstvideoimage.h
@@ -1,6 +1,6 @@
/* GStreamer
* Copyright (C) <2003> David A. Schleef <ds@schleef.org>
- * <2004> Benjamin Otte <otte@gnome.org
+ * <2004> Benjamin Otte <otte@gnome.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -31,8 +31,8 @@ typedef struct _GstVideoImage GstVideoImage;
typedef struct _GstVideoFormat GstVideoFormat;
struct _GstVideoColor {
- int Y, U, V;
- int R, G, B;
+ int Y, U, V;
+ int R, G, B;
};
extern const GstVideoColor GST_VIDEO_COLOR_WHITE;
extern const GstVideoColor GST_VIDEO_COLOR_YELLOW;
@@ -50,64 +50,64 @@ extern const GstVideoColor GST_VIDEO_COLOR_DARK_GREY;
struct _GstVideoImage
{
- guint8 * dest; /* pointer to first byte of video data */
- guint8 * yp, *up, *vp; /* pointers to first byte of each component
- * for both packed/planar YUV and RGB */
- guint8 * endptr; /* pointer to byte beyond last video data */
- guint ystride;
- guint ustride;
- guint vstride;
- guint width;
- guint height;
+ guint8 * dest; /* pointer to first byte of video data */
+ guint8 * yp, *up, *vp; /* pointers to first byte of each component
+ * for both packed/planar YUV and RGB */
+ guint8 * endptr; /* pointer to byte beyond last video data */
+ guint ystride;
+ guint ustride;
+ guint vstride;
+ guint width;
+ guint height;
const GstVideoFormat * format;
};
struct _GstVideoFormat
{
- char * fourcc;
- char * name;
- int bitspp;
- void (* paint_setup) (GstVideoImage * p, char *dest);
- void (* paint_hline) (GstVideoImage * p, int x, int y, int w, const GstVideoColor *c);
- void (* copy_hline) (GstVideoImage * dest, int destx, int desty,
+ char * fourcc;
+ char * name;
+ int bitspp;
+ void (* paint_setup) (GstVideoImage * p, char *dest);
+ void (* paint_hline) (GstVideoImage * p, int x, int y, int w, const GstVideoColor *c);
+ void (* copy_hline) (GstVideoImage * dest, int destx, int desty,
GstVideoImage * src, int srcx, int srcy, int w);
- int ext_caps;
- int depth;
- guint red_mask;
- guint green_mask;
- guint blue_mask;
+ int ext_caps;
+ int depth;
+ guint red_mask;
+ guint green_mask;
+ guint blue_mask;
};
-const GstVideoFormat * gst_video_format_find_by_fourcc (int find_fourcc);
-const GstVideoFormat * gst_video_format_find_by_name (const char *name);
-const GstVideoFormat * gst_video_format_find_by_structure (const GstStructure *structure);
-GstStructure * gst_video_format_get_structure (const GstVideoFormat *format);
-guint gst_video_format_get_size (const GstVideoFormat *format,
- guint w, guint h);
+const GstVideoFormat * gst_video_format_find_by_fourcc (int find_fourcc);
+const GstVideoFormat * gst_video_format_find_by_name (const char *name);
+const GstVideoFormat * gst_video_format_find_by_structure (const GstStructure *structure);
+GstStructure * gst_video_format_get_structure (const GstVideoFormat *format);
+guint gst_video_format_get_size (const GstVideoFormat *format,
+ guint w, guint h);
extern const GstVideoFormat gst_video_format_list[];
extern const guint gst_video_format_count;
-void gst_video_image_setup (GstVideoImage *image,
- const GstVideoFormat *format,
- guint8 *data, guint w, guint h);
-
+void gst_video_image_setup (GstVideoImage *image,
+ const GstVideoFormat *format,
+ guint8 *data, guint w, guint h);
+
/* drawing operations */
-void gst_video_image_draw_hline (GstVideoImage *image,
- gint x, gint y, gint w,
- const GstVideoColor *c);
-void gst_video_image_draw_rectangle (GstVideoImage *image,
- gint x, gint y, gint w, gint h,
- const GstVideoColor *c, gboolean filled);
-void gst_video_image_copy_hline (GstVideoImage *dest,
- gint xdest, gint ydest,
- GstVideoImage *src,
- gint xsrc, gint ysrc, gint w);
-void gst_video_image_copy_area (GstVideoImage *dest,
- gint xdest, gint ydest,
- GstVideoImage *src,
- gint xsrc, gint ysrc,
- gint w, gint h);
+void gst_video_image_draw_hline (GstVideoImage *image,
+ gint x, gint y, gint w,
+ const GstVideoColor *c);
+void gst_video_image_draw_rectangle (GstVideoImage *image,
+ gint x, gint y, gint w, gint h,
+ const GstVideoColor *c, gboolean filled);
+void gst_video_image_copy_hline (GstVideoImage *dest,
+ gint xdest, gint ydest,
+ GstVideoImage *src,
+ gint xsrc, gint ysrc, gint w);
+void gst_video_image_copy_area (GstVideoImage *dest,
+ gint xdest, gint ydest,
+ GstVideoImage *src,
+ gint xsrc, gint ysrc,
+ gint w, gint h);
G_END_DECLS