Searched refs:gmax (Results 1 – 6 of 6) sorted by relevance
193 s32 gmax = ca->rtt.max - ca->rtt_prev.max; in tcp_cdg_grad() local198 ca->gsum.max += gmax - ca->gradients[ca->tail].max; in tcp_cdg_grad()200 ca->gradients[ca->tail].max = gmax; in tcp_cdg_grad()203 gmax = ca->gsum.max; in tcp_cdg_grad()212 grad = gmin > 0 ? gmin : gmax; in tcp_cdg_grad()225 if (gmin <= -32 || gmax <= -32) in tcp_cdg_grad()231 gmax = DIV_ROUND_CLOSEST(gmax, 64); in tcp_cdg_grad()233 if (gmin > 0 && gmax <= 0) in tcp_cdg_grad()235 else if ((gmin > 0 && gmax > 0) || gmax < 0) in tcp_cdg_grad()
57 pf.gmax = (1 << pf.gbits) - 1; in qemu_pixelformat_from_pixman()61 pf.gmask = pf.gmax << pf.gshift; in qemu_pixelformat_from_pixman()
286 if (vs->client_pf.gmax > 0x1F) { in zrle_send_framebuffer_update()308 (vs->client_pf.gmax << vs->client_pf.gshift) < (1 << 24) && in zrle_send_framebuffer_update()
224 max[1] = vs->client_pf.gmax; \623 max[1] = vs->client_pf.gmax; \1247 color->green = (pix >> vs->client_pf.gshift) & vs->client_pf.gmax; in write_png_palette()1255 green = (pix >> vs->client_pf.gshift) & vs->client_pf.gmax; in write_png_palette()1259 color->green = ((green * 255 + vs->client_pf.gmax / 2) / in write_png_palette()1260 vs->client_pf.gmax); in write_png_palette()1653 vs->client_pf.bmax == 0xFF && vs->client_pf.gmax == 0xFF) { in tight_send_framebuffer_update()
2265 vnc_write_u16(vs, (((i >> pf->gshift) & pf->gmax) << (16 - pf->gbits))); in send_color_map()2301 vs->client_pf.gmax = green_max ? green_max : 0xFF; in set_pixel_format()2339 vnc_write_u16(vs, vs->client_pf.gmax); /* green-max */ in pixel_format_message()
68 uint8_t rmax, gmax, bmax, amax; member