summaryrefslogtreecommitdiffstats
path: root/gst/goom
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/goom
parentf878cc16402dcc70f31861bb120f435f3157c518 (diff)
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'gst/goom')
-rw-r--r--gst/goom/filters.h31
-rw-r--r--gst/goom/goom_core.h2
-rw-r--r--gst/goom/goom_tools.h6
-rw-r--r--gst/goom/graphic.h8
-rw-r--r--gst/goom/lines.h6
5 files changed, 28 insertions, 25 deletions
diff --git a/gst/goom/filters.h b/gst/goom/filters.h
index c4f0926d..33784c29 100644
--- a/gst/goom/filters.h
+++ b/gst/goom/filters.h
@@ -7,17 +7,17 @@
typedef struct
{
- int vitesse;
- unsigned char pertedec;
- unsigned char sqrtperte;
- int middleX, middleY;
- char reverse;
- char mode;
+ int vitesse ;
+ unsigned char pertedec ;
+ unsigned char sqrtperte ;
+ int middleX,middleY ;
+ char reverse ;
+ char mode ;
/** @since June 2001 */
- int hPlaneEffect;
- int vPlaneEffect;
- char noisify;
-} ZoomFilterData;
+ int hPlaneEffect ;
+ int vPlaneEffect ;
+ char noisify ;
+} ZoomFilterData ;
#define NORMAL_MODE 0
@@ -27,8 +27,9 @@ typedef struct
#define AMULETTE_MODE 4
#define WATER_MODE 5
-void pointFilter (guint32 * pix1, Color c,
- float t1, float t2, float t3, float t4, guint32 cycle);
+void pointFilter(guint32 *pix1, Color c,
+ float t1, float t2, float t3, float t4,
+ guint32 cycle);
/* filtre de zoom :
le contenu de pix1 est copie dans pix2, avec l'effet appliqué
@@ -41,8 +42,10 @@ Uint middleX,
Uint middleY);
*/
-void zoomFilterFastRGB (guint32 * pix1,
- guint32 * pix2, ZoomFilterData * zf, guint32 resx, guint32 resy);
+void zoomFilterFastRGB (guint32 *pix1,
+ guint32 *pix2,
+ ZoomFilterData *zf,
+ guint32 resx, guint32 resy);
/* filtre sin :
diff --git a/gst/goom/goom_core.h b/gst/goom/goom_core.h
index 3751b522..15f942d2 100644
--- a/gst/goom/goom_core.h
+++ b/gst/goom/goom_core.h
@@ -6,7 +6,7 @@
void goom_init (guint32 resx, guint32 resy);
void goom_set_resolution (guint32 resx, guint32 resy);
-guint32 *goom_update (gint16 data[2][512]);
+guint32 * goom_update (gint16 data [2][512]);
void goom_close ();
diff --git a/gst/goom/goom_tools.h b/gst/goom/goom_tools.h
index 5159cf91..e3613825 100644
--- a/gst/goom/goom_tools.h
+++ b/gst/goom/goom_tools.h
@@ -4,8 +4,8 @@
#define NB_RAND 0x10000
/* in graphic.c */
-extern int *rand_tab;
-extern unsigned short rand_pos;
+extern int * rand_tab ;
+extern unsigned short rand_pos ;
#define RAND_INIT(i) \
srand (i) ;\
@@ -25,5 +25,5 @@ extern unsigned short rand_pos;
/*#define iRAND(i) ((guint32)((float)i * RAND()/RAND_MAX)) */
#define iRAND(i) (RAND()%i)
-
+
#endif
diff --git a/gst/goom/graphic.h b/gst/goom/graphic.h
index 1af1030a..415dde73 100644
--- a/gst/goom/graphic.h
+++ b/gst/goom/graphic.h
@@ -5,7 +5,7 @@ typedef unsigned int Uint;
typedef struct
{
- unsigned short r, v, b;
+ unsigned short r,v,b;
}
Color;
@@ -18,7 +18,7 @@ extern const Color YELLOW;
extern const Color ORANGE;
extern const Color VIOLET;
-inline void setPixelRGB (Uint * buffer, Uint x, Uint y, Color c);
-inline void getPixelRGB (Uint * buffer, Uint x, Uint y, Color * c);
+inline void setPixelRGB (Uint *buffer, Uint x, Uint y, Color c) ;
+inline void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) ;
-#endif /*GRAPHIC_H */
+#endif /*GRAPHIC_H*/
diff --git a/gst/goom/lines.h b/gst/goom/lines.h
index 988605ee..3582d380 100644
--- a/gst/goom/lines.h
+++ b/gst/goom/lines.h
@@ -10,6 +10,6 @@
#include "graphic.h"
-void goom_lines (gint16 data[2][512], unsigned int ID, unsigned int *p,
- guint32 power);
-void goom_lines_conf (gint16 config[25]);
+void goom_lines(gint16 data [2][512], unsigned int ID,unsigned int* p, guint32 power);
+void goom_lines_conf(gint16 config [25]);
+