Lines Matching refs:g_bpp
124 static int g_bpp;
1476 size = width * height * (g_bpp / 8);
1483 switch (g_bpp)
1497 switch (g_bpp)
1511 switch (g_bpp)
1525 switch (g_bpp)
1769 g_bpp = 0;
1775 g_bpp = pf->bits_per_pixel;
1783 if (g_bpp != 16)
1790 if (g_bpp != 24)
1879 if (g_server_depth > g_bpp)
1882 g_server_depth, g_bpp);
1886 g_server_depth, g_depth, g_bpp, g_xserver_be, g_host_be));
1918 DEBUG_RDP5(("server bpp %d client bpp %d depth %d\n", g_server_depth, g_bpp, g_depth));
2771 bitmap_pad = g_bpp;
2773 if (g_bpp == 24)
2803 bitmap_pad = g_bpp;
2805 if (g_bpp == 24)
3786 offset *= g_bpp / 8;
3787 cache_put_desktop(offset, cx, cy, image->bytes_per_line, g_bpp / 8, (uint8 *) image->data);
3798 offset *= g_bpp / 8;
3799 data = cache_get_desktop(offset, cx, cy, g_bpp / 8);
3804 (char *) data, cx, cy, g_bpp, 0);