Searched refs:rmax (Results 1 – 6 of 6) sorted by relevance
57 pf.rmax = (1 << pf.rbits) - 1; in qemu_pixelformat_from_pixman()61 pf.rmask = pf.rmax << pf.rshift; in qemu_pixelformat_from_pixman()
223 max[0] = vs->client_pf.rmax; \622 max[0] = vs->client_pf.rmax; \1246 color->red = (pix >> vs->client_pf.rshift) & vs->client_pf.rmax; in write_png_palette()1254 red = (pix >> vs->client_pf.rshift) & vs->client_pf.rmax; in write_png_palette()1257 color->red = ((red * 255 + vs->client_pf.rmax / 2) / in write_png_palette()1258 vs->client_pf.rmax); in write_png_palette()1652 if (vs->client_pf.bytes_per_pixel == 4 && vs->client_pf.rmax == 0xFF && in tight_send_framebuffer_update()
307 ((vs->client_pf.rmax << vs->client_pf.rshift) < (1 << 24) && in zrle_send_framebuffer_update()
2269 vnc_write_u16(vs, (((i >> pf->rshift) & pf->rmax) << (16 - pf->rbits))); in send_color_map()2302 vs->client_pf.rmax = red_max ? red_max : 0xFF; in set_pixel_format()2343 vnc_write_u16(vs, vs->client_pf.rmax); /* red-max */ in pixel_format_message()
70 uint8_t rmax, gmax, bmax, amax; member
4125 int rmax = MIN(cpu->pmsav8r_hdregion, 32); in hprenr_write() local4126 value &= MAKE_64BIT_MASK(0, rmax); in hprenr_write()4131 for (n = 0; n < rmax; ++n) { in hprenr_write()
Completed in 36 milliseconds