/external/chromium_org/cc/resources/ |
H A D | resource.h | 30 DCHECK_EQ(0u, (BitsPerPixel(format) * size.width() * size.height()) % 8); 31 return (BitsPerPixel(format) * size.width() * size.height()) / 8;
|
H A D | texture_uploader.cc | 198 unsigned bytes_per_pixel = BitsPerPixel(format) / 8; 253 unsigned bytes_per_pixel = BitsPerPixel(format) / 8;
|
/external/chromium_org/third_party/libjpeg_turbo/ |
H A D | wrgif.c | 223 int BitsPerPixel, ColorMapSize, InitCodeSize, FlagByte; local 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/jpeg/ |
H A D | wrgif.c | 223 int BitsPerPixel, ColorMapSize, InitCodeSize, FlagByte; local 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/qemu/distrib/jpeg-6b/ |
H A D | wrgif.c | 223 int BitsPerPixel, ColorMapSize, InitCodeSize, FlagByte; local 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/ |
H A D | gif_lib_private.h | 34 BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */ member in struct:GifFilePrivateType
|
H A D | dgif_lib.c | 231 int BitsPerPixel; local 255 BitsPerPixel = (Buf[0] & 0x07) + 1; 261 GifFile->SColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); 333 unsigned int BitsPerPixel; local 355 BitsPerPixel = (Buf[0] & 0x07) + 1; 367 GifFile->Image.ColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL); 700 *CodeSize = Private->BitsPerPixel; 746 int i, BitsPerPixel; local 752 BitsPerPixel = CodeSize; 755 Private->BitsPerPixel [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
H A D | SDL_nxmodes.c | 36 if (SDL_Visual.bpp == format -> BitsPerPixel) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
H A D | 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.15/test/ |
H A D | testvidinfo.c | 144 bmp->w, bmp->h, bmp->format->BitsPerPixel); 173 bmpcc->w, bmpcc->h, bmpcc->format->BitsPerPixel); 206 bmp->w, bmp->h, bmp->format->BitsPerPixel); 237 bmpcc->w, bmpcc->h, bmpcc->format->BitsPerPixel); 260 if (bmp->format->BitsPerPixel>8) 273 bmp->w, bmp->h, bmp->format->BitsPerPixel); 297 if (bmp->format->BitsPerPixel>8) 311 bmpcc->w, bmpcc->h, bmpcc->format->BitsPerPixel); 404 info->current_w, info->current_h, info->vfmt->BitsPerPixel); 420 printf("\t%dx%dx%d\n", modes[i]->w, modes[i]->h, info->vfmt->BitsPerPixel); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
H A D | SDL_fb3dfx.c | 69 bpp = dst->format->BitsPerPixel; 116 bpp = src->format->BitsPerPixel; 119 bpp = dst->format->BitsPerPixel;
|
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/ |
H A D | 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/ |
H A D | lfbprof.h | 58 char BitsPerPixel; /* Bits per pixel */ member in struct:__anon30294
|
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/ |
H A D | 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.15/src/video/photon/ |
H A D | 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.15/src/video/wincommon/ |
H A D | SDL_syswm.c | 122 (icon->format->BitsPerPixel == icon_256->format->BitsPerPixel)){ 134 icon_256->format->BitsPerPixel);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_video.c | 254 vformat.BitsPerPixel, 269 SDL_DitherColors(vf->palette->colors, vf->BitsPerPixel); 395 format.BitsPerPixel = SDL_closest_depths[table][b]; 432 static int SDL_GetVideoMode (int *w, int *h, int *BitsPerPixel, Uint32 flags) argument 441 if ( *BitsPerPixel < 8 || *BitsPerPixel > 32 ) { 451 native_bpp = SDL_VideoModeOK(*w, *h, *BitsPerPixel, flags); 452 if ( native_bpp == *BitsPerPixel ) { 456 *BitsPerPixel = native_bpp; 463 table = ((*BitsPerPixel [all...] |
H A D | SDL_bmp.c | 391 if ( saveme->format->BitsPerPixel == 8 ) { 395 saveme->format->BitsPerPixel); 398 else if ( (saveme->format->BitsPerPixel == 24) && 461 biBitCount = surface->format->BitsPerPixel;
|
H A D | SDL_stretch.c | 222 if ( src->format->BitsPerPixel != dst->format->BitsPerPixel ) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
H A D | SDL_sysvideo.cc | 281 vformat->BitsPerPixel = ColorSpaceToBitsPerPixel(bscreen.ColorSpace()); 282 if ( vformat->BitsPerPixel == 0 ) { 331 modes = SDL_modelist[((format->BitsPerPixel+7)/8)-1]; 333 if ( format->BitsPerPixel == 334 _this->screen->format->BitsPerPixel ) { 434 int bpp = screen->format->BitsPerPixel;
|
/external/qemu/distrib/sdl-1.2.15/src/video/nds/ |
H A D | SDL_ndsvideo.c | 99 if (src->format->BitsPerPixel != dst->format->BitsPerPixel) return false; 170 vformat->BitsPerPixel = 16; // mode 3
|
/external/qemu/distrib/sdl-1.2.15/src/video/windib/ |
H A D | SDL_dibvideo.c | 340 vformat->BitsPerPixel = DIB_SussScreenDepth(); 341 switch (vformat->BitsPerPixel) { 346 vformat->BitsPerPixel = 16; 400 // We use only vformat->BitsPerPixel that allow SDL to 405 DIB_AddMode(this, vformat->BitsPerPixel, 412 if ( vformat->BitsPerPixel <= 8 ) { 415 DIB_CreatePalette(this, vformat->BitsPerPixel); 445 return(SDL_modelist[((format->BitsPerPixel+7)/8)-1]); 628 (current->format->BitsPerPixel == bpp) && 646 if ( bpp == current->format->BitsPerPixel ) { [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/ |
H A D | xm_api.c | 328 && v->BitsPerPixel == 32) { 340 && v->BitsPerPixel == 32) { 352 && v->BitsPerPixel == 32) { 365 && v->BitsPerPixel == 16) { 563 v->BitsPerPixel = bits_per_pixel(v); 564 assert(v->BitsPerPixel > 0); 582 if (v->BitsPerPixel == 32) { 600 printf("X/Mesa bits per pixel = %d\n", v->BitsPerPixel);
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
H A D | xm_api.c | 328 && v->BitsPerPixel == 32) { 340 && v->BitsPerPixel == 32) { 352 && v->BitsPerPixel == 32) { 365 && v->BitsPerPixel == 16) { 563 v->BitsPerPixel = bits_per_pixel(v); 564 assert(v->BitsPerPixel > 0); 582 if (v->BitsPerPixel == 32) { 600 printf("X/Mesa bits per pixel = %d\n", v->BitsPerPixel);
|
/external/qemu/distrib/sdl-1.2.15/src/video/caca/ |
H A D | SDL_cacavideo.c | 171 vformat->BitsPerPixel = 8; 180 if(format->BitsPerPixel != 8)
|