HomeSort by: relevance | last modified time | path
    Searched refs:red_max (Results 1 - 14 of 14) sorted by relevancy

  /xsrc/external/mit/libXmu/dist/src/
StdCmap.c 67 unsigned long red_max, unsigned long green_max,
76 * red_max, green_max, blue_max - allocations
98 if (! valid_args(vinfo, red_max, green_max, blue_max, property)
120 stdcmap->red_max = red_max;
130 stdcmap->red_mult = (red_max > 0)
161 valid_args(XVisualInfo *vinfo, unsigned long red_max, unsigned long green_max,
165 * red_max, green_max, blue_max - specifies alloc
179 if (red_max > mask)
192 ncolors = red_max + green_max + blue_max + 1
    [all...]
CmapAlloc.c 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
    [all...]
LookupCmap.c 250 m->red_max = maps->red_max;
261 m->red_max = cnew->red_max;
308 s->red_max = map->red_max;
CrCmap.c 158 status = TRUEMATCH(red_mult, red_max, red_mask) &&
186 ncolors = colormap->red_max;
196 ncolors = colormap->red_max * colormap->red_mult +
250 (unsigned short) ((i * 65535) / (colormap->red_max +
264 color.red = (unsigned short) ((i * 65535) / colormap->red_max);
273 else if (colormap->red_max == 0 && colormap->blue_max == 0)
286 else if (colormap->red_max == 0 && colormap->green_max == 0)
307 color.red = calc(red_max, red_mult);
510 last_pixel = (colormap->red_max + 1) * (colormap->green_max + 1) *
517 (((i/colormap->red_mult) * 65535) / colormap->red_max);
    [all...]
  /xsrc/external/mit/libX11/dist/src/
SetStCmap.c 80 stdcmap.red_max = cmap->red_max;
GetStCmap.c 105 cmap->red_max = use->red_max;
SetRGBCMap.c 75 map->red_max = cmap->red_max;
GetRGBCMap.c 119 map->red_max = prop->red_max;
Xatomtype.h 85 UNSIGNEDINT red_max; member in struct:__anon5662
  /xsrc/external/mit/libXmu/dist/include/X11/Xmu/
StdCmap.h 85 unsigned long red_max,
  /xsrc/external/mit/ctwm/dist/
util.c 220 stdcmap->red_max + 0.5) *
  /xsrc/external/mit/libX11/dist/include/X11/
Xutil.h 322 unsigned long red_max; member in struct:__anon5651
  /xsrc/external/mit/xwud/dist/
xwud.c 937 color.pixel = stdmap->base_pixel + (stdmap->red_max * stdmap->red_mult);
950 lim = stdmap->red_max + 1;
975 limr = stdmap->red_max;
  /xsrc/external/mit/twm/dist/src/
util.c 539 (double) stdcmap->red_max + 0.5) *

Completed in 15 milliseconds