1.1 --- a/src/video/SDL_yuv_sw.c Sat Jun 06 06:40:23 2009 +0000
1.2 +++ b/src/video/SDL_yuv_sw.c Wed Jun 10 09:15:33 2009 +0000
1.3 @@ -88,32 +88,6 @@
1.4 #include "SDL_yuv_sw_c.h"
1.5
1.6
1.7 -struct SDL_SW_YUVTexture
1.8 -{
1.9 - Uint32 format;
1.10 - Uint32 target_format;
1.11 - int w, h;
1.12 - Uint8 *pixels;
1.13 - int *colortab;
1.14 - Uint32 *rgb_2_pix;
1.15 - void (*Display1X) (int *colortab, Uint32 * rgb_2_pix,
1.16 - unsigned char *lum, unsigned char *cr,
1.17 - unsigned char *cb, unsigned char *out,
1.18 - int rows, int cols, int mod);
1.19 - void (*Display2X) (int *colortab, Uint32 * rgb_2_pix,
1.20 - unsigned char *lum, unsigned char *cr,
1.21 - unsigned char *cb, unsigned char *out,
1.22 - int rows, int cols, int mod);
1.23 -
1.24 - /* These are just so we don't have to allocate them separately */
1.25 - Uint16 pitches[3];
1.26 - Uint8 *planes[3];
1.27 -
1.28 - /* This is a temporary surface in case we have to stretch copy */
1.29 - SDL_Surface *stretch;
1.30 - SDL_Surface *display;
1.31 -};
1.32 -
1.33 /* The colorspace conversion functions */
1.34
1.35 #if (__GNUC__ > 2) && defined(__i386__) && __OPTIMIZE__ && SDL_ASSEMBLY_ROUTINES