Home
last modified time | relevance | path

Searched refs:gmax (Results 1 – 5 of 5) sorted by relevance

/qemu/ui/
A Dqemu-pixman.c58 pf.gmax = (1 << pf.gbits) - 1; in qemu_pixelformat_from_pixman()
62 pf.gmask = pf.gmax << pf.gshift; in qemu_pixelformat_from_pixman()
A Dvnc-enc-zrle.c286 if (vs->client_pf.gmax > 0x1F) { in zrle_send_framebuffer_update()
308 (vs->client_pf.gmax << vs->client_pf.gshift) < (1 << 24) && in zrle_send_framebuffer_update()
A Dvnc-enc-tight.c224 max[1] = vs->client_pf.gmax; \
623 max[1] = vs->client_pf.gmax; \
1247 color->green = (pix >> vs->client_pf.gshift) & vs->client_pf.gmax; in write_png_palette()
1255 green = (pix >> vs->client_pf.gshift) & vs->client_pf.gmax; in write_png_palette()
1259 color->green = ((green * 255 + vs->client_pf.gmax / 2) / in write_png_palette()
1260 vs->client_pf.gmax); in write_png_palette()
1653 vs->client_pf.bmax == 0xFF && vs->client_pf.gmax == 0xFF) { in tight_send_framebuffer_update()
A Dvnc.c2270 vnc_write_u16(vs, (((i >> pf->gshift) & pf->gmax) << (16 - pf->gbits))); in send_color_map()
2306 vs->client_pf.gmax = green_max ? green_max : 0xFF; in set_pixel_format()
2344 vnc_write_u16(vs, vs->client_pf.gmax); /* green-max */ in pixel_format_message()
/qemu/include/ui/
A Dqemu-pixman.h70 uint8_t rmax, gmax, bmax, amax; member

Completed in 19 milliseconds