Home
last modified time | relevance | path

Searched refs:bmax (Results 1 – 6 of 6) sorted by relevance

/qemu/hw/input/
H A Dvirtio-input-hid.c60 int i, bit, byte, bmax = 0; in virtio_input_extend_config() local
71 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()
/qemu/ui/
H A Dqemu-pixman.c58 pf.bmax = (1 << pf.bbits) - 1; in qemu_pixelformat_from_pixman()
62 pf.bmask = pf.bmax << pf.bshift; in qemu_pixelformat_from_pixman()
H A Dvnc-enc-tight.c225 max[2] = vs->client_pf.bmax; \
624 max[2] = vs->client_pf.bmax; \
1248 color->blue = (pix >> vs->client_pf.bshift) & vs->client_pf.bmax; in write_png_palette()
1256 blue = (pix >> vs->client_pf.bshift) & vs->client_pf.bmax; in write_png_palette()
1261 color->blue = ((blue * 255 + vs->client_pf.bmax / 2) / in write_png_palette()
1262 vs->client_pf.bmax); in write_png_palette()
1653 vs->client_pf.bmax == 0xFF && vs->client_pf.gmax == 0xFF) { in tight_send_framebuffer_update()
H A Dvnc-enc-zrle.c309 (vs->client_pf.bmax << vs->client_pf.bshift) < (1 << 24)); in zrle_send_framebuffer_update()
H A Dvnc.c2271 vnc_write_u16(vs, (((i >> pf->bshift) & pf->bmax) << (16 - pf->bbits))); in send_color_map()
2310 vs->client_pf.bmax = blue_max ? blue_max : 0xFF; in set_pixel_format()
2345 vnc_write_u16(vs, vs->client_pf.bmax); /* blue-max */ in pixel_format_message()
/qemu/include/ui/
H A Dqemu-pixman.h68 uint8_t rmax, gmax, bmax, amax; member