/dports/cad/netgen/netgen-6.2.2105/ng/Togl2.1/Xmu/ |
H A D | StdCmap.c | 60 cmap, red_max, green_max, blue_max) in XmuStandardColormap() argument 67 unsigned long red_max, green_max, blue_max; /* allocations */ 110 stdcmap->red_max = red_max; 120 stdcmap->red_mult = (red_max > 0) 165 if (red_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) 196 if (red_max == 0) 208 if (red_max == 0 || green_max == 0 || blue_max == 0) [all …]
|
H A D | CmapAlloc.c | 63 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); 82 *red_max = vinfo->colormap_size - 1; 87 *red_max = *blue_max = 0; 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; 109 *red_max = (n * 30) / 100; [all …]
|
H A D | CrCmap.c | 140 status = TRUEMATCH(red_mult, red_max, red_mask) && 170 ncolors = colormap->red_max; 180 ncolors = colormap->red_max * colormap->red_mult + 234 (unsigned short) ((i * 65535) / (colormap->red_max + 248 color.red = (unsigned short) ((i * 65535) / colormap->red_max); 257 else if (colormap->red_max == 0 && colormap->blue_max == 0) 270 else if (colormap->red_max == 0 && colormap->green_max == 0) 291 color.red = calc(red_max, red_mult); 499 last_pixel = (colormap->red_max + 1) * (colormap->green_max + 1) * 506 (((i/colormap->red_mult) * 65535) / colormap->red_max);
|
H A D | LookupCmap.c | 239 m->red_max = maps->red_max; 250 m->red_max = new->red_max; 297 s->red_max = map->red_max;
|
/dports/x11-toolkits/libXmu/libXmu-1.1.3/src/ |
H A D | StdCmap.c | 67 unsigned long red_max, unsigned long green_max, in XmuStandardColormap() argument 98 if (! valid_args(vinfo, red_max, green_max, blue_max, property) in XmuStandardColormap() 120 stdcmap->red_max = red_max; in XmuStandardColormap() 130 stdcmap->red_mult = (red_max > 0) in XmuStandardColormap() 179 if (red_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() 210 if (red_max == 0) in valid_args() 222 if (red_max == 0 || green_max == 0 || blue_max == 0) in valid_args() [all …]
|
H A D | CmapAlloc.c | 69 unsigned long *red_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() 90 *red_max = vinfo->colormap_size - 1; in XmuGetColormapAllocation() 95 *red_max = *blue_max = 0; 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 117 *red_max = (n * 30) / 100; in gray_allocation() 120 *green_max += ((n - 1) - (*red_max + *green_max + *blue_max)); in gray_allocation()
|
H A D | CrCmap.c | 158 status = TRUEMATCH(red_mult, red_max, red_mask) && in XmuCreateColormap() 186 ncolors = colormap->red_max; in readwrite_map() 196 ncolors = colormap->red_max * colormap->red_mult + in readwrite_map() 250 (unsigned short) ((i * 65535) / (colormap->red_max + in readwrite_map() 264 color.red = (unsigned short) ((i * 65535) / colormap->red_max); in readwrite_map() 273 else if (colormap->red_max == 0 && colormap->blue_max == 0) in readwrite_map() 286 else if (colormap->red_max == 0 && colormap->green_max == 0) in readwrite_map() 307 color.red = calc(red_max, red_mult); in readwrite_map() 510 last_pixel = (colormap->red_max + 1) * (colormap->green_max + 1) * in readonly_map() 517 (((i/colormap->red_mult) * 65535) / colormap->red_max); in readonly_map()
|
H A D | LookupCmap.c | 250 m->red_max = maps->red_max; in lookup() 261 m->red_max = cnew->red_max; in lookup() 308 s->red_max = map->red_max; in lookup()
|
/dports/net/neatvnc/neatvnc-0.4.0/ |
H A D | test-zrle.c | 17 srcfmt.red_max = 255; in test_pixel32_to_cpixel_3() 27 dstfmt.red_max = 255; in test_pixel32_to_cpixel_3() 66 srcfmt.red_max = 255; in test_pixel32_to_cpixel_2() 76 dstfmt.red_max = 31; in test_pixel32_to_cpixel_2() 119 srcfmt.red_max = 255; in test_pixel32_to_cpixel_1() 129 dstfmt.red_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 D | astc_image_load_store.cpp | 184 float red_min = 1e38f, red_max = -1e38f; in update_imageblock_flags() local 201 if (red > red_max) in update_imageblock_flags() 202 red_max = red; in update_imageblock_flags() 221 pb->red_max = red_max; in update_imageblock_flags()
|
/dports/graphics/libgphoto2/libgphoto2-2.5.26/camlibs/polaroid/ |
H A D | jd350e.c | 58 red_min=255, red_max=0, in jd350e_postprocessing() local 78 MINMAX( RED(rgb,x,y,width), red_min, red_max ); in jd350e_postprocessing() 90 if( (green_max+blue_max)/2 > red_max ){ in jd350e_postprocessing() 101 red_max = jd350e_red_curve[ red_max ]; in jd350e_postprocessing() 106 else if( (green_max+red_max)/2 > blue_max ){ in jd350e_postprocessing() 121 max = MAX( MAX( red_max, green_max ), blue_max); in jd350e_postprocessing()
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 6 unsigned long red_max; member 52 map->red_max = prop->red_max;
|