Lines Matching refs:red_max
59 * red_max returns maximum red value
69 unsigned long *red_max,
81 status = default_allocation(vinfo, red_max, green_max, blue_max);
84 best_allocation(vinfo, red_max, green_max, blue_max);
87 gray_allocation(vinfo->colormap_size, red_max, green_max, blue_max);
90 *red_max = vinfo->colormap_size - 1;
95 *red_max = *blue_max = 0;
99 *red_max = *green_max = 0;
114 gray_allocation(int n, unsigned long *red_max, unsigned long *green_max,
117 *red_max = (n * 30) / 100;
120 *green_max += ((n - 1) - (*red_max + *green_max + *blue_max));