Searched refs:gshift (Results 1 – 5 of 5) sorted by relevance
| /openbmc/qemu/ui/ |
| H A D | qemu-pixman.c | 31 pf.gshift = pf.bbits; in qemu_pixelformat_from_pixman() 37 pf.gshift = pf.rbits; in qemu_pixelformat_from_pixman() 42 pf.gshift = bpp - (pf.bbits + pf.gbits); in qemu_pixelformat_from_pixman() 48 pf.gshift = bpp - (pf.rbits + pf.gbits); in qemu_pixelformat_from_pixman() 62 pf.gmask = pf.gmax << pf.gshift; in qemu_pixelformat_from_pixman() 129 int qemu_pixman_get_type(int rshift, int gshift, int bshift, int endian) in qemu_pixman_get_type() argument 134 if (rshift > gshift && gshift > bshift) { in qemu_pixman_get_type() 140 } else if (rshift < gshift && gshift < bshif in qemu_pixman_get_type() [all...] |
| H A D | vnc-enc-tight.c | 228 shift[1] = vs->client_pf.gshift; \ 570 shift[1] = vs->client_pf.gshift; in tight_filter_gradient24() 574 shift[1] = 24 - vs->client_pf.gshift; in tight_filter_gradient24() 631 shift[1] = vs->client_pf.gshift; \ 895 int rshift, gshift, bshift; in tight_pack24() local 901 gshift = vs->client_pf.gshift; in tight_pack24() 905 gshift = 24 - vs->client_pf.gshift; in tight_pack24() 916 *buf++ = (char)(pix >> gshift); in tight_pack24() 1270 color->green = (pix >> vs->client_pf.gshift) & vs->client_pf.gmax; in write_png_palette() 1278 green = (pix >> vs->client_pf.gshift) & vs->client_pf.gmax; in write_png_palette()
|
| H A D | vnc-enc-zrle.c | 308 (vs->client_pf.gmax << vs->client_pf.gshift) < (1 << 24) && in zrle_send_framebuffer_update() 312 vs->client_pf.gshift > 7 && in zrle_send_framebuffer_update()
|
| H A D | vnc.c | 891 (g << vs->client_pf.gshift) | in vnc_convert_pixel() 2268 vnc_write_u16(vs, (((i >> pf->gshift) & pf->gmax) << (16 - pf->gbits))); in send_color_map() 2306 vs->client_pf.gshift = green_shift; in set_pixel_format() 2328 vs->client_pf.gshift, in set_pixel_format() 2365 vnc_write_u8(vs, vs->client_pf.gshift); /* green-shift */ in pixel_format_message()
|
| /openbmc/qemu/include/ui/ |
| H A D | qemu-pixman.h | 69 uint8_t rshift, gshift, bshift, ashift; member 78 int qemu_pixman_get_type(int rshift, int gshift, int bshift, int endian);
|