Home | History | Annotate | Download | only in video

Lines Matching defs:table

375 	int table, b, i;
391 table = ((bpp+7)/8)-1;
392 SDL_closest_depths[table][0] = bpp;
393 SDL_closest_depths[table][7] = 0;
394 for ( b = 0; !supported && SDL_closest_depths[table][b]; ++b ) {
395 format.BitsPerPixel = SDL_closest_depths[table][b];
423 return(SDL_closest_depths[table][b]);
434 int table, b, i;
463 table = ((*BitsPerPixel+7)/8)-1;
464 SDL_closest_depths[table][0] = *BitsPerPixel;
465 SDL_closest_depths[table][7] = SDL_VideoSurface->format->BitsPerPixel;
466 for ( b = 0; !supported && SDL_closest_depths[table][b]; ++b ) {
469 format.BitsPerPixel = SDL_closest_depths[table][b];
492 *BitsPerPixel = SDL_closest_depths[table][b];