summaryrefslogtreecommitdiffstats
path: root/gst/goom/filters.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:44:58 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:44:58 +0000
commit3ecf433432289b9c1990165f65bdd51aaad2eaa7 (patch)
treedc7bd5c5b4eb37d49b1a37ca1f33c9d9ed2a8374 /gst/goom/filters.c
parentf2085bd7ef2a4e685b8a58ae0848c43aab0d8747 (diff)
expand tabs
Original commit message from CVS: expand tabs
Diffstat (limited to 'gst/goom/filters.c')
-rw-r--r--gst/goom/filters.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gst/goom/filters.c b/gst/goom/filters.c
index 16f8f532..f92dbcd7 100644
--- a/gst/goom/filters.c
+++ b/gst/goom/filters.c
@@ -5,9 +5,9 @@
* -ajout de zoomFilter()
* -copie de zoomFilter() en zoomFilterRGB(), gérant les 3 couleurs
* -optimisation de sinFilter (utilisant une table de sin)
- * -asm
- * -optimisation de la procedure de génération du buffer de transformation
- * la vitesse est maintenant comprise dans [0..128] au lieu de [0..100]
+ * -asm
+ * -optimisation de la procedure de génération du buffer de transformation
+ * la vitesse est maintenant comprise dans [0..128] au lieu de [0..100]
*/
/*#define _DEBUG_PIXEL; */
@@ -185,7 +185,7 @@ calculatePXandPY (int x, int y, int *px, int *py)
static inline void
setPixelRGB (Uint * buffer, Uint x, Uint y, Color c)
{
-/* buffer[ y*WIDTH + x ] = (c.r<<16)|(c.v<<8)|c.b */
+/* buffer[ y*WIDTH + x ] = (c.r<<16)|(c.v<<8)|c.b */
#ifdef _DEBUG_PIXEL
if (x + y * resolx >= resolx * resoly) {
fprintf (stderr, "setPixel ERROR : hors du tableau... %i, %i\n", x, y);
@@ -245,7 +245,7 @@ getPixelRGB (Uint * buffer, Uint x, Uint y, Color * c)
(unsigned char *) (buffer + (x + y * resolx)));
c->v = *(unsigned char *) (++tmp8);
c->r = *(unsigned char *) (++tmp8);
-/* *c = (Color) buffer[x+y*WIDTH] ; */
+/* *c = (Color) buffer[x+y*WIDTH] ; */
#endif
}
@@ -273,7 +273,7 @@ getPixelRGB_ (Uint * buffer, Uint x, Color * c)
c->b = *(unsigned char *) (tmp8 = (unsigned char *) (buffer + x));
c->v = *(unsigned char *) (++tmp8);
c->r = *(unsigned char *) (++tmp8);
-/* *c = (Color) buffer[x+y*WIDTH] ; */
+/* *c = (Color) buffer[x+y*WIDTH] ; */
#endif
}
@@ -452,8 +452,8 @@ zoomFilterFastRGB (Uint * pix1,
npx10 = (px / sqrtperte);
npy10 = (py / sqrtperte);
-/* if (npx10 >= prevX) fprintf(stderr,"error npx:%d",npx10);
- if (npy10 >= prevY) fprintf(stderr,"error npy:%d",npy10);
+/* if (npx10 >= prevX) fprintf(stderr,"error npx:%d",npx10);
+ if (npy10 >= prevY) fprintf(stderr,"error npy:%d",npy10);
*/
coefh = px % sqrtperte;
coefv = py % sqrtperte;