Home
last modified time | relevance | path

Searched refs:green_max (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/dports/cad/netgen/netgen-6.2.2105/ng/Togl2.1/Xmu/
H A DStdCmap.c60 cmap, red_max, green_max, blue_max) in XmuStandardColormap() argument
111 stdcmap->green_max = green_max;
121 ? (green_max + 1) * (blue_max + 1) : 0;
122 stdcmap->green_mult = (green_max > 0) ? blue_max + 1 : 0;
170 if (green_max > mask)
178 ncolors = red_max + green_max + blue_max + 1;
182 ncolors = (red_max + 1) * (green_max + 1) * (blue_max + 1);
192 if (red_max == 0 || green_max == 0 || blue_max == 0)
200 if (green_max == 0)
208 if (red_max == 0 || green_max == 0 || blue_max == 0)
[all …]
H A DCmapAlloc.c63 unsigned long *red_max, *green_max, *blue_max;
73 status = default_allocation(vinfo, red_max, green_max, blue_max);
76 best_allocation(vinfo, red_max, green_max, blue_max);
79 gray_allocation(vinfo->colormap_size, red_max, green_max, blue_max);
83 *green_max = *blue_max = 0;
86 *green_max = vinfo->colormap_size - 1;
91 *red_max = *green_max = 0;
105 static void gray_allocation(n, red_max, green_max, blue_max) in gray_allocation() argument
107 unsigned long *red_max, *green_max, *blue_max;
110 *green_max = (n * 59) / 100;
[all …]
H A DCrCmap.c141 TRUEMATCH(green_mult, green_max, green_mask) &&
171 if (colormap->green_max > ncolors)
172 ncolors = colormap->green_max;
181 colormap->green_max * colormap->green_mult +
235 colormap->green_max +
244 else if (colormap->green_max == 0 && colormap->blue_max == 0)
261 color.green = (unsigned short) ((i * 65535) / colormap->green_max);
270 else if (colormap->red_max == 0 && colormap->green_max == 0)
292 color.green = calc(green_max, green_mult);
510 ((((i/colormap->green_mult) % (colormap->green_max + 1)) *
[all …]
H A DLookupCmap.c241 m->green_max = maps->green_max;
252 m->green_max = new->green_max;
299 s->green_max = map->green_max;
/dports/x11-toolkits/libXmu/libXmu-1.1.3/src/
H A DStdCmap.c67 unsigned long red_max, unsigned long green_max, in XmuStandardColormap() argument
121 stdcmap->green_max = green_max; in XmuStandardColormap()
131 ? (green_max + 1) * (blue_max + 1) : 0; in XmuStandardColormap()
132 stdcmap->green_mult = (green_max > 0) ? blue_max + 1 : 0; in XmuStandardColormap()
184 if (green_max > mask) in valid_args()
192 ncolors = red_max + green_max + blue_max + 1; in valid_args()
196 ncolors = (red_max + 1) * (green_max + 1) * (blue_max + 1); in valid_args()
206 if (red_max == 0 || green_max == 0 || blue_max == 0) in valid_args()
214 if (green_max == 0) in valid_args()
222 if (red_max == 0 || green_max == 0 || blue_max == 0) in valid_args()
[all …]
H A DCmapAlloc.c70 unsigned long *green_max, in XmuGetColormapAllocation() argument
81 status = default_allocation(vinfo, red_max, green_max, blue_max); in XmuGetColormapAllocation()
84 best_allocation(vinfo, red_max, green_max, blue_max); in XmuGetColormapAllocation()
87 gray_allocation(vinfo->colormap_size, red_max, green_max, blue_max); in XmuGetColormapAllocation()
91 *green_max = *blue_max = 0; in XmuGetColormapAllocation()
94 *green_max = vinfo->colormap_size - 1; in XmuGetColormapAllocation()
99 *red_max = *green_max = 0; in XmuGetColormapAllocation()
114 gray_allocation(int n, unsigned long *red_max, unsigned long *green_max, in gray_allocation() argument
118 *green_max = (n * 59) / 100; in gray_allocation()
120 *green_max += ((n - 1) - (*red_max + *green_max + *blue_max)); in gray_allocation()
H A DCrCmap.c159 TRUEMATCH(green_mult, green_max, green_mask) && in XmuCreateColormap()
187 if (colormap->green_max > ncolors) in readwrite_map()
188 ncolors = colormap->green_max; in readwrite_map()
197 colormap->green_max * colormap->green_mult + in readwrite_map()
251 colormap->green_max + in readwrite_map()
260 else if (colormap->green_max == 0 && colormap->blue_max == 0) in readwrite_map()
286 else if (colormap->red_max == 0 && colormap->green_max == 0) in readwrite_map()
308 color.green = calc(green_max, green_mult); in readwrite_map()
510 last_pixel = (colormap->red_max + 1) * (colormap->green_max + 1) * in readonly_map()
521 ((((i/colormap->green_mult) % (colormap->green_max + 1)) * in readonly_map()
[all …]
H A DLookupCmap.c252 m->green_max = maps->green_max; in lookup()
263 m->green_max = cnew->green_max; in lookup()
310 s->green_max = map->green_max; in lookup()
/dports/net/neatvnc/neatvnc-0.4.0/
H A Dtest-zrle.c18 srcfmt.green_max = 255; in test_pixel32_to_cpixel_3()
28 dstfmt.green_max = 255; in test_pixel32_to_cpixel_3()
67 srcfmt.green_max = 255; in test_pixel32_to_cpixel_2()
77 dstfmt.green_max = 63; in test_pixel32_to_cpixel_2()
120 srcfmt.green_max = 255; in test_pixel32_to_cpixel_1()
130 dstfmt.green_max = 7; in test_pixel32_to_cpixel_1()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/astc-encoder/Source/
H A Dastc_image_load_store.cpp185 float green_min = 1e38f, green_max = -1e38f; in update_imageblock_flags() local
205 if (green > green_max) in update_imageblock_flags()
206 green_max = green; in update_imageblock_flags()
223 pb->green_max = green_max; in update_imageblock_flags()
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/
H A D921011-2.c8 unsigned long green_max; member
54 map->green_max = prop->green_max;

12345678910>>...14