Searched refs:green_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)
121 stdcmap->green_max = green_max;
131 ? (green_max + 1) * (blue_max + 1) : 0;
132 stdcmap->green_mult = (green_max > 0) ? blue_max + 1 : 0;
161 valid_args(XVisualInfo *vinfo, unsigned long red_max, unsigned long green_max, argument
165 * red_max, green_max, blue_max - specifies alloc
184 if (green_max > mas
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.c60 * green_max returns maximum green value
70 unsigned long *green_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);
91 *green_max = *blue_max = 0;
94 *green_max = vinfo->colormap_size - 1;
99 *red_max = *green_max = 0;
114 gray_allocation(int n, unsigned long *red_max, unsigned long *green_max, argument
118 *green_max
68 XmuGetColormapAllocation(XVisualInfo * vinfo,Atom property,unsigned long * red_max,unsigned long * green_max,unsigned long * blue_max) argument
[all...]
H A DCrCmap.c159 TRUEMATCH(green_mult, green_max, green_mask) &&
187 if (colormap->green_max > ncolors)
188 ncolors = colormap->green_max;
197 colormap->green_max * colormap->green_mult +
251 colormap->green_max +
260 else if (colormap->green_max == 0 && colormap->blue_max == 0)
277 color.green = (unsigned short) ((i * 65535) / colormap->green_max);
286 else if (colormap->red_max == 0 && colormap->green_max == 0)
308 color.green = calc(green_max, green_mult);
510 last_pixel = (colormap->red_max + 1) * (colormap->green_max
[all...]
H A DLookupCmap.c252 m->green_max = maps->green_max;
263 m->green_max = cnew->green_max;
310 s->green_max = map->green_max;
/xsrc/external/mit/libX11/dist/src/
H A DSetStCmap.c82 stdcmap.green_max = cmap->green_max;
H A DGetStCmap.c107 cmap->green_max = use->green_max;
H A DSetRGBCMap.c77 map->green_max = cmap->green_max;
H A DGetRGBCMap.c121 map->green_max = prop->green_max;
H A DXatomtype.h87 UNSIGNEDINT green_max; member in struct:__anondc8a24b10208
/xsrc/external/mit/libXmu/dist/include/X11/Xmu/
H A DStdCmap.h86 unsigned long green_max,
/xsrc/external/mit/libX11/dist/include/X11/
H A DXutil.h324 unsigned long green_max; member in struct:__anon3d9fd4c10908
/xsrc/external/mit/ctwm/dist/
H A Dutil.c223 stdcmap->green_max + 0.5) *
/xsrc/external/mit/xwud/dist/
H A Dxwud.c559 if (!stdmap->green_max && !stdmap->blue_max && IsGray(dpy, stdmap))
976 limg = stdmap->green_max;
/xsrc/external/mit/twm/dist/src/
H A Dutil.c542 (double) stdcmap->green_max + 0.5) *

Completed in 10 milliseconds