Searched refs:gbits (Results 1 – 3 of 3) sorted by relevance
22 pf.gbits = PIXMAN_FORMAT_G(format); in qemu_pixelformat_from_pixman()27 pf.ashift = pf.bbits + pf.gbits + pf.rbits; in qemu_pixelformat_from_pixman()28 pf.rshift = pf.bbits + pf.gbits; in qemu_pixelformat_from_pixman()33 pf.ashift = pf.rbits + pf.gbits + pf.bbits; in qemu_pixelformat_from_pixman()34 pf.bshift = pf.rbits + pf.gbits; in qemu_pixelformat_from_pixman()40 pf.gshift = bpp - (pf.bbits + pf.gbits); in qemu_pixelformat_from_pixman()41 pf.rshift = bpp - (pf.bbits + pf.gbits + pf.rbits); in qemu_pixelformat_from_pixman()46 pf.gshift = bpp - (pf.rbits + pf.gbits); in qemu_pixelformat_from_pixman()47 pf.bshift = bpp - (pf.rbits + pf.gbits + pf.bbits); in qemu_pixelformat_from_pixman()57 pf.gmax = (1 << pf.gbits) - 1; in qemu_pixelformat_from_pixman()[all …]
883 g = (((v & 0x0000ff00) >> 8) << vs->client_pf.gbits) >> 8; in vnc_convert_pixel()2265 vnc_write_u16(vs, (((i >> pf->gshift) & pf->gmax) << (16 - pf->gbits))); in send_color_map()2302 vs->client_pf.gbits = ctpopl(green_max); in set_pixel_format()
69 uint8_t rbits, gbits, bbits, abits; member