Home | History | Annotate | Download | only in ps2gs

Lines Matching refs:bpp

47 static SDL_Surface *GS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
141 int bpp;
158 -1, /* 0 bpp, not a legal value */
159 -1, /* 8 bpp, not supported (yet?) */
160 PS2_GS_PSMCT16, /* 16 bpp */
161 PS2_GS_PSMCT24, /* 24 bpp */
162 PS2_GS_PSMCT32 /* 32 bpp */
325 vformat->BitsPerPixel = GS_pixelmasks[vinfo.psm].bpp;
381 // FIXME - what's wrong with the stretch code at 16 bpp?
413 int width, int height, int bpp, Uint32 flags)
428 (GS_pixelmasks[vinfo.psm].bpp != bpp) ) {
454 vinfo.psm = GS_formatmap[bpp/8];
456 SDL_SetError("Unsupported depth: %d bpp\n", bpp);
470 if ( ! SDL_ReallocFormat(current, GS_pixelmasks[vinfo.psm].bpp,