Home
last modified time | relevance | path

Searched refs:rshift (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/ui/
H A Dqemu-pixman.c30 pf.rshift = pf.bbits + pf.gbits; in qemu_pixelformat_from_pixman()
38 pf.rshift = 0; in qemu_pixelformat_from_pixman()
43 pf.rshift = bpp - (pf.bbits + pf.gbits + pf.rbits); in qemu_pixelformat_from_pixman()
47 pf.rshift = bpp - pf.rbits; in qemu_pixelformat_from_pixman()
61 pf.rmask = pf.rmax << pf.rshift; in qemu_pixelformat_from_pixman()
129 int qemu_pixman_get_type(int rshift, int gshift, int bshift, int endian) in qemu_pixman_get_type() argument
134 if (rshift > gshift && gshift > bshift) { in qemu_pixman_get_type()
140 } else if (rshift < gshift && gshift < bshift) { in qemu_pixman_get_type()
141 if (rshift == 0) { in qemu_pixman_get_type()
156 type = qemu_pixman_get_type(pf->rshift, p in qemu_pixman_get_format()
[all...]
H A Dvnc-enc-tight.c227 shift[0] = vs->client_pf.rshift; \
569 shift[0] = vs->client_pf.rshift; in tight_filter_gradient24()
573 shift[0] = 24 - vs->client_pf.rshift; in tight_filter_gradient24()
630 shift[0] = vs->client_pf.rshift; \
895 int rshift, gshift, bshift; in tight_pack24() local
900 rshift = vs->client_pf.rshift; in tight_pack24()
904 rshift = 24 - vs->client_pf.rshift; in tight_pack24()
915 *buf++ = (char)(pix >> rshift); in tight_pack24()
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()
H A Dvnc-enc-zrle.c307 ((vs->client_pf.rmax << vs->client_pf.rshift) < (1 << 24) && in zrle_send_framebuffer_update()
311 fits_in_ms3bytes = (vs->client_pf.rshift > 7 && in zrle_send_framebuffer_update()
H A Dvnc.c890 v = (r << vs->client_pf.rshift) | in vnc_convert_pixel()
2267 vnc_write_u16(vs, (((i >> pf->rshift) & pf->rmax) << (16 - pf->rbits))); in send_color_map()
2302 vs->client_pf.rshift = red_shift; in set_pixel_format()
2323 vs->client_pf.rshift, in set_pixel_format()
2364 vnc_write_u8(vs, vs->client_pf.rshift); /* red-shift */ in pixel_format_message()
/openbmc/qemu/include/ui/
H A Dqemu-pixman.h69 uint8_t rshift, gshift, bshift, ashift; member
78 int qemu_pixman_get_type(int rshift, int gshift, int bshift, int endian);