• Home
  • Raw
  • Download

Lines Matching refs:BitsPerPixel

254 				vformat.BitsPerPixel,  in SDL_VideoInit()
269 SDL_DitherColors(vf->palette->colors, vf->BitsPerPixel); in SDL_VideoInit()
395 format.BitsPerPixel = SDL_closest_depths[table][b]; in SDL_VideoModeOK()
432 static int SDL_GetVideoMode (int *w, int *h, int *BitsPerPixel, Uint32 flags) in SDL_GetVideoMode() argument
441 if ( *BitsPerPixel < 8 || *BitsPerPixel > 32 ) { in SDL_GetVideoMode()
451 native_bpp = SDL_VideoModeOK(*w, *h, *BitsPerPixel, flags); in SDL_GetVideoMode()
452 if ( native_bpp == *BitsPerPixel ) { in SDL_GetVideoMode()
456 *BitsPerPixel = native_bpp; in SDL_GetVideoMode()
463 table = ((*BitsPerPixel+7)/8)-1; in SDL_GetVideoMode()
464 SDL_closest_depths[table][0] = *BitsPerPixel; in SDL_GetVideoMode()
465 SDL_closest_depths[table][7] = SDL_VideoSurface->format->BitsPerPixel; in SDL_GetVideoMode()
469 format.BitsPerPixel = SDL_closest_depths[table][b]; in SDL_GetVideoMode()
492 *BitsPerPixel = SDL_closest_depths[table][b]; in SDL_GetVideoMode()
525 if ( depth == (SDL_VideoSurface->format)->BitsPerPixel ) { in SDL_CreateShadowSurface()
542 if ( depth == (SDL_VideoSurface->format)->BitsPerPixel ) { in SDL_CreateShadowSurface()
617 bpp = SDL_VideoSurface->format->BitsPerPixel; in SDL_SetVideoMode()
719 SDL_DitherColors(vf->palette->colors, vf->BitsPerPixel); in SDL_SetVideoMode()
740 mode->w, mode->h, mode->format->BitsPerPixel, mode->offset); in SDL_SetVideoMode()
895 (SDL_VideoSurface->format->BitsPerPixel != bpp)) || in SDL_SetVideoMode()
1288 palsize = 1 << screen->format->BitsPerPixel; in SDL_SetPalette()