Home
last modified time | relevance | path

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

/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) in qemu_pixman_get_type() argument
133 if (rshift > gshift && gshift > bshift) { in qemu_pixman_get_type()
134 if (bshift == 0) { in qemu_pixman_get_type()
139 } else if (rshift < gshift && gshift < bshift) { in qemu_pixman_get_type()
155 type = qemu_pixman_get_type(pf->rshift, pf->gshift, pf->bshift); in qemu_pixman_get_format()
H A Dvnc-enc-tight.c228 shift[2] = vs->client_pf.bshift; \
566 shift[2] = vs->client_pf.bshift; in tight_filter_gradient24()
570 shift[2] = 24 - vs->client_pf.bshift; in tight_filter_gradient24()
627 shift[2] = vs->client_pf.bshift; \
890 int rshift, gshift, bshift; in tight_pack24() local
897 bshift = vs->client_pf.bshift; in tight_pack24()
901 bshift = 24 - vs->client_pf.bshift; in tight_pack24()
912 *buf++ = (char)(pix >> bshift); in tight_pack24()
1248 color->blue = (pix >> vs->client_pf.bshift) & vs->client_pf.bmax; in write_png_palette()
1256 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.c890 (b << vs->client_pf.bshift); in vnc_convert_pixel()
2271 vnc_write_u16(vs, (((i >> pf->bshift) & pf->bmax) << (16 - pf->bbits))); in send_color_map()
2312 vs->client_pf.bshift = blue_shift; in set_pixel_format()
2348 vnc_write_u8(vs, vs->client_pf.bshift); /* blue-shift */ in pixel_format_message()
/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);
/qemu/libdecnumber/
H A DdecNumber.c6486 const Unit *b, Int blength, Int bshift, argument
6505 if (bshift!=0) { /* B is shifted; low As copy across */
6506 minC+=bshift;
6508 if (a==c && bshift<=alength) {
6509 c+=bshift;
6510 a+=bshift;
6512 else for (; c<clsu+bshift; a++, c++) { /* copy needed */