Searched refs:gmax (Results 1 – 5 of 5) sorted by relevance
58 pf.gmax = (1 << pf.gbits) - 1; in qemu_pixelformat_from_pixman()62 pf.gmask = pf.gmax << pf.gshift; in qemu_pixelformat_from_pixman()
286 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()
224 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()
2270 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()
70 uint8_t rmax, gmax, bmax, amax; member
Completed in 19 milliseconds