Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/
H A Drfb.c337 struct rfb_pixfmt_msg pixfmt_msg; in rfb_recv_set_pixfmt_msg() local
342 (void)stream_read(cfd, (uint8_t *)&pixfmt_msg + 1, in rfb_recv_set_pixfmt_msg()
343 sizeof(pixfmt_msg) - 1); in rfb_recv_set_pixfmt_msg()
351 if (pixfmt_msg.pixfmt.bpp != 32 || pixfmt_msg.pixfmt.truecolor != 1) { in rfb_recv_set_pixfmt_msg()
354 pixfmt_msg.pixfmt.bpp, pixfmt_msg.pixfmt.truecolor)); in rfb_recv_set_pixfmt_msg()
358 red_max = ntohs(pixfmt_msg.pixfmt.red_max); in rfb_recv_set_pixfmt_msg()
359 green_max = ntohs(pixfmt_msg.pixfmt.green_max); in rfb_recv_set_pixfmt_msg()
360 blue_max = ntohs(pixfmt_msg.pixfmt.blue_max); in rfb_recv_set_pixfmt_msg()
370 red_shift = pixfmt_msg.pixfmt.red_shift; in rfb_recv_set_pixfmt_msg()
371 green_shift = pixfmt_msg.pixfmt.green_shift; in rfb_recv_set_pixfmt_msg()
[all …]