diff options
author | Robin KAY <komadori@users.sourceforge.net> | 2003-01-01 17:03:49 +0000 |
---|---|---|
committer | Robin KAY <komadori@users.sourceforge.net> | 2003-01-01 17:03:49 +0000 |
commit | 148e59d48e0eaa46bfa6279e5f71c94642d1206c (patch) | |
tree | 1580a46de32f315dc9995b468fb7dd2dfd59e0c5 /src | |
parent | db721598731ba192a0078ae96b8a14c9483469c8 (diff) | |
download | xine-lib-148e59d48e0eaa46bfa6279e5f71c94642d1206c.tar.gz xine-lib-148e59d48e0eaa46bfa6279e5f71c94642d1206c.tar.bz2 |
Made goom compile with SunPro cc
CVS patchset: 3743
CVS date: 2003/01/01 17:03:49
Diffstat (limited to 'src')
-rw-r--r-- | src/post/goom/filters.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/post/goom/filters.c b/src/post/goom/filters.c index 26402c2f3..e33da4e8c 100644 --- a/src/post/goom/filters.c +++ b/src/post/goom/filters.c @@ -91,7 +91,7 @@ static int * firedec = 0 ; /* retourne x>>s , en testant le signe de x */ -inline int ShiftRight (int x, const unsigned char s) +int ShiftRight (int x, const unsigned char s) { if (x<0) return -(-x >> s) ; @@ -148,7 +148,7 @@ void generatePrecalCoef () { px et py indique la nouvelle position (en sqrtperte ieme de pixel) (valeur * 16) */ -inline void calculatePXandPY (int x, int y, int *px, int *py) +void calculatePXandPY (int x, int y, int *px, int *py) { if (theMode == WATER_MODE) { @@ -255,7 +255,7 @@ inline void calculatePXandPY (int x, int y, int *px, int *py) /* #define _DEBUG */ -inline void setPixelRGB(Uint *buffer, Uint x, Uint y, Color c) +void setPixelRGB(Uint *buffer, Uint x, Uint y, Color c) { /* buffer[ y*WIDTH + x ] = (c.r<<16)|(c.v<<8)|c.b */ #ifdef _DEBUG_PIXEL @@ -278,7 +278,7 @@ inline void setPixelRGB(Uint *buffer, Uint x, Uint y, Color c) } -inline void setPixelRGB_ (Uint *buffer, Uint x, Color c) +void setPixelRGB_ (Uint *buffer, Uint x, Color c) { #ifdef _DEBUG if ( x >= resolx*c_resoly ) @@ -301,7 +301,7 @@ inline void setPixelRGB_ (Uint *buffer, Uint x, Color c) -inline void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) +void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) { /* register unsigned char *tmp8; */ unsigned int i; @@ -332,7 +332,7 @@ inline void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) } -inline void getPixelRGB_ (Uint *buffer, Uint x, Color *c) +void getPixelRGB_ (Uint *buffer, Uint x, Color *c) { register unsigned char *tmp8; |