• Home
  • Raw
  • Download

Lines Matching refs:clientds

401     r = ((((v & vs->server.ds->pf.rmask) >> vs->server.ds->pf.rshift) << vs->clientds.pf.rbits) >>  in vnc_convert_pixel()
403 g = ((((v & vs->server.ds->pf.gmask) >> vs->server.ds->pf.gshift) << vs->clientds.pf.gbits) >> in vnc_convert_pixel()
405 b = ((((v & vs->server.ds->pf.bmask) >> vs->server.ds->pf.bshift) << vs->clientds.pf.bbits) >> in vnc_convert_pixel()
407 v = (r << vs->clientds.pf.rshift) | in vnc_convert_pixel()
408 (g << vs->clientds.pf.gshift) | in vnc_convert_pixel()
409 (b << vs->clientds.pf.bshift); in vnc_convert_pixel()
410 switch(vs->clientds.pf.bytes_per_pixel) { in vnc_convert_pixel()
415 if (vs->clientds.flags & QEMU_BIG_ENDIAN_FLAG) { in vnc_convert_pixel()
425 if (vs->clientds.flags & QEMU_BIG_ENDIAN_FLAG) { in vnc_convert_pixel()
450 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel); in vnc_write_pixels_generic()
458 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel); in vnc_write_pixels_generic()
466 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel); in vnc_write_pixels_generic()
1587 if ((vs->clientds.flags & QEMU_BIG_ENDIAN_FLAG) == in set_pixel_conversion()
1589 !memcmp(&(vs->clientds.pf), &(vs->ds->surface->pf), sizeof(PixelFormat))) { in set_pixel_conversion()
1629 vs->clientds = *(vs->guest.ds); in set_pixel_format()
1630 vs->clientds.pf.rmax = red_max; in set_pixel_format()
1631 count_bits(vs->clientds.pf.rbits, red_max); in set_pixel_format()
1632 vs->clientds.pf.rshift = red_shift; in set_pixel_format()
1633 vs->clientds.pf.rmask = red_max << red_shift; in set_pixel_format()
1634 vs->clientds.pf.gmax = green_max; in set_pixel_format()
1635 count_bits(vs->clientds.pf.gbits, green_max); in set_pixel_format()
1636 vs->clientds.pf.gshift = green_shift; in set_pixel_format()
1637 vs->clientds.pf.gmask = green_max << green_shift; in set_pixel_format()
1638 vs->clientds.pf.bmax = blue_max; in set_pixel_format()
1639 count_bits(vs->clientds.pf.bbits, blue_max); in set_pixel_format()
1640 vs->clientds.pf.bshift = blue_shift; in set_pixel_format()
1641 vs->clientds.pf.bmask = blue_max << blue_shift; in set_pixel_format()
1642 vs->clientds.pf.bits_per_pixel = bits_per_pixel; in set_pixel_format()
1643 vs->clientds.pf.bytes_per_pixel = bits_per_pixel / 8; in set_pixel_format()
1644 vs->clientds.pf.depth = bits_per_pixel == 32 ? 24 : bits_per_pixel; in set_pixel_format()
1645 vs->clientds.flags = big_endian_flag ? QEMU_BIG_ENDIAN_FLAG : 0x00; in set_pixel_format()
1677 vs->clientds = *(vs->ds->surface); in pixel_format_message()
1678 vs->clientds.flags &= ~QEMU_ALLOCATED_FLAG; in pixel_format_message()