Searched refs:client_pf (Results 1 – 6 of 6) sorted by relevance
895 rshift = vs->client_pf.rshift; in tight_pack24()896 gshift = vs->client_pf.gshift; in tight_pack24()897 bshift = vs->client_pf.bshift; in tight_pack24()1246 color->red = (pix >> vs->client_pf.rshift) & vs->client_pf.rmax; in write_png_palette()1247 color->green = (pix >> vs->client_pf.gshift) & vs->client_pf.gmax; in write_png_palette()1248 color->blue = (pix >> vs->client_pf.bshift) & vs->client_pf.bmax; in write_png_palette()1254 red = (pix >> vs->client_pf.rshift) & vs->client_pf.rmax; in write_png_palette()1255 green = (pix >> vs->client_pf.gshift) & vs->client_pf.gmax; in write_png_palette()1256 blue = (pix >> vs->client_pf.bshift) & vs->client_pf.bmax; in write_png_palette()1652 if (vs->client_pf.bytes_per_pixel == 4 && vs->client_pf.rmax == 0xFF && in tight_send_framebuffer_update()[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()
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()2267 PixelFormat *pf = &vs->client_pf; in send_color_map()2303 vs->client_pf.rbits = ctpopl(red_max); in set_pixel_format()2304 vs->client_pf.rshift = red_shift; in set_pixel_format()2307 vs->client_pf.gbits = ctpopl(green_max); in set_pixel_format()2308 vs->client_pf.gshift = green_shift; in set_pixel_format()2311 vs->client_pf.bbits = ctpopl(blue_max); in set_pixel_format()[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()
325 PixelFormat client_pf; member