Lines Matching refs:h_best
717 int w_best = 0, h_best = 0; in find_best_solid_area() local
740 if (w_prev * (dy + dh - y) > w_best * h_best) { in find_best_solid_area()
742 h_best = dy + dh - y; in find_best_solid_area()
747 *h_ptr = h_best; in find_best_solid_area()
1587 int x_best, y_best, w_best, h_best; in find_large_solid_color_rect() local
1598 color_value, &w_best, &h_best); in find_large_solid_color_rect()
1603 if (w_best * h_best != w * h && in find_large_solid_color_rect()
1604 w_best * h_best < VNC_TIGHT_MIN_SOLID_SUBRECT_SIZE) { in find_large_solid_color_rect()
1612 &x_best, &y_best, &w_best, &h_best); in find_large_solid_color_rect()
1621 x_best-x, h_best); in find_large_solid_color_rect()
1625 n += send_sub_rect_solid(vs, x_best, y_best, w_best, h_best); in find_large_solid_color_rect()
1633 h_best); in find_large_solid_color_rect()
1635 if (y_best + h_best != y + h) { in find_large_solid_color_rect()
1636 n += tight_send_framebuffer_update(vs, x, y_best+h_best, in find_large_solid_color_rect()
1637 w, h-(y_best-y)-h_best); in find_large_solid_color_rect()