Searched refs:bmax (Results 1 – 6 of 6) sorted by relevance
60 int i, bit, byte, bmax = 0; in virtio_input_extend_config() local71 if (bmax < byte+1) { in virtio_input_extend_config()72 bmax = byte+1; in virtio_input_extend_config()77 ext.size = bmax; in virtio_input_extend_config()
59 pf.bmax = (1 << pf.bbits) - 1; in qemu_pixelformat_from_pixman() 63 pf.bmask = pf.bmax << pf.bshift; in qemu_pixelformat_from_pixman()
226 max[2] = vs->client_pf.bmax; \629 max[2] = vs->client_pf.bmax; \1271 color->blue = (pix >> vs->client_pf.bshift) & vs->client_pf.bmax; in write_png_palette()1279 blue = (pix >> vs->client_pf.bshift) & vs->client_pf.bmax; in write_png_palette()1284 color->blue = ((blue * 255 + vs->client_pf.bmax / 2) / in write_png_palette()1285 vs->client_pf.bmax); in write_png_palette()1685 vs->client_pf.bmax == 0xFF && vs->client_pf.gmax == 0xFF) { in tight_send_framebuffer_update()
309 (vs->client_pf.bmax << vs->client_pf.bshift) < (1 << 24)); in zrle_send_framebuffer_update()
2269 vnc_write_u16(vs, (((i >> pf->bshift) & pf->bmax) << (16 - pf->bbits))); in send_color_map() 2308 vs->client_pf.bmax = blue_max ? blue_max : 0xFF; in set_pixel_format() 2331 vs->client_pf.bmax, in set_pixel_format() 2363 vnc_write_u16(vs, vs->client_pf.bmax); /* blue-max */ in pixel_format_message()
70 uint8_t rmax, gmax, bmax, amax; member