Searched refs:bits_per_pixel (Results 1 - 25 of 28) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.12/src/video/photon/
H A DSDL_ph_modes.c75 mode_info.bits_per_pixel = 0;
84 if(mode_info.bits_per_pixel == format->BitsPerPixel)
141 (mode_info.bits_per_pixel == bpp))
148 (mode_info.bits_per_pixel == bpp))
194 if (mode_info.bits_per_pixel == bpp)
199 min_delta = abs(mode_info.bits_per_pixel - bpp);
214 if (mode_info.bits_per_pixel == bpp)
221 delta = abs(mode_info.bits_per_pixel - bpp);
H A DSDL_ph_video.c408 vformat->BitsPerPixel = desktop_mode.bits_per_pixel;
410 desktopbpp = desktop_mode.bits_per_pixel;
/external/jpeg/
H A Dwrbmp.c171 int bits_per_pixel, cmap_entries; local
177 bits_per_pixel = 8;
181 bits_per_pixel = 24;
186 bits_per_pixel = 8;
209 PUT_2B(bmpinfoheader, 14, bits_per_pixel); /* biBitCount */
236 int bits_per_pixel, cmap_entries; local
242 bits_per_pixel = 8;
246 bits_per_pixel = 24;
251 bits_per_pixel = 8;
274 PUT_2B(bmpcoreheader, 10, bits_per_pixel); /* bcBitCoun
[all...]
H A Drdbmp.c63 int bits_per_pixel; /* remembers 8- or 24-bit format */ member in struct:_bmp_source_struct
219 switch (source->bits_per_pixel) {
289 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,10);
291 switch (source->bits_per_pixel) {
313 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,14);
320 switch (source->bits_per_pixel) {
376 if (source->bits_per_pixel == 24)
/external/quake/quake/src/WinQuake/
H A Dvid_ext.cpp80 int bits_per_pixel; // er, better be 8, 15, 16, 24, or 32 (+25) member in struct:__anon5653
464 modeinfo.bits_per_pixel = *(char*)(infobuf+25);
465 modeinfo.bytes_per_pixel = (modeinfo.bits_per_pixel+1)/8;
470 if ((modeinfo.bits_per_pixel != 8) ||
534 modeinfo.bits_per_pixel = *(char*)(infobuf+25);
535 modeinfo.bytes_per_pixel = (modeinfo.bits_per_pixel+1)/8;
562 printf(" bits per pixel = %d\n", modeinfo.bits_per_pixel);
H A Dscreen.cpp530 char bits_per_pixel; member in struct:__anon5628
564 pcx->bits_per_pixel = 8; // 256 color
H A Dgl_warp.cpp409 char bits_per_pixel; member in struct:__anon5496
447 || pcx->bits_per_pixel != 8
/external/qemu/
H A Dconsole.h85 uint8_t bits_per_pixel; member in struct:PixelFormat
172 if (surface->pf.bits_per_pixel == 32 && surface->pf.rshift == 0)
276 return ds->surface->pf.bits_per_pixel;
H A Dvnc-android.c1597 switch (vs->ds->surface->pf.bits_per_pixel) {
1610 switch (vs->ds->surface->pf.bits_per_pixel) {
1625 int bits_per_pixel, int depth,
1648 vs->clientds.pf.bits_per_pixel = bits_per_pixel;
1649 vs->clientds.pf.bytes_per_pixel = bits_per_pixel / 8;
1650 vs->clientds.pf.depth = bits_per_pixel == 32 ? 24 : bits_per_pixel;
1662 vnc_write_u8(vs, vs->ds->surface->pf.bits_per_pixel); /* bits-per-pixel */
1677 if (vs->ds->surface->pf.bits_per_pixel
1624 set_pixel_format(VncState *vs, int bits_per_pixel, int depth, int big_endian_flag, int true_color_flag, int red_max, int green_max, int blue_max, int red_shift, int green_shift, int blue_shift) argument
[all...]
H A Dvnc.c1591 switch (vs->ds->surface->pf.bits_per_pixel) {
1604 switch (vs->ds->surface->pf.bits_per_pixel) {
1619 int bits_per_pixel, int depth,
1642 vs->clientds.pf.bits_per_pixel = bits_per_pixel;
1643 vs->clientds.pf.bytes_per_pixel = bits_per_pixel / 8;
1644 vs->clientds.pf.depth = bits_per_pixel == 32 ? 24 : bits_per_pixel;
1656 vnc_write_u8(vs, vs->ds->surface->pf.bits_per_pixel); /* bits-per-pixel */
1671 if (vs->ds->surface->pf.bits_per_pixel
1618 set_pixel_format(VncState *vs, int bits_per_pixel, int depth, int big_endian_flag, int true_color_flag, int red_max, int green_max, int blue_max, int red_shift, int green_shift, int blue_shift) argument
[all...]
H A Dconsole.c1450 pf.bits_per_pixel = bpp;
1499 pf.bits_per_pixel = bpp;
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
H A DSDL_fbvideo.c321 &vinfo->xres_virtual, &vinfo->yres_virtual, &vinfo->bits_per_pixel);
379 vinfo->bits_per_pixel = (index+1)*8;
387 fprintf(stderr, "Checked mode %dx%d at %d bpp, got mode %dx%d at %d bpp\n", *w, *h, (index+1)*8, vinfo->xres, vinfo->yres, vinfo->bits_per_pixel);
389 if ( (((vinfo->bits_per_pixel+7)/8)-1) == index ) {
585 vformat->BitsPerPixel = vinfo.bits_per_pixel;
625 current_index = ((vinfo.bits_per_pixel+7)/8)-1;
759 fprintf(stderr, "\tbits_per_pixel: %d\n", vinfo->bits_per_pixel);
810 (!matched || (vinfo->bits_per_pixel == cinfo.bits_per_pixel)) ) {
951 (vinfo.bits_per_pixel !
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/
H A DXvlib.h130 int bits_per_pixel; member in struct:__anon4494
/external/quake/quake/src/QW/client/
H A Dclient.h495 char bits_per_pixel; member in struct:__anon5092
H A Dskin.c143 || pcx->bits_per_pixel != 8
H A Dgl_warp.c360 char bits_per_pixel; member in struct:__anon5135
398 || pcx->bits_per_pixel != 8
H A Dscreen.c607 pcx->bits_per_pixel = 8; // 256 color
H A Dgl_screen.c698 pcx->bits_per_pixel = 8; // 256 color
/external/libpng/contrib/gregbook/
H A Drpng2-x.c1295 int bpp = ximage->bits_per_pixel;
1420 int bpp = ximage->bits_per_pixel;
1626 Trace((stderr, " (bpp = %d)\n", ximage->bits_per_pixel))
1640 int bpp = ximage->bits_per_pixel;
H A Drpng-x.c694 /* int bpp = ximage->bits_per_pixel; */
701 Trace((stderr, " (bpp = %d)\n", ximage->bits_per_pixel))
/external/grub/stage2/
H A Dshared.h465 unsigned char bits_per_pixel; member in struct:vbe_mode
/external/kernel-headers/original/linux/
H A Dfb.h160 * inside a "pixel" value, which is exactly 'bits_per_pixel' wide (means: you
163 * big-endian byte order if bits_per_pixel is greater than 8.
224 __u32 bits_per_pixel; /* guess what */ member in struct:fb_var_screeninfo
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xv/
H A DXv.c902 ret[i].bits_per_pixel = Info.bpp;
/external/qemu/distrib/sdl-1.2.12/src/video/dga/
H A DSDL_dgavideo.c388 vformat->BitsPerPixel = pix_format[i].bits_per_pixel;
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
H A DSDL_x11modes.c800 this->hidden->visuals[i].bpp = j < np ? pf[j].bits_per_pixel : d;

Completed in 1828 milliseconds

12