HomeSort by relevance Sort by last modified time
    Searched full:bitsperpixel (Results 1 - 25 of 144) sorted by null

1 2 3 4 5 6

  /cts/tests/tests/graphics/src/android/graphics/cts/
PixelFormatTest.java 45 assertEquals(32, mPixelFormat.bitsPerPixel);
49 assertEquals(32, mPixelFormat.bitsPerPixel);
53 assertEquals(24, mPixelFormat.bitsPerPixel);
57 assertEquals(16, mPixelFormat.bitsPerPixel);
61 assertEquals(16, mPixelFormat.bitsPerPixel);
65 assertEquals(16, mPixelFormat.bitsPerPixel);
69 assertEquals(8, mPixelFormat.bitsPerPixel);
73 assertEquals(8, mPixelFormat.bitsPerPixel);
77 assertEquals(16, mPixelFormat.bitsPerPixel);
81 assertEquals(8, mPixelFormat.bitsPerPixel);
    [all...]
  /frameworks/base/graphics/java/android/graphics/
PixelFormat.java 88 info.bitsPerPixel = 32;
92 info.bitsPerPixel = 24;
99 info.bitsPerPixel = 16;
105 info.bitsPerPixel = 8;
110 info.bitsPerPixel = 16;
114 info.bitsPerPixel = 12;
137 public int bitsPerPixel;
  /external/chromium_org/cc/resources/
resource.h 30 DCHECK_EQ(0u, (BitsPerPixel(format) * size.width() * size.height()) % 8);
31 return (BitsPerPixel(format) * size.width() * size.height()) / 8;
  /external/deqp/framework/delibs/deimage/
deTarga.c 44 int bitsPerPixel;
61 bitsPerPixel = tgaHeader[16];
62 stride = width * bitsPerPixel / 8;
70 DE_TEST_ASSERT(bitsPerPixel == 24 || bitsPerPixel == 32);
71 format = (bitsPerPixel == 32) ? DE_IMAGEFORMAT_ARGB8888 : DE_IMAGEFORMAT_XRGB8888;
89 if (bitsPerPixel == 24)
106 DE_ASSERT(bitsPerPixel == 32);
  /development/ide/xcode/ports/
SkBitmap_Mac.cpp 69 size_t bitsPerPixel;
82 bitsPerPixel = 32;
87 bitsPerPixel = 16;
93 bitsPerPixel = 16;
101 return CGImageCreate(bm.width(), bm.height(), bitsPerComp, bitsPerPixel,
  /external/qemu/distrib/sdl-1.2.15/docs/man3/
SDL_PixelFormat.3 9 Uint8 BitsPerPixel;
67 if(fmt->BitsPerPixel!=8){
  /external/qemu/distrib/sdl-1.2.15/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.15/test/
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/chromium_org/third_party/libjpeg_turbo/
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/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/qemu/distrib/jpeg-6b/
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/qemu/distrib/sdl-1.2.15/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/distrib/sdl-1.2.15/src/video/bwindow/
SDL_sysvideo.cc 165 int bitsperpixel; local
167 bitsperpixel = 0;
170 bitsperpixel = 8;
176 bitsperpixel = 15;
180 bitsperpixel = 16;
186 bitsperpixel = 32;
191 return(bitsperpixel);
281 vformat->BitsPerPixel = ColorSpaceToBitsPerPixel(bscreen.ColorSpace());
282 if ( vformat->BitsPerPixel == 0 ) {
331 modes = SDL_modelist[((format->BitsPerPixel+7)/8)-1]
    [all...]
  /external/giflib/
gif_lib_private.h 34 BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */
dgif_lib.c 231 int BitsPerPixel;
255 BitsPerPixel = (Buf[0] & 0x07) + 1;
261 GifFile->SColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL);
333 unsigned int BitsPerPixel;
355 BitsPerPixel = (Buf[0] & 0x07) + 1;
367 GifFile->Image.ColorMap = GifMakeMapObject(1 << BitsPerPixel, NULL);
700 *CodeSize = Private->BitsPerPixel;
746 int i, BitsPerPixel;
752 BitsPerPixel = CodeSize;
755 Private->BitsPerPixel = BitsPerPixel
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/nanox/
SDL_nxmodes.c 36 if (SDL_Visual.bpp == format -> BitsPerPixel) {
  /external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
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/docs/html/
sdlpixelformat.html 95 Uint8 BitsPerPixel;
144 >BitsPerPixel</I
155 >BitsPerPixel</I
298 >BitsPerPixel</I
369 if(fmt-&#62;BitsPerPixel!=8){
  /external/qemu/distrib/sdl-1.2.15/src/video/dga/
SDL_dgavideo.c 250 mode->depth == 24 ? mode->bitsPerPixel : mode->depth,
289 int a_bpp = a->depth == 24 ? a->bitsPerPixel : a->depth;
290 int b_bpp = b->depth == 24 ? b->bitsPerPixel : b->depth;
372 vformat->BitsPerPixel = DefaultDepth(DGA_Display, DGA_Screen);
380 if ( vformat->BitsPerPixel == pix_format[i].depth )
384 vformat->BitsPerPixel = pix_format[i].bits_per_pixel;
387 if ( vformat->BitsPerPixel > 8 ) {
423 DGA_AddMode(this, modes[i].bitsPerPixel,
450 return(SDL_modelist[((format->BitsPerPixel+7)/8)-1]);
480 depth = modes[i].bitsPerPixel;
    [all...]
  /external/qemu/distrib/sdl-1.2.15/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.15/src/video/wincommon/
SDL_syswm.c 122 (icon->format->BitsPerPixel == icon_256->format->BitsPerPixel)){
134 icon_256->format->BitsPerPixel);
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
xorg_exa.c 813 int depth, int bitsPerPixel, int devKind,
827 __FUNCTION__, pPixmap, width, height, bitsPerPixel, devKind);
839 if (bitsPerPixel <= 0)
840 bitsPerPixel = pPixmap->drawable.bitsPerPixel;
852 bitsPerPixel, devKind, NULL);
868 exa_get_pipe_format(depth, &template.format, &bitsPerPixel, &priv->picture_format);
936 int depth, int bitsPerPixel)
945 exa_get_pipe_format(depth, &template.format, &bitsPerPixel, &dummy);
  /external/chromium_org/third_party/skia/src/views/unix/
SkOSWindow_Unix.cpp 388 int bitsPerPixel = bitmap.bytesPerPixel() * 8;
394 image.bitmap_unit = bitsPerPixel;
396 image.bitmap_pad = bitsPerPixel;
399 image.bits_per_pixel = bitsPerPixel;
  /external/mesa3d/src/gallium/state_trackers/xorg/
xorg_exa.c 813 int depth, int bitsPerPixel, int devKind,
827 __FUNCTION__, pPixmap, width, height, bitsPerPixel, devKind);
839 if (bitsPerPixel <= 0)
840 bitsPerPixel = pPixmap->drawable.bitsPerPixel;
852 bitsPerPixel, devKind, NULL);
868 exa_get_pipe_format(depth, &template.format, &bitsPerPixel, &priv->picture_format);
936 int depth, int bitsPerPixel)
945 exa_get_pipe_format(depth, &template.format, &bitsPerPixel, &dummy);
  /external/qemu/distrib/sdl-1.2.15/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]);

Completed in 1719 milliseconds

1 2 3 4 5 6