/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
D | SDL_ph_modes.c | 75 mode_info.bits_per_pixel = 0; in ph_ListModes() 84 if(mode_info.bits_per_pixel == format->BitsPerPixel) in ph_ListModes() 141 (mode_info.bits_per_pixel == bpp)) in ph_GetVideoMode() 148 (mode_info.bits_per_pixel == bpp)) in ph_GetVideoMode() 194 if (mode_info.bits_per_pixel == bpp) in get_mode_any_format() 199 min_delta = abs(mode_info.bits_per_pixel - bpp); in get_mode_any_format() 214 if (mode_info.bits_per_pixel == bpp) in get_mode_any_format() 221 delta = abs(mode_info.bits_per_pixel - bpp); in get_mode_any_format()
|
/external/chromium_org/ui/gfx/android/ |
D | shared_device_display_info.cc | 21 jint bits_per_pixel, in UpdateSharedDeviceDisplayInfo() argument 29 bits_per_pixel, bits_per_component, in UpdateSharedDeviceDisplayInfo() 100 jint bits_per_pixel, in InvokeUpdate() argument 110 bits_per_pixel, bits_per_component, dip_scale, in InvokeUpdate() 147 jint bits_per_pixel, in UpdateDisplayInfo() argument 156 bits_per_pixel_ = static_cast<int>(bits_per_pixel); in UpdateDisplayInfo()
|
D | shared_device_display_info.h | 41 jint bits_per_pixel, 57 jint bits_per_pixel,
|
/external/jpeg/ |
D | wrbmp.c | 171 int bits_per_pixel, cmap_entries; in write_bmp_header() local 177 bits_per_pixel = 8; in write_bmp_header() 181 bits_per_pixel = 24; in write_bmp_header() 186 bits_per_pixel = 8; in write_bmp_header() 209 PUT_2B(bmpinfoheader, 14, bits_per_pixel); /* biBitCount */ in write_bmp_header() 236 int bits_per_pixel, cmap_entries; in write_os2_header() local 242 bits_per_pixel = 8; in write_os2_header() 246 bits_per_pixel = 24; in write_os2_header() 251 bits_per_pixel = 8; in write_os2_header() 274 PUT_2B(bmpcoreheader, 10, bits_per_pixel); /* bcBitCount */ in write_os2_header()
|
D | rdbmp.c | 63 int bits_per_pixel; /* remembers 8- or 24-bit format */ member 219 switch (source->bits_per_pixel) { in preload_image() 289 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,10); in start_input_bmp() 291 switch (source->bits_per_pixel) { in start_input_bmp() 313 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,14); in start_input_bmp() 320 switch (source->bits_per_pixel) { in start_input_bmp() 376 if (source->bits_per_pixel == 24) in start_input_bmp()
|
/external/qemu/distrib/jpeg-6b/ |
D | wrbmp.c | 171 int bits_per_pixel, cmap_entries; in write_bmp_header() local 177 bits_per_pixel = 8; in write_bmp_header() 181 bits_per_pixel = 24; in write_bmp_header() 186 bits_per_pixel = 8; in write_bmp_header() 209 PUT_2B(bmpinfoheader, 14, bits_per_pixel); /* biBitCount */ in write_bmp_header() 236 int bits_per_pixel, cmap_entries; in write_os2_header() local 242 bits_per_pixel = 8; in write_os2_header() 246 bits_per_pixel = 24; in write_os2_header() 251 bits_per_pixel = 8; in write_os2_header() 274 PUT_2B(bmpcoreheader, 10, bits_per_pixel); /* bcBitCount */ in write_os2_header()
|
D | rdbmp.c | 63 int bits_per_pixel; /* remembers 8- or 24-bit format */ member 219 switch (source->bits_per_pixel) { in preload_image() 289 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,10); in start_input_bmp() 291 switch (source->bits_per_pixel) { in start_input_bmp() 313 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,14); in start_input_bmp() 320 switch (source->bits_per_pixel) { in start_input_bmp() 376 if (source->bits_per_pixel == 24) in start_input_bmp()
|
/external/chromium_org/ui/gfx/x/ |
D | x11_types.cc | 52 int bits_per_pixel = -1; in BitsPerPixelForPixmapDepth() local 55 bits_per_pixel = formats[i].bits_per_pixel; in BitsPerPixelForPixmapDepth() 61 return bits_per_pixel; in BitsPerPixelForPixmapDepth() 86 image.bits_per_pixel = pixmap_bpp; in PutARGBImage()
|
/external/qemu/android/ |
D | framebuffer.c | 82 int pitch, bytes_per_pixel, bits_per_pixel; in qframebuffer_init() local 93 bits_per_pixel = _get_bits_per_pixel(format); in qframebuffer_init() 94 if (bits_per_pixel < 0) in qframebuffer_init() 117 qfbuff->bits_per_pixel = bits_per_pixel; in qframebuffer_init()
|
D | display.c | 91 qf->bits_per_pixel, in android_display_init()
|
D | framebuffer.h | 51 int bits_per_pixel; /* bits per pixel */ member
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/x11/ |
D | x_server_pixel_buffer.cc | 52 return image->bits_per_pixel == 32 && in IsXImageRGBFormat() 252 rect.left() * x_image_->bits_per_pixel / 8; in CaptureRect() 302 int bits_per_pixel = x_image_->bits_per_pixel; in SlowBlit() local 318 if (bits_per_pixel == 32) { in SlowBlit() 320 } else if (bits_per_pixel == 16) { in SlowBlit()
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
D | SDL_fbvideo.c | 333 &vinfo->xres_virtual, &vinfo->yres_virtual, &vinfo->bits_per_pixel); in read_fbmodes_mode() 391 vinfo->bits_per_pixel = (index+1)*8; in FB_CheckMode() 399 …got mode %dx%d at %d bpp\n", *w, *h, (index+1)*8, vinfo->xres, vinfo->yres, vinfo->bits_per_pixel); in FB_CheckMode() 401 if ( (((vinfo->bits_per_pixel+7)/8)-1) == index ) { in FB_CheckMode() 598 vformat->BitsPerPixel = vinfo.bits_per_pixel; in FB_VideoInit() 684 current_index = ((vinfo.bits_per_pixel+7)/8)-1; in FB_VideoInit() 836 fprintf(stderr, "\tbits_per_pixel: %d\n", vinfo->bits_per_pixel); in print_vinfo() 887 (!matched || (vinfo->bits_per_pixel == cinfo.bits_per_pixel)) ) { in choose_fbmodes_mode() 1033 (vinfo.bits_per_pixel != bpp) || (flags & SDL_DOUBLEBUF) ) { in FB_SetVideoMode() 1036 vinfo.bits_per_pixel = bpp; in FB_SetVideoMode() [all …]
|
/external/chromium_org/chrome/utility/cloud_print/ |
D | pwg_encoder.cc | 98 uint32 bits_per_pixel = num_colors * kBitsPerColor; in EncodePageHeader() local 113 bits_per_pixel); in EncodePageHeader() 115 (bits_per_pixel * image.size().width() + 7) / 8); in EncodePageHeader()
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
D | window_capturer_mac.mm | 195 int bits_per_pixel = CGImageGetBitsPerPixel(window_image); 196 if (bits_per_pixel != 32) { 197 LOG(LS_ERROR) << "Unsupported window image depth: " << bits_per_pixel;
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/ |
D | SDL_ps3video.c | 201 fb_bits_per_pixel = fb_vinfo.bits_per_pixel; in PS3_VideoInit() 208 vformat->BitsPerPixel = fb_vinfo.bits_per_pixel; in PS3_VideoInit() 222 s_fb_pixel_size = fb_vinfo.bits_per_pixel / 8; in PS3_VideoInit()
|
/external/qemu/include/ui/ |
D | console.h | 128 uint8_t bits_per_pixel; member 256 if (surface->pf.bits_per_pixel == 32 && surface->pf.rshift == 0) in is_surface_bgr() 412 return ds->surface->pf.bits_per_pixel; in ds_get_bits_per_pixel()
|
/external/qemu/ui/ |
D | vnc.c | 1591 switch (vs->ds->surface->pf.bits_per_pixel) { in set_pixel_conversion() 1604 switch (vs->ds->surface->pf.bits_per_pixel) { in set_pixel_conversion() 1619 int bits_per_pixel, int depth, in set_pixel_format() argument 1642 vs->clientds.pf.bits_per_pixel = bits_per_pixel; in set_pixel_format() 1643 vs->clientds.pf.bytes_per_pixel = bits_per_pixel / 8; in set_pixel_format() 1644 vs->clientds.pf.depth = bits_per_pixel == 32 ? 24 : bits_per_pixel; in set_pixel_format() 1656 vnc_write_u8(vs, vs->ds->surface->pf.bits_per_pixel); /* bits-per-pixel */ in pixel_format_message() 1671 if (vs->ds->surface->pf.bits_per_pixel == 32) in pixel_format_message() 1673 else if (vs->ds->surface->pf.bits_per_pixel == 16) in pixel_format_message() 1675 else if (vs->ds->surface->pf.bits_per_pixel == 8) in pixel_format_message()
|
D | vnc-android.c | 1598 switch (vs->ds->surface->pf.bits_per_pixel) { in set_pixel_conversion() 1611 switch (vs->ds->surface->pf.bits_per_pixel) { in set_pixel_conversion() 1626 int bits_per_pixel, int depth, in set_pixel_format() argument 1649 vs->clientds.pf.bits_per_pixel = bits_per_pixel; in set_pixel_format() 1650 vs->clientds.pf.bytes_per_pixel = bits_per_pixel / 8; in set_pixel_format() 1651 vs->clientds.pf.depth = bits_per_pixel == 32 ? 24 : bits_per_pixel; in set_pixel_format() 1663 vnc_write_u8(vs, vs->ds->surface->pf.bits_per_pixel); /* bits-per-pixel */ in pixel_format_message() 1678 if (vs->ds->surface->pf.bits_per_pixel == 32) in pixel_format_message() 1680 else if (vs->ds->surface->pf.bits_per_pixel == 16) in pixel_format_message() 1682 else if (vs->ds->surface->pf.bits_per_pixel == 8) in pixel_format_message()
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
D | drisw_glx.c | 111 if (pdp->ximage->bits_per_pixel == 24) in XCreateDrawable() 112 pdp->ximage->bits_per_pixel = 32; in XCreateDrawable() 202 ximage->bytes_per_line = bytes_per_line(w * ximage->bits_per_pixel, 32); in swrastPutImage() 226 ximage->bytes_per_line = bytes_per_line(w * ximage->bits_per_pixel, 32); in swrastGetImage()
|
/external/mesa3d/src/glx/ |
D | drisw_glx.c | 111 if (pdp->ximage->bits_per_pixel == 24) in XCreateDrawable() 112 pdp->ximage->bits_per_pixel = 32; in XCreateDrawable() 202 ximage->bytes_per_line = bytes_per_line(w * ximage->bits_per_pixel, 32); in swrastPutImage() 226 ximage->bytes_per_line = bytes_per_line(w * ximage->bits_per_pixel, 32); in swrastGetImage()
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
D | xm_api.c | 165 bits_per_pixel( XMesaVisual xmv ) in bits_per_pixel() function 181 bitsPerPixel = img->bits_per_pixel; in bits_per_pixel() 568 v->BitsPerPixel = bits_per_pixel(v); in initialize_visual_and_buffer() 1719 if (img->bits_per_pixel == 32) { in XMesaBindTexImage() 1724 else if (img->bits_per_pixel == 24) { in XMesaBindTexImage() 1729 else if (img->bits_per_pixel == 16) { in XMesaBindTexImage()
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_api.c | 165 bits_per_pixel( XMesaVisual xmv ) in bits_per_pixel() function 181 bitsPerPixel = img->bits_per_pixel; in bits_per_pixel() 568 v->BitsPerPixel = bits_per_pixel(v); in initialize_visual_and_buffer() 1719 if (img->bits_per_pixel == 32) { in XMesaBindTexImage() 1724 else if (img->bits_per_pixel == 24) { in XMesaBindTexImage() 1729 else if (img->bits_per_pixel == 16) { in XMesaBindTexImage()
|
/external/qemu/hw/android/goldfish/ |
D | fb.c | 170 printf(" bits/pixel: %d\n", pf->bits_per_pixel); in goldfish_fb_get_pixel_format() 187 if (pf->bits_per_pixel == fbc->bits && in goldfish_fb_get_pixel_format() 202 pf->bits_per_pixel); in goldfish_fb_get_pixel_format()
|
/external/chromium_org/content/browser/compositor/ |
D | software_output_device_x11.cc | 71 image.bits_per_pixel = 32; in EndPaint()
|