Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/qemu/ui/
H A Dqemu-pixman.c59 pf.bmax = (1 << pf.bbits) - 1; in qemu_pixelformat_from_pixman()
63 pf.bmask = pf.bmax << pf.bshift; in qemu_pixelformat_from_pixman()
H A Dvnc-enc-tight.c226 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()
H A Dvnc-enc-zrle.c309 (vs->client_pf.bmax << vs->client_pf.bshift) < (1 << 24)); in zrle_send_framebuffer_update()
H A Dvnc.c2269 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()
/openbmc/qemu/include/ui/
H A Dqemu-pixman.h70 uint8_t rmax, gmax, bmax, amax; member