test/testoverlay.c
changeset 1439 4d3bb026cd16
parent 1151 be9c9c8f6d53
child 1662 782fd950bd46
child 1895 c121d94672cb
     1.1 --- a/test/testoverlay.c	Sun Feb 26 04:54:01 2006 +0000
     1.2 +++ b/test/testoverlay.c	Sun Feb 26 05:02:14 2006 +0000
     1.3 @@ -34,8 +34,6 @@
     1.4  
     1.5  void RGBtoYUV(Uint8 *rgb, int *yuv, int monochrome, int luminance)
     1.6  {
     1.7 -    int i;
     1.8 -
     1.9      if (monochrome)
    1.10      {
    1.11  #if 1 /* these are the two formulas that I found on the FourCC site... */
    1.12 @@ -80,7 +78,7 @@
    1.13      */
    1.14  }
    1.15  
    1.16 -ConvertRGBtoYV12(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
    1.17 +void ConvertRGBtoYV12(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
    1.18  {
    1.19  	int x,y;
    1.20  	int yuv[3];
    1.21 @@ -120,7 +118,7 @@
    1.22  	SDL_UnlockSurface(s);
    1.23  }
    1.24  
    1.25 -ConvertRGBtoIYUV(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
    1.26 +void ConvertRGBtoIYUV(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
    1.27  {
    1.28  	int x,y;
    1.29  	int yuv[3];
    1.30 @@ -160,7 +158,7 @@
    1.31  	SDL_UnlockSurface(s);
    1.32  }
    1.33  
    1.34 -ConvertRGBtoUYVY(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
    1.35 +void ConvertRGBtoUYVY(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
    1.36  {
    1.37  	int x,y;
    1.38  	int yuv[3];
    1.39 @@ -193,7 +191,7 @@
    1.40  	SDL_UnlockSurface(s);
    1.41  }
    1.42  
    1.43 -ConvertRGBtoYVYU(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
    1.44 +void ConvertRGBtoYVYU(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
    1.45  {
    1.46  	int x,y;
    1.47  	int yuv[3];
    1.48 @@ -229,7 +227,7 @@
    1.49  	SDL_UnlockSurface(s);
    1.50  }
    1.51  
    1.52 -ConvertRGBtoYUY2(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
    1.53 +void ConvertRGBtoYUY2(SDL_Surface *s, SDL_Overlay *o, int monochrome, int luminance)
    1.54  {
    1.55  	int x,y;
    1.56  	int yuv[3];