HomeSort by relevance Sort by last modified time
    Searched refs:bitsPerPixel (Results 1 - 25 of 59) sorted by null

1 2 3

  /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;
  /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...]
  /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);
  /frameworks/native/libs/ui/
PixelFormat.cpp 42 ssize_t bitsPerPixel(PixelFormat format) {
  /frameworks/native/include/ui/
PixelFormat.h 73 ssize_t bitsPerPixel(PixelFormat format);
  /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/chromium_org/ui/android/java/src/org/chromium/ui/gfx/
DeviceDisplayInfo.java 98 return info.bitsPerPixel;
211 int bitsPerPixel, int bitsPerComponent, double dipScale,
  /system/core/include/pixelflinger/
format.h 106 uint8_t bitsPerPixel;
  /external/chromium_org/third_party/skia/src/views/unix/
SkOSWindow_Unix.cpp 378 int bitsPerPixel = bitmap.bytesPerPixel() * 8;
384 image.bitmap_unit = bitsPerPixel;
386 image.bitmap_pad = bitsPerPixel;
389 image.bits_per_pixel = bitsPerPixel;
  /external/skia/src/views/unix/
SkOSWindow_Unix.cpp 378 int bitsPerPixel = bitmap.bytesPerPixel() * 8;
384 image.bitmap_unit = bitsPerPixel;
386 image.bitmap_pad = bitsPerPixel;
389 image.bits_per_pixel = 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);
xorg_driver.c 205 !cust->winsys_check_fb_size(cust, width*pScrn->bitsPerPixel / 8,
210 width, height, pScrn->bitsPerPixel);
225 pScrn->displayWidth = rootPixmap->devKind / (rootPixmap->drawable.bitsPerPixel / 8);
253 pScrn->displayWidth = rootPixmap->devKind / (rootPixmap->drawable.bitsPerPixel / 8);
781 pScrn->displayWidth, pScrn->bitsPerPixel))
784 if (pScrn->bitsPerPixel > 8) {
1089 pScrn->depth, pScrn->bitsPerPixel);
1104 pScrn->bitsPerPixel,
1216 pScrn->bitsPerPixel,
1261 pScrn->bitsPerPixel,
    [all...]
xorg_output.c 202 output->scrn->bitsPerPixel / 8,
  /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);
xorg_driver.c 205 !cust->winsys_check_fb_size(cust, width*pScrn->bitsPerPixel / 8,
210 width, height, pScrn->bitsPerPixel);
225 pScrn->displayWidth = rootPixmap->devKind / (rootPixmap->drawable.bitsPerPixel / 8);
253 pScrn->displayWidth = rootPixmap->devKind / (rootPixmap->drawable.bitsPerPixel / 8);
781 pScrn->displayWidth, pScrn->bitsPerPixel))
784 if (pScrn->bitsPerPixel > 8) {
1089 pScrn->depth, pScrn->bitsPerPixel);
1104 pScrn->bitsPerPixel,
1216 pScrn->bitsPerPixel,
1261 pScrn->bitsPerPixel,
    [all...]
xorg_output.c 202 output->scrn->bitsPerPixel / 8,
  /external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
xf86dga.h 75 int bitsPerPixel;
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
mp4lib_int.h 103 uint bitsPerPixel;
  /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/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/include/
svga_reg.h 307 uint32 bitsPerPixel : 8;
    [all...]
  /external/mesa3d/src/gallium/drivers/svga/include/
svga_reg.h 307 uint32 bitsPerPixel : 8;
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/quartz/
SDL_QuartzWM.m 52 imgrep = [ [ [ NSBitmapImageRep alloc ] initWithBitmapDataPlanes: NULL pixelsWide: w pixelsHigh: h bitsPerSample: 1 samplesPerPixel: 2 hasAlpha: YES isPlanar: YES colorSpaceName: NSDeviceWhiteColorSpace bytesPerRow: (w+7)/8 bitsPerPixel: 0 ] autorelease ];
425 imgrep = [ [ [ NSBitmapImageRep alloc ] initWithBitmapDataPlanes: NULL pixelsWide: icon->w pixelsHigh: icon->h bitsPerSample: 8 samplesPerPixel: 4 hasAlpha: YES isPlanar: NO colorSpaceName: NSDeviceRGBColorSpace bytesPerRow: 4*icon->w bitsPerPixel: 32 ] autorelease ];
  /cts/tests/tests/hardware/src/android/hardware/cts/
CameraTest.java 240 int bitsPerPixel = ImageFormat.getBitsPerPixel(format);
242 format, bitsPerPixel) != data.length) {
244 + ". height=" + size.height + ". bitsPerPixel=" + bitsPerPixel);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/
xm_api.c 219 int bitsPerPixel;
230 bitsPerPixel = img->bits_per_pixel;
235 return bitsPerPixel;
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)
    [all...]
  /external/mesa3d/src/gallium/state_trackers/glx/xlib/
xm_api.c 219 int bitsPerPixel;
230 bitsPerPixel = img->bits_per_pixel;
235 return bitsPerPixel;
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)
    [all...]

Completed in 862 milliseconds

1 2 3