/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 112 stdcmap->blue_max = blue_max; 121 ? (green_max + 1) * (blue_max + 1) : 0; 122 stdcmap->green_mult = (green_max > 0) ? blue_max + 1 : 0; 123 stdcmap->blue_mult = (blue_max > 0) ? 1 : 0; 175 if (blue_max > mask) 178 ncolors = red_max + green_max + blue_max + 1; 192 if (red_max == 0 || green_max == 0 || blue_max == 0) 204 if (blue_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); 83 *green_max = *blue_max = 0; 87 *red_max = *blue_max = 0; 90 *blue_max = vinfo->colormap_size - 1; 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; 111 *blue_max = (n * 11) / 100; [all …]
|
H A D | CrCmap.c | 142 TRUEMATCH(blue_mult, blue_max, blue_mask); 173 if (colormap->blue_max > ncolors) 174 ncolors = colormap->blue_max; 182 colormap->blue_max * colormap->blue_mult + 1; 236 colormap->blue_max)); 244 else if (colormap->green_max == 0 && colormap->blue_max == 0) 257 else if (colormap->red_max == 0 && colormap->blue_max == 0) 274 color.blue = (unsigned short) ((i * 65535) / colormap->blue_max); 293 color.blue = calc(blue_max, blue_mult); 500 (colormap->blue_max + 1) + colormap->base_pixel - 1; [all …]
|
H A D | LookupCmap.c | 243 m->blue_max = maps->blue_max; 254 m->blue_max = new->blue_max; 301 s->blue_max = map->blue_max;
|
/dports/x11-toolkits/libXmu/libXmu-1.1.3/src/ |
H A D | StdCmap.c | 68 unsigned long blue_max) in XmuStandardColormap() argument 122 stdcmap->blue_max = blue_max; in XmuStandardColormap() 131 ? (green_max + 1) * (blue_max + 1) : 0; in XmuStandardColormap() 133 stdcmap->blue_mult = (blue_max > 0) ? 1 : 0; in XmuStandardColormap() 162 unsigned long blue_max, Atom property) in valid_args() argument 189 if (blue_max > mask) in valid_args() 192 ncolors = red_max + green_max + blue_max + 1; in valid_args() 206 if (red_max == 0 || green_max == 0 || blue_max == 0) in valid_args() 218 if (blue_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 | 71 unsigned long *blue_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() 95 *red_max = *blue_max = 0; in XmuGetColormapAllocation() 98 *blue_max = vinfo->colormap_size - 1; in XmuGetColormapAllocation() 115 unsigned long *blue_max) in gray_allocation() argument 119 *blue_max = (n * 11) / 100; in gray_allocation() 120 *green_max += ((n - 1) - (*red_max + *green_max + *blue_max)); in gray_allocation()
|
H A D | CrCmap.c | 160 TRUEMATCH(blue_mult, blue_max, blue_mask); in XmuCreateColormap() 189 if (colormap->blue_max > ncolors) in readwrite_map() 190 ncolors = colormap->blue_max; in readwrite_map() 198 colormap->blue_max * colormap->blue_mult + 1; in readwrite_map() 252 colormap->blue_max)); in readwrite_map() 260 else if (colormap->green_max == 0 && colormap->blue_max == 0) in readwrite_map() 273 else if (colormap->red_max == 0 && colormap->blue_max == 0) in readwrite_map() 290 color.blue = (unsigned short) ((i * 65535) / colormap->blue_max); in readwrite_map() 309 color.blue = calc(blue_max, blue_mult); in readwrite_map() 511 (colormap->blue_max + 1) + colormap->base_pixel - 1; in readonly_map() [all …]
|
H A D | LookupCmap.c | 254 m->blue_max = maps->blue_max; in lookup() 265 m->blue_max = cnew->blue_max; in lookup() 312 s->blue_max = map->blue_max; in lookup()
|
/dports/net/neatvnc/neatvnc-0.4.0/ |
H A D | test-zrle.c | 19 srcfmt.blue_max = 255; in test_pixel32_to_cpixel_3() 29 dstfmt.blue_max = 255; in test_pixel32_to_cpixel_3() 68 srcfmt.blue_max = 255; in test_pixel32_to_cpixel_2() 78 dstfmt.blue_max = 31; in test_pixel32_to_cpixel_2() 121 srcfmt.blue_max = 255; in test_pixel32_to_cpixel_1() 131 dstfmt.blue_max = 3; 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 | 186 float blue_min = 1e38f, blue_max = -1e38f; in update_imageblock_flags() local 209 if (blue > blue_max) in update_imageblock_flags() 210 blue_max = blue; in update_imageblock_flags() 225 pb->blue_max = blue_max; in update_imageblock_flags()
|
/dports/graphics/libgphoto2/libgphoto2-2.5.26/camlibs/polaroid/ |
H A D | jd350e.c | 59 blue_min=255, blue_max=0, in jd350e_postprocessing() local 80 MINMAX( BLUE(rgb,x,y,width), blue_min, blue_max ); in jd350e_postprocessing() 90 if( (green_max+blue_max)/2 > red_max ){ in jd350e_postprocessing() 106 else if( (green_max+red_max)/2 > blue_max ){ in jd350e_postprocessing() 115 blue_max = MIN(2*(unsigned)blue_max,255); 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 | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 10 unsigned long blue_max; member 56 map->blue_max = prop->blue_max;
|