Home
last modified time | relevance | path

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

/openbmc/qemu/ui/
H A Dqemu-pixman.c57 pf.rmax = (1 << pf.rbits) - 1; in qemu_pixelformat_from_pixman()
61 pf.rmask = pf.rmax << pf.rshift; in qemu_pixelformat_from_pixman()
H A Dvnc-enc-tight.c224 max[0] = vs->client_pf.rmax; \
627 max[0] = vs->client_pf.rmax; \
1269 color->red = (pix >> vs->client_pf.rshift) & vs->client_pf.rmax; in write_png_palette()
1277 red = (pix >> vs->client_pf.rshift) & vs->client_pf.rmax; in write_png_palette()
1280 color->red = ((red * 255 + vs->client_pf.rmax / 2) / in write_png_palette()
1281 vs->client_pf.rmax); in write_png_palette()
1684 if (vs->client_pf.bytes_per_pixel == 4 && vs->client_pf.rmax == 0xFF && in tight_send_framebuffer_update()
H A Dvnc-enc-zrle.c307 ((vs->client_pf.rmax << vs->client_pf.rshift) < (1 << 24) && in zrle_send_framebuffer_update()
H A Dvnc.c2267 vnc_write_u16(vs, (((i >> pf->rshift) & pf->rmax) << (16 - pf->rbits))); in send_color_map()
2300 vs->client_pf.rmax = red_max ? red_max : 0xFF; in set_pixel_format()
2321 vs->client_pf.rmax, in set_pixel_format()
2361 vnc_write_u16(vs, vs->client_pf.rmax); /* red-max */ in pixel_format_message()
/openbmc/qemu/include/ui/
H A Dqemu-pixman.h70 uint8_t rmax, gmax, bmax, amax; member
/openbmc/qemu/target/arm/
H A Dhelper.c2514 int rmax = MIN(cpu->pmsav8r_hdregion, 32); in hprenr_write() local
2515 value &= MAKE_64BIT_MASK(0, rmax); in hprenr_write()
2520 for (n = 0; n < rmax; ++n) { in hprenr_write()