Home
last modified time | relevance | path

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

/openbmc/qemu/ui/
H A Dqemu-pixman.c32 pf.bshift = 0; in qemu_pixelformat_from_pixman()
36 pf.bshift = pf.rbits + pf.gbits; in qemu_pixelformat_from_pixman()
41 pf.bshift = bpp - pf.bbits; in qemu_pixelformat_from_pixman()
49 pf.bshift = bpp - (pf.rbits + pf.gbits + pf.bbits); in qemu_pixelformat_from_pixman()
63 pf.bmask = pf.bmax << pf.bshift; 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()
135 if (bshift == 0) { in qemu_pixman_get_type()
140 } else if (rshift < gshift && gshift < bshift) { in qemu_pixman_get_type()
156 type = qemu_pixman_get_type(pf->rshift, pf->gshift, pf->bshift, endia in qemu_pixman_get_format()
[all...]
H A Dvnc-enc-tight.c229 shift[2] = vs->client_pf.bshift; \
571 shift[2] = vs->client_pf.bshift; in tight_filter_gradient24()
575 shift[2] = 24 - vs->client_pf.bshift; in tight_filter_gradient24()
632 shift[2] = vs->client_pf.bshift; \
895 int rshift, gshift, bshift; in tight_pack24() local
902 bshift = vs->client_pf.bshift; in tight_pack24()
906 bshift = 24 - vs->client_pf.bshift; in tight_pack24()
917 *buf++ = (char)(pix >> bshift); in tight_pack24()
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()
H A Dvnc-enc-zrle.c309 (vs->client_pf.bmax << vs->client_pf.bshift) < (1 << 24)); in zrle_send_framebuffer_update()
313 vs->client_pf.bshift > 7); in zrle_send_framebuffer_update()
H A Dvnc.c892 (b << vs->client_pf.bshift); in vnc_convert_pixel()
2269 vnc_write_u16(vs, (((i >> pf->bshift) & pf->bmax) << (16 - pf->bbits))); in send_color_map()
2310 vs->client_pf.bshift = blue_shift; in set_pixel_format()
2333 vs->client_pf.bshift, in set_pixel_format()
2366 vnc_write_u8(vs, vs->client_pf.bshift); /* blue-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);
/openbmc/qemu/libdecnumber/
H A DdecNumber.c6485 const Unit *b, Int blength, Int bshift, argument
6504 if (bshift!=0) { /* B is shifted; low As copy across */
6505 minC+=bshift;
6507 if (a==c && bshift<=alength) {
6508 c+=bshift;
6509 a+=bshift;
6511 else for (; c<clsu+bshift; a++, c++) { /* copy needed */