Home
last modified time | relevance | path

Searched refs:bits_per_pixel (Results 1 – 25 of 38) sorted by relevance

12

/external/qemu/android/protocol/
Dfb-updates-impl.c66 int bits_per_pixel; member
83 uint8_t bits_per_pixel, uint8_t* pixels) in _update_rect() argument
88 const uint16_t src_line_size = w * ((bits_per_pixel + 7) / 8); in _update_rect()
146 (fbi->bits_per_pixel / 8); in _fbUpdatesImpl_io_callback()
163 fbi->update_header.h, fbi->bits_per_pixel, in _fbUpdatesImpl_io_callback()
197 fbi->bits_per_pixel = 0; in fbUpdatesImpl_create()
207 fbi->bits_per_pixel = strtol(bpp, &end, 0); in fbUpdatesImpl_create()
210 if (!fbi->bits_per_pixel) { in fbUpdatesImpl_create()
Dfb-updates-proxy.c345 return proxy_fb->ds->surface->pf.bits_per_pixel; in proxyFb_get_bits_per_pixel()
/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_ph_modes.c75 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()
DSDL_ph_video.c408 vformat->BitsPerPixel = desktop_mode.bits_per_pixel; in ph_VideoInit()
410 desktopbpp = desktop_mode.bits_per_pixel; in ph_VideoInit()
/external/jpeg/
Dwrbmp.c171 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()
Drdbmp.c63 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/android/
Dframebuffer.c82 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()
Ddisplay.c91 qf->bits_per_pixel, in android_display_init()
Dframebuffer.h51 int bits_per_pixel; /* bits per pixel */ member
/external/quake/quake/src/WinQuake/
Dvid_ext.cpp80 int bits_per_pixel; // er, better be 8, 15, 16, 24, or 32 (+25) member
464 modeinfo.bits_per_pixel = *(char*)(infobuf+25); in VID_ExtraGetModeInfo()
465 modeinfo.bytes_per_pixel = (modeinfo.bits_per_pixel+1)/8; in VID_ExtraGetModeInfo()
470 if ((modeinfo.bits_per_pixel != 8) || in VID_ExtraGetModeInfo()
534 modeinfo.bits_per_pixel = *(char*)(infobuf+25); in VID_ExtraGetModeInfo()
535 modeinfo.bytes_per_pixel = (modeinfo.bits_per_pixel+1)/8; in VID_ExtraGetModeInfo()
562 printf(" bits per pixel = %d\n", modeinfo.bits_per_pixel); in VID_ExtraGetModeInfo()
Dscreen.cpp530 char bits_per_pixel; member
564 pcx->bits_per_pixel = 8; // 256 color in WritePCXfile()
Dgl_warp.cpp409 char bits_per_pixel; member
447 || pcx->bits_per_pixel != 8 in LoadPCX()
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
DSDL_fbvideo.c321 &vinfo->xres_virtual, &vinfo->yres_virtual, &vinfo->bits_per_pixel); in read_fbmodes_mode()
379 vinfo->bits_per_pixel = (index+1)*8; in FB_CheckMode()
387 …got mode %dx%d at %d bpp\n", *w, *h, (index+1)*8, vinfo->xres, vinfo->yres, vinfo->bits_per_pixel); in FB_CheckMode()
389 if ( (((vinfo->bits_per_pixel+7)/8)-1) == index ) { in FB_CheckMode()
585 vformat->BitsPerPixel = vinfo.bits_per_pixel; in FB_VideoInit()
625 current_index = ((vinfo.bits_per_pixel+7)/8)-1; in FB_VideoInit()
759 fprintf(stderr, "\tbits_per_pixel: %d\n", vinfo->bits_per_pixel); in print_vinfo()
810 (!matched || (vinfo->bits_per_pixel == cinfo.bits_per_pixel)) ) { in choose_fbmodes_mode()
951 (vinfo.bits_per_pixel != bpp) || (flags & SDL_DOUBLEBUF) ) { in FB_SetVideoMode()
954 vinfo.bits_per_pixel = bpp; in FB_SetVideoMode()
[all …]
/external/qemu/
Dconsole.h128 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()
Dvnc.c1591 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()
Dvnc-android.c1597 switch (vs->ds->surface->pf.bits_per_pixel) { in set_pixel_conversion()
1610 switch (vs->ds->surface->pf.bits_per_pixel) { in set_pixel_conversion()
1625 int bits_per_pixel, int depth, in set_pixel_format() argument
1648 vs->clientds.pf.bits_per_pixel = bits_per_pixel; in set_pixel_format()
1649 vs->clientds.pf.bytes_per_pixel = bits_per_pixel / 8; in set_pixel_format()
1650 vs->clientds.pf.depth = bits_per_pixel == 32 ? 24 : bits_per_pixel; in set_pixel_format()
1662 vnc_write_u8(vs, vs->ds->surface->pf.bits_per_pixel); /* bits-per-pixel */ in pixel_format_message()
1677 if (vs->ds->surface->pf.bits_per_pixel == 32) in pixel_format_message()
1679 else if (vs->ds->surface->pf.bits_per_pixel == 16) in pixel_format_message()
1681 else if (vs->ds->surface->pf.bits_per_pixel == 8) in pixel_format_message()
/external/qemu/hw/
Dgoldfish_fb.c168 printf(" bits/pixel: %d\n", pf->bits_per_pixel); in goldfish_fb_get_pixel_format()
185 if (pf->bits_per_pixel == fbc->bits && in goldfish_fb_get_pixel_format()
200 pf->bits_per_pixel); in goldfish_fb_get_pixel_format()
/external/quake/quake/src/QW/client/
Dskin.c143 || pcx->bits_per_pixel != 8 in Skin_Cache()
Dclient.h495 char bits_per_pixel; member
Dgl_warp.c360 char bits_per_pixel; member
398 || pcx->bits_per_pixel != 8 in LoadPCX()
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/
DXvlib.h130 int bits_per_pixel; member
/external/opencv/otherlibs/highgui/
Dhighgui.h342 virtual bool Create( int width, int height, int bits_per_pixel, int image_origin = 0 );
/external/skia/src/utils/unix/
DSkOSWindow_Unix.cpp249 image.bits_per_pixel = bitsPerPixel; in convertBitmapToXImage()
/external/libpng/contrib/gregbook/
Drpng2-x.c1295 int bpp = ximage->bits_per_pixel; in rpng2_x_load_bg_image()
1420 int bpp = ximage->bits_per_pixel; in rpng2_x_display_row()
1626 Trace((stderr, " (bpp = %d)\n", ximage->bits_per_pixel)) in rpng2_x_redisplay_image()
1640 int bpp = ximage->bits_per_pixel; in rpng2_x_redisplay_image()
/external/grub/stage2/
Dshared.h465 unsigned char bits_per_pixel; member

12