/external/jpeg/ |
wrgif.c | 223 int BitsPerPixel, ColorMapSize, InitCodeSize, FlagByte; 230 BitsPerPixel = 1; 231 while (num_colors > (1 << BitsPerPixel)) 232 BitsPerPixel++; 233 ColorMapSize = 1 << BitsPerPixel; 234 if (BitsPerPixel <= 1) 237 InitCodeSize = BitsPerPixel; 252 FlagByte |= (BitsPerPixel-1) << 4; /* color resolution */ 253 FlagByte |= (BitsPerPixel-1); /* size of global color table */
|
/external/giflib/ |
gif_lib_private.h | 35 BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */
|
dgif_lib.c | 235 int i, BitsPerPixel; 255 BitsPerPixel = (Buf[0] & 0x07) + 1; 259 GifFile->SColorMap = MakeMapObject(1 << BitsPerPixel, NULL); 331 int i, BitsPerPixel; 351 BitsPerPixel = (Buf[0] & 0x07) + 1; 360 GifFile->Image.ColorMap = MakeMapObject(1 << BitsPerPixel, NULL); 655 *CodeSize = Private->BitsPerPixel; 699 int i, BitsPerPixel; 705 BitsPerPixel = CodeSize; 708 Private->BitsPerPixel = BitsPerPixel [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
SDL_nxmodes.c | 36 if (SDL_Visual.bpp == format -> BitsPerPixel) {
|
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
SDL_riscosvideo.c | 181 vformat->BitsPerPixel = (1 << vals[0]); 188 if (vformat->BitsPerPixel < 8) vformat->BitsPerPixel = 8; 191 switch (vformat->BitsPerPixel) 198 vformat->BitsPerPixel = 16; /* SDL wants actual number of bits used */ 244 return(SDL_modelist[((format->BitsPerPixel+7)/8)-1]);
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
SDL_fb3dfx.c | 69 bpp = dst->format->BitsPerPixel; 117 bpp = src->format->BitsPerPixel; 120 bpp = dst->format->BitsPerPixel;
|
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
SDL_sysvideo.cc | 218 vformat->BitsPerPixel = QPixmap::defaultDepth(); 224 QT_AddMode(_this, ((vformat->BitsPerPixel+7)/8)-1, 226 QT_AddMode(_this, ((vformat->BitsPerPixel+7)/8)-1, 250 modes = SDL_modelist[((format->BitsPerPixel+7)/8)-1]; 252 if ( format->BitsPerPixel == 253 _this->screen->format->BitsPerPixel ) {
|
/external/qemu-pc-bios/vgabios/tests/lfbprof/ |
lfbprof.h | 58 char BitsPerPixel; /* Bits per pixel */
|
lfbprof.c | 469 || modeInfo.BitsPerPixel != 8 474 modeInfo.BitsPerPixel); 502 || modeInfo.BitsPerPixel != 8
|
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/ |
SDL_xbios.c | 310 vformat->BitsPerPixel = 8; 345 vformat->BitsPerPixel = 8; 392 vformat->BitsPerPixel = 16; 481 if ((format->BitsPerPixel != 8) && (format->BitsPerPixel !=16)) { 485 return(SDL_modelist[(format->BitsPerPixel)>>4]); 730 if ((surface->format->BitsPerPixel) == 8) { 771 if ((surface->format->BitsPerPixel) > 8) { 779 if ((surface->format->BitsPerPixel) == 8) { 809 if ((surface->format->BitsPerPixel) > 8) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/ |
SDL_ggivideo.c | 208 ggiGetPalette(VIS, 0, 1 << vformat->BitsPerPixel, pal); 220 vformat->BitsPerPixel = db->buffer.plb.pixelformat->depth; 237 SDL_modelist[((vformat->BitsPerPixel + 7) / 8) - 1] = &video_mode; 245 return(&SDL_modelist[((format->BitsPerPixel + 7) / 8) - 1]);
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_ph_modes.c | 84 if(mode_info.bits_per_pixel == format->BitsPerPixel) 254 if ((mode = get_mode_any_format(screen->w, screen->h, screen->format->BitsPerPixel)) == 0) 262 if ((mode = ph_GetVideoMode(screen->w, screen->h, screen->format->BitsPerPixel)) == 0)
|
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/ |
SDL_syswm.c | 122 (icon->format->BitsPerPixel == icon_256->format->BitsPerPixel)){ 134 icon_256->format->BitsPerPixel);
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_video.c | 248 vformat.BitsPerPixel, 263 SDL_DitherColors(vf->palette->colors, vf->BitsPerPixel); 389 format.BitsPerPixel = SDL_closest_depths[table][b]; 426 static int SDL_GetVideoMode (int *w, int *h, int *BitsPerPixel, Uint32 flags) 435 if ( *BitsPerPixel < 8 || *BitsPerPixel > 32 ) { 445 native_bpp = SDL_VideoModeOK(*w, *h, *BitsPerPixel, flags); 446 if ( native_bpp == *BitsPerPixel ) { 450 *BitsPerPixel = native_bpp; 457 table = ((*BitsPerPixel+7)/8)-1 [all...] |
SDL_bmp.c | 362 if ( saveme->format->BitsPerPixel == 8 ) { 366 saveme->format->BitsPerPixel); 369 else if ( (saveme->format->BitsPerPixel == 24) && 432 biBitCount = surface->format->BitsPerPixel;
|
SDL_stretch.c | 191 if ( src->format->BitsPerPixel != dst->format->BitsPerPixel ) {
|
SDL_pixels.c | 53 format->BitsPerPixel = bpp; 297 switch (surface->format->BitsPerPixel) { 576 if (srcfmt->BitsPerPixel!=dstfmt->BitsPerPixel)
|
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
SDL_sysvideo.cc | 166 int bitsperpixel; local 168 bitsperpixel = 0; 171 bitsperpixel = 8; 177 bitsperpixel = 15; 181 bitsperpixel = 16; 187 bitsperpixel = 32; 192 return(bitsperpixel); 282 vformat->BitsPerPixel = ColorSpaceToBitsPerPixel(bscreen.ColorSpace()); 283 if ( vformat->BitsPerPixel == 0 ) { 332 modes = SDL_modelist[((format->BitsPerPixel+7)/8)-1] [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/ |
SDL_dspvideo.c | 443 err = NewGWorld (&offscreen, vformat->BitsPerPixel, &bounds, NULL, SDL_Display, useDistantHdwrMem | noNewDevice); 449 err = NewGWorld (&offscreen, vformat->BitsPerPixel, &bounds, NULL, SDL_Display, useLocalHdwrMem | noNewDevice); 553 vformat->BitsPerPixel = GetPixDepth ( (**SDL_Display).gdPMap ); 554 dsp_old_depth = vformat->BitsPerPixel; 556 switch (vformat->BitsPerPixel) { 612 if ( format->BitsPerPixel == 0 ) 617 if (SDL_modelist[i]->x & format->BitsPerPixel) { 1088 if ( DSp_NewHWSurface (this, &temp, surface->format->BitsPerPixel, surface->w, surface->h) < 0 ) [all...] |
/external/qemu-pc-bios/vgabios/ |
vbe.h | 64 Bit8u BitsPerPixel; 118 Bit8u BitsPerPixel;
|
/external/qemu/distrib/sdl-1.2.12/src/video/windib/ |
SDL_dibvideo.c | 306 vformat->BitsPerPixel = DIB_SussScreenDepth(); 307 switch (vformat->BitsPerPixel) { 312 vformat->BitsPerPixel = 16; 364 // We use only vformat->BitsPerPixel that allow SDL to 369 DIB_AddMode(this, vformat->BitsPerPixel, 376 if ( vformat->BitsPerPixel <= 8 ) { 379 DIB_CreatePalette(this, vformat->BitsPerPixel); 401 return(SDL_modelist[((format->BitsPerPixel+7)/8)-1]); 506 if ( bpp == current->format->BitsPerPixel ) { 629 settings.dmBitsPerPel = video->format->BitsPerPixel; [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/ |
SDL_gapivideo.c | 543 vformat->BitsPerPixel = this->hidden->gxProperties.cBPP < 8 ? 16 : (unsigned char)this->hidden->gxProperties.cBPP; 547 vformat->BitsPerPixel = 16; 555 vformat->BitsPerPixel = 16; 564 vformat->BitsPerPixel = 16; 584 return(this->hidden->SDL_modelist[((format->BitsPerPixel+7)/8)-1]); 603 if (bpp == current->format->BitsPerPixel) { 772 printf("video surface bpp: %d\n", video->format->BitsPerPixel); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
SDL_gsvideo.c | 325 vformat->BitsPerPixel = GS_pixelmasks[vinfo.psm].bpp; 372 switch (format->BitsPerPixel) { 382 if ( format->BitsPerPixel != 32 ) break;
|
/external/qemu/distrib/sdl-1.2.12/src/video/dummy/ |
SDL_nullvideo.c | 149 vformat->BitsPerPixel = 8;
|
/external/qemu/distrib/sdl-1.2.12/src/video/macrom/ |
SDL_romvideo.c | 216 vformat->BitsPerPixel = (**(**SDL_Display).gdPMap).pixelSize; 217 switch (vformat->BitsPerPixel) { 261 if ( this->screen->format->BitsPerPixel == format->BitsPerPixel ) {
|