Searched refs:red_max (Results 1 - 14 of 14) sorted by relevance

/xsrc/external/mit/libXmu/dist/src/
H A DStdCmap.c67 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, argument
165 * red_max, green_max, blue_max - specifies alloc
179 if (red_max > mask)
192 ncolors = red_max
65 XmuStandardColormap(Display * dpy,int screen,VisualID visualid,unsigned int depth,Atom property,Colormap cmap,unsigned long red_max,unsigned long green_max,unsigned long blue_max) argument
[all...]
H A DCmapAlloc.c59 * 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, argument
117 *red_max
68 XmuGetColormapAllocation(XVisualInfo * vinfo,Atom property,unsigned long * red_max,unsigned long * green_max,unsigned long * blue_max) argument
[all...]
H A DLookupCmap.c250 m->red_max = maps->red_max;
261 m->red_max = cnew->red_max;
308 s->red_max = map->red_max;
H A DCrCmap.c158 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/
H A DSetStCmap.c80 stdcmap.red_max = cmap->red_max;
H A DGetStCmap.c105 cmap->red_max = use->red_max;
H A DSetRGBCMap.c75 map->red_max = cmap->red_max;
H A DGetRGBCMap.c119 map->red_max = prop->red_max;
H A DXatomtype.h85 UNSIGNEDINT red_max; member in struct:__anondc8a24b10208
/xsrc/external/mit/libXmu/dist/include/X11/Xmu/
H A DStdCmap.h85 unsigned long red_max,
/xsrc/external/mit/libX11/dist/include/X11/
H A DXutil.h322 unsigned long red_max; member in struct:__anon3d9fd4c10908
/xsrc/external/mit/ctwm/dist/
H A Dutil.c220 stdcmap->red_max + 0.5) *
/xsrc/external/mit/xwud/dist/
H A Dxwud.c937 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/
H A Dutil.c539 (double) stdcmap->red_max + 0.5) *

Completed in 10 milliseconds