Searched refs:client_pf (Results 1 – 6 of 6) sorted by relevance
124 vs->client_pf.bytes_per_pixel == 1) { in tight_can_send_png_rect()223 max[0] = vs->client_pf.rmax; \224 max[1] = vs->client_pf.gmax; \225 max[2] = vs->client_pf.bmax; \226 shift[0] = vs->client_pf.rshift; \227 shift[1] = vs->client_pf.gshift; \228 shift[2] = vs->client_pf.bshift; \307 vs->client_pf.bytes_per_pixel == 1 || in tight_detect_smooth_image()322 if (vs->client_pf.bytes_per_pixel == 4) { in tight_detect_smooth_image()435 switch (vs->client_pf.bytes_per_pixel) { in tight_fill_palette()[all …]
280 switch (vs->client_pf.bytes_per_pixel) { in zrle_send_framebuffer_update()286 if (vs->client_pf.gmax > 0x1F) { in zrle_send_framebuffer_update()307 ((vs->client_pf.rmax << vs->client_pf.rshift) < (1 << 24) && in zrle_send_framebuffer_update()308 (vs->client_pf.gmax << vs->client_pf.gshift) < (1 << 24) && in zrle_send_framebuffer_update()309 (vs->client_pf.bmax << vs->client_pf.bshift) < (1 << 24)); in zrle_send_framebuffer_update()311 fits_in_ms3bytes = (vs->client_pf.rshift > 7 && in zrle_send_framebuffer_update()312 vs->client_pf.gshift > 7 && in zrle_send_framebuffer_update()313 vs->client_pf.bshift > 7); in zrle_send_framebuffer_update()
882 r = (((v & 0x00ff0000) >> 16) << vs->client_pf.rbits) >> 8; in vnc_convert_pixel()883 g = (((v & 0x0000ff00) >> 8) << vs->client_pf.gbits) >> 8; in vnc_convert_pixel()884 b = (((v & 0x000000ff) >> 0) << vs->client_pf.bbits) >> 8; in vnc_convert_pixel()888 v = (r << vs->client_pf.rshift) | in vnc_convert_pixel()889 (g << vs->client_pf.gshift) | in vnc_convert_pixel()890 (b << vs->client_pf.bshift); in vnc_convert_pixel()891 switch (vs->client_pf.bytes_per_pixel) { in vnc_convert_pixel()932 vnc_write(vs, buf, vs->client_pf.bytes_per_pixel); in vnc_write_pixels_generic()1017 isize = c->width * c->height * vs->client_pf.bytes_per_pixel; in vnc_cursor_define()1070 vs->client_width * vs->client_height * vs->client_pf.bytes_per_pixel; in vnc_update_throttle_offset()[all …]
35 assert(vs->client_pf.bytes_per_pixel <= MAX_BYTES_PER_PIXEL); in CONCAT()141 n_data += vs->client_pf.bytes_per_pixel; in CONCAT()161 n_data += vs->client_pf.bytes_per_pixel; in CONCAT()
190 local->client_pf = orig->client_pf; in vnc_async_encoding_start()
324 PixelFormat client_pf; member