Lines Matching refs:bits_per_pixel
333 &vinfo->xres_virtual, &vinfo->yres_virtual, &vinfo->bits_per_pixel);
391 vinfo->bits_per_pixel = (index+1)*8;
399 fprintf(stderr, "Checked mode %dx%d at %d bpp, got mode %dx%d at %d bpp\n", *w, *h, (index+1)*8, vinfo->xres, vinfo->yres, vinfo->bits_per_pixel);
401 if ( (((vinfo->bits_per_pixel+7)/8)-1) == index ) {
598 vformat->BitsPerPixel = vinfo.bits_per_pixel;
684 current_index = ((vinfo.bits_per_pixel+7)/8)-1;
836 fprintf(stderr, "\tbits_per_pixel: %d\n", vinfo->bits_per_pixel);
887 (!matched || (vinfo->bits_per_pixel == cinfo.bits_per_pixel)) ) {
1033 (vinfo.bits_per_pixel != bpp) || (flags & SDL_DOUBLEBUF) ) {
1036 vinfo.bits_per_pixel = bpp;
1099 if ( ! SDL_ReallocFormat(current, vinfo.bits_per_pixel,
1116 if (vinfo.bits_per_pixel == 16) {
1127 vinfo.bits_per_pixel);
1142 current->pitch = current->w * ((vinfo.bits_per_pixel
1500 int bytes_per_pixel = (cache_vinfo.bits_per_pixel + 7) / 8;
1508 if (cache_vinfo.bits_per_pixel != 16) {
1816 saved_cmaplen = 1<<vinfo->bits_per_pixel;