Home | History | Annotate | Download | only in video

Lines Matching defs:table

369 	int table, b, i;
385 table = ((bpp+7)/8)-1;
386 SDL_closest_depths[table][0] = bpp;
387 SDL_closest_depths[table][7] = 0;
388 for ( b = 0; !supported && SDL_closest_depths[table][b]; ++b ) {
389 format.BitsPerPixel = SDL_closest_depths[table][b];
417 return(SDL_closest_depths[table][b]);
428 int table, b, i;
457 table = ((*BitsPerPixel+7)/8)-1;
458 SDL_closest_depths[table][0] = *BitsPerPixel;
459 SDL_closest_depths[table][7] = SDL_VideoSurface->format->BitsPerPixel;
460 for ( b = 0; !supported && SDL_closest_depths[table][b]; ++b ) {
463 format.BitsPerPixel = SDL_closest_depths[table][b];
486 *BitsPerPixel = SDL_closest_depths[table][b];