/dports/cad/netgen/netgen-6.2.2105/ng/Togl2.1/Xmu/ |
H A D | CrCmap.c | 54 (colormap->max * colormap->mult <= vinfo->mask && \ 180 ncolors = colormap->red_max * colormap->red_mult + 181 colormap->green_max * colormap->green_mult + 182 colormap->blue_max * colormap->blue_mult + 1; 209 if ((npixels = ROmap(dpy, colormap->colormap, pixels, 220 XFreeColors(dpy, colormap->colormap, pixels, npixels, 286 (colormap->max + 1)) * 65535) / colormap->max 306 XFreeColors(dpy, colormap->colormap, pixels, first_index, 309 XFreeColors(dpy, colormap->colormap, 500 (colormap->blue_max + 1) + colormap->base_pixel - 1; [all …]
|
/dports/x11-toolkits/libXmu/libXmu-1.1.3/src/ |
H A D | CrCmap.c | 74 (colormap->max * colormap->mult <= vinfo->mask && \ 196 ncolors = colormap->red_max * colormap->red_mult + in readwrite_map() 197 colormap->green_max * colormap->green_mult + in readwrite_map() 198 colormap->blue_max * colormap->blue_mult + 1; in readwrite_map() 225 if ((npixels = ROmap(dpy, colormap->colormap, pixels, in readwrite_map() 236 XFreeColors(dpy, colormap->colormap, pixels, npixels, in readwrite_map() 302 (colormap->max + 1)) * 65535) / colormap->max in readwrite_map() 322 XFreeColors(dpy, colormap->colormap, pixels, first_index, in readwrite_map() 325 XFreeColors(dpy, colormap->colormap, in readwrite_map() 511 (colormap->blue_max + 1) + colormap->base_pixel - 1; in readonly_map() [all …]
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gdk/directfb/ |
H A D | gdkcolor-directfb.c | 70 colormap->size = 0; in G_DEFINE_TYPE() 71 colormap->colors = NULL; in G_DEFINE_TYPE() 89 g_free (colormap->colors); in gdk_colormap_finalize() 109 GdkColormap *colormap; in gdk_colormap_new() local 115 colormap->visual = visual; in gdk_colormap_new() 132 colormap->colors = g_new0 (GdkColor, colormap->size); in gdk_colormap_new() 152 colormap->colors = g_new0 (GdkColor, colormap->size); in gdk_colormap_new() 168 return colormap; in gdk_colormap_new() 182 if (!colormap) in gdk_screen_get_system_colormap() 196 colormap->colors = g_new0 (GdkColor, colormap->size); in gdk_screen_get_system_colormap() [all …]
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gdk/x11/ |
H A D | gdkcolor-x11.c | 168 colormap->colors = g_new (GdkColor, colormap->size); in gdk_colormap_new() 213 colormap->colors = g_new (GdkColor, colormap->size); in gdk_colormap_new() 227 gdk_colormap_change (colormap, colormap->size); in gdk_colormap_new() 236 colormap->colors = g_new (GdkColor, colormap->size); in gdk_colormap_new() 249 return colormap; in gdk_colormap_new() 385 colormap->size = colormap->visual->colormap_size; in gdk_screen_get_system_colormap() 398 colormap->colors = g_new (GdkColor, colormap->size); in gdk_screen_get_system_colormap() 408 return colormap; in gdk_screen_get_system_colormap() 1284 if (colormap) in gdk_x11_colormap_foreign_new() 1310 colormap->colors = g_new (GdkColor, colormap->size); in gdk_x11_colormap_foreign_new() [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/ |
H A D | rast.c | 231 if ( fwrite( colormap->map[0], 1, colormap->length, out ) != 234 if ( fwrite( colormap->map[1], 1, colormap->length, out ) != 237 if ( fwrite( colormap->map[2], 1, colormap->length, out ) != 243 if ( fwrite( colormap->map[0], 1, colormap->length, out ) != 358 MALLOCARRAY( colormap->map[0], colormap->length ); 361 MALLOCARRAY( colormap->map[1], colormap->length ); 367 MALLOCARRAY( colormap->map[2], colormap->length ); 374 if ( fread( colormap->map[0], 1, colormap->length, in ) != 376 fread( colormap->map[1], 1, colormap->length, in ) != 392 MALLOCARRAY( colormap->map[0], colormap->length ); [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageColormap.h | 82 ((void **)((( mlib_colormap *)( colormap))->lut)) 86 ((void *)((( mlib_colormap *)( colormap))->normal_table)) 90 ((void *)((( mlib_colormap *)( colormap))->table)) 94 ((mlib_s32)((( mlib_colormap *)( colormap))->channels)) 98 ((mlib_type)((( mlib_colormap *)( colormap))->intype)) 102 ((mlib_s32)((( mlib_colormap *)( colormap))->indexsize)) 106 ((mlib_type)((( mlib_colormap *)( colormap))->outtype)) 110 ((mlib_s32)((( mlib_colormap *)( colormap))->offset)) 114 ((mlib_s32)((( mlib_colormap *)( colormap))->bits)) 118 ((mlib_s32)((( mlib_colormap *)( colormap))->method)) [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageColormap.h | 82 ((void **)((( mlib_colormap *)( colormap))->lut)) 86 ((void *)((( mlib_colormap *)( colormap))->normal_table)) 90 ((void *)((( mlib_colormap *)( colormap))->table)) 94 ((mlib_s32)((( mlib_colormap *)( colormap))->channels)) 98 ((mlib_type)((( mlib_colormap *)( colormap))->intype)) 102 ((mlib_s32)((( mlib_colormap *)( colormap))->indexsize)) 106 ((mlib_type)((( mlib_colormap *)( colormap))->outtype)) 110 ((mlib_s32)((( mlib_colormap *)( colormap))->offset)) 114 ((mlib_s32)((( mlib_colormap *)( colormap))->bits)) 118 ((mlib_s32)((( mlib_colormap *)( colormap))->method)) [all …]
|
/dports/math/octave/octave-6.4.0/scripts/image/ |
H A D | colormap.m | 37 ## @code{colormap (@var{map})} sets the current colormap to @var{map}. The 42 ## @code{colormap (@qcode{"default"})} restores the default colormap (the 149 %! ## Show 'viridis' colormap 150 %! colormap (viridis (64)); 154 %! ## Show 'colorcube' colormap 155 %! colormap (colorcube (64)); 162 %! cmap = colormap (cmaptst); 164 %! cmap = colormap (); 168 %! colormap ("default"); 170 %! colormap ("ocean"); [all …]
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gdk/win32/ |
H A D | gdkcolor-win32.c | 90 colormap->size = 0; in gdk_colormap_init() 91 colormap->colors = NULL; in gdk_colormap_init() 546 GdkColormap *colormap; in gdk_colormap_new() local 563 colormap->colors = g_new (GdkColor, colormap->size); in gdk_colormap_new() 574 gdk_colormap_change (colormap, colormap->size); in gdk_colormap_new() 582 colormap->colors = g_new (GdkColor, colormap->size); in gdk_colormap_new() 593 return colormap; in gdk_colormap_new() 604 if (!colormap) in gdk_screen_get_system_colormap() 611 colormap->size = colormap->visual->colormap_size; in gdk_screen_get_system_colormap() 628 colormap->colors = g_new (GdkColor, colormap->size); in gdk_screen_get_system_colormap() [all …]
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gdk/quartz/ |
H A D | gdkcolor-quartz.c | 68 static GdkColormap *colormap = NULL; in gdk_screen_get_system_colormap() local 72 if (!colormap) in gdk_screen_get_system_colormap() 77 colormap->size = colormap->visual->colormap_size; in gdk_screen_get_system_colormap() 80 return colormap; in gdk_screen_get_system_colormap() 87 static GdkColormap *colormap = NULL; in gdk_screen_get_rgba_colormap() local 91 if (!colormap) in gdk_screen_get_rgba_colormap() 96 colormap->size = colormap->visual->colormap_size; in gdk_screen_get_rgba_colormap() 99 return colormap; in gdk_screen_get_rgba_colormap() 128 gdk_colors_free (GdkColormap *colormap, in gdk_colors_free() argument 207 GdkColormap *colormap; in _gdk_quartz_colormap_get_cgcolor_from_pixel() local [all …]
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Filtering/Colormap/include/ |
H A D | itkScalarToRGBColormapImageFilter.hxx | 142 this->SetColormap(colormap); in SetColormap() 150 this->SetColormap(colormap); in SetColormap() 158 this->SetColormap(colormap); in SetColormap() 167 this->SetColormap(colormap); in SetColormap() 175 this->SetColormap(colormap); in SetColormap() 183 this->SetColormap(colormap); in SetColormap() 191 this->SetColormap(colormap); in SetColormap() 199 this->SetColormap(colormap); in SetColormap() 207 this->SetColormap(colormap); in SetColormap() 215 this->SetColormap(colormap); in SetColormap() [all …]
|
/dports/databases/postgis30/postgis-3.0.4/raster/test/cunit/ |
H A D | cu_mapalgebra.c | 906 colormap->nentry = 3; in test_raster_colormap() 932 colormap->ncolor = 2; in test_raster_colormap() 937 colormap in test_raster_colormap() 954 colormap->ncolor = 4; in test_raster_colormap() 958 colormap in test_raster_colormap() 969 colormap in test_raster_colormap() 994 colormap in test_raster_colormap() 1024 colormap in test_raster_colormap() 1049 rtdealloc(colormap); in test_raster_colormap() 1148 colormap in test_raster_colormap() [all …]
|
/dports/databases/postgis32/postgis-3.2.0/raster/test/cunit/ |
H A D | cu_mapalgebra.c | 906 colormap->nentry = 3; in test_raster_colormap() 932 colormap->ncolor = 2; in test_raster_colormap() 937 colormap in test_raster_colormap() 954 colormap->ncolor = 4; in test_raster_colormap() 958 colormap in test_raster_colormap() 969 colormap in test_raster_colormap() 994 colormap in test_raster_colormap() 1024 colormap in test_raster_colormap() 1049 rtdealloc(colormap); in test_raster_colormap() 1148 colormap in test_raster_colormap() [all …]
|
/dports/databases/postgis31/postgis-3.1.4/raster/test/cunit/ |
H A D | cu_mapalgebra.c | 906 colormap->nentry = 3; in test_raster_colormap() 932 colormap->ncolor = 2; in test_raster_colormap() 937 colormap in test_raster_colormap() 954 colormap->ncolor = 4; in test_raster_colormap() 958 colormap in test_raster_colormap() 969 colormap in test_raster_colormap() 994 colormap in test_raster_colormap() 1024 colormap in test_raster_colormap() 1049 rtdealloc(colormap); in test_raster_colormap() 1148 colormap in test_raster_colormap() [all …]
|
/dports/databases/postgis25/postgis-2.5.5/raster/test/cunit/ |
H A D | cu_mapalgebra.c | 906 colormap->nentry = 3; in test_raster_colormap() 932 colormap->ncolor = 2; in test_raster_colormap() 937 colormap in test_raster_colormap() 954 colormap->ncolor = 4; in test_raster_colormap() 958 colormap in test_raster_colormap() 969 colormap in test_raster_colormap() 994 colormap in test_raster_colormap() 1024 colormap in test_raster_colormap() 1049 rtdealloc(colormap); in test_raster_colormap() 1148 colormap in test_raster_colormap() [all …]
|
/dports/graphics/ImageMagick7/ImageMagick-7.1.0-19/coders/ |
H A D | map.c | 133 *colormap, in ReadMAPImage() local 169 sizeof(*colormap)); in ReadMAPImage() 174 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 184 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 187 p=colormap; in ReadMAPImage() 208 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 374 *colormap, in WriteMAPImage() local 404 sizeof(*colormap)); in WriteMAPImage() 409 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in WriteMAPImage() 417 q=colormap; in WriteMAPImage() [all …]
|
/dports/graphics/ImageMagick7-nox11/ImageMagick-7.1.0-19/coders/ |
H A D | map.c | 133 *colormap, in ReadMAPImage() local 169 sizeof(*colormap)); in ReadMAPImage() 174 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 184 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 187 p=colormap; in ReadMAPImage() 208 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 374 *colormap, in WriteMAPImage() local 404 sizeof(*colormap)); in WriteMAPImage() 409 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in WriteMAPImage() 417 q=colormap; in WriteMAPImage() [all …]
|
/dports/graphics/ImageMagick6/ImageMagick-6.9.12-34/coders/ |
H A D | map.c | 136 *colormap, in ReadMAPImage() local 172 sizeof(*colormap)); in ReadMAPImage() 177 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 187 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 190 p=colormap; in ReadMAPImage() 211 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 379 *colormap, in WriteMAPImage() local 407 sizeof(*colormap)); in WriteMAPImage() 412 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in WriteMAPImage() 420 q=colormap; in WriteMAPImage() [all …]
|
/dports/graphics/ImageMagick6-nox11/ImageMagick-6.9.12-34/coders/ |
H A D | map.c | 136 *colormap, in ReadMAPImage() local 172 sizeof(*colormap)); in ReadMAPImage() 177 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 187 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 190 p=colormap; in ReadMAPImage() 211 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMAPImage() 379 *colormap, in WriteMAPImage() local 407 sizeof(*colormap)); in WriteMAPImage() 412 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in WriteMAPImage() 420 q=colormap; in WriteMAPImage() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/src/ |
H A D | colormap.cpp | 763 colormap == COLORMAP_AUTUMN ? (colormap::ColorMap*)(new colormap::Autumn) : in applyColorMap() 764 colormap == COLORMAP_BONE ? (colormap::ColorMap*)(new colormap::Bone) : in applyColorMap() 766 colormap == COLORMAP_COOL ? (colormap::ColorMap*)(new colormap::Cool) : in applyColorMap() 768 colormap == COLORMAP_HOT ? (colormap::ColorMap*)(new colormap::Hot) : in applyColorMap() 769 colormap == COLORMAP_HSV ? (colormap::ColorMap*)(new colormap::HSV) : in applyColorMap() 771 colormap == COLORMAP_JET ? (colormap::ColorMap*)(new colormap::Jet) : in applyColorMap() 772 colormap == COLORMAP_MAGMA ? (colormap::ColorMap*)(new colormap::Magma) : in applyColorMap() 773 colormap == COLORMAP_OCEAN ? (colormap::ColorMap*)(new colormap::Ocean) : in applyColorMap() 774 colormap == COLORMAP_PARULA ? (colormap::ColorMap*)(new colormap::Parula) : in applyColorMap() 775 colormap == COLORMAP_PINK ? (colormap::ColorMap*)(new colormap::Pink) : in applyColorMap() [all …]
|
/dports/x11/polybar/polybar-3.5.7/lib/xpp/include/xpp/ |
H A D | colormap.hpp | 10 class colormap class 12 xpp::x::colormap, Interfaces ...> 19 colormap(C && c, Create && create, Destroy && destroy) in colormap() function in xpp::colormap 31 colormap<Connection, Interfaces ...> 34 return colormap( in create() 36 [&](const Connection & c, const xcb_colormap_t & colormap) in create() 42 xpp::x::free_colormap(c, colormap); in create() 48 colormap<Connection, Interfaces ...> 52 return colormap( in create_checked() 60 xpp::x::free_colormap_checked(c, colormap); in create_checked() [all …]
|
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/unix/ |
H A D | tkUnixColor.c | 49 Colormap colormap)); 130 Colormap colormap = Tk_Colormap(tkwin); local 145 DeleteStressedCmap(display, colormap); 165 DeleteStressedCmap(display, colormap); 213 DeleteStressedCmap(display, colormap); 267 stressPtr->colormap = colormap; 287 if (stressPtr->colormap == colormap) { 368 DeleteStressedCmap(display, colormap) in DeleteStressedCmap() argument 378 if (stressPtr->colormap == colormap) { 410 TkpCmapStressed(tkwin, colormap) in TkpCmapStressed() argument [all …]
|
/dports/graphics/GraphicsMagick/GraphicsMagick-1.3.36/coders/ |
H A D | map.c | 116 *colormap = (unsigned char *) NULL, in ReadMAPImage() local 152 p=colormap; in ReadMAPImage() 164 image->colormap[i].red|=(*p++); in ReadMAPImage() 166 image->colormap[i].green|=(*p++); in ReadMAPImage() 168 image->colormap[i].blue|=(*p++); in ReadMAPImage() 200 *q++=image->colormap[index]; in ReadMAPImage() 329 *colormap = (unsigned char *) NULL, in WriteMAPImage() local 366 q=colormap; in WriteMAPImage() 370 *q++=image->colormap[i].red; in WriteMAPImage() 371 *q++=image->colormap[i].green; in WriteMAPImage() [all …]
|
/dports/x11-toolkits/tk87/tk8.7a5/unix/ |
H A D | tkUnixColor.c | 47 Colormap colormap); 126 Colormap colormap = Tk_Colormap(tkwin); in TkpGetColor() local 162 DeleteStressedCmap(display, colormap); in TkpGetColor() 182 DeleteStressedCmap(display, colormap); in TkpGetColor() 222 Colormap colormap = Tk_Colormap(tkwin); in TkpGetColorByValue() local 229 DeleteStressedCmap(display, colormap); in TkpGetColorByValue() 271 Colormap colormap = Tk_Colormap(tkwin); in FindClosestColor() local 282 stressPtr->colormap = colormap; in FindClosestColor() 306 if (stressPtr->colormap == colormap) { in FindClosestColor() 396 if (stressPtr->colormap == colormap) { in DeleteStressedCmap() [all …]
|
/dports/x11-toolkits/tk86/tk8.6.12/unix/ |
H A D | tkUnixColor.c | 47 Colormap colormap); 126 Colormap colormap = Tk_Colormap(tkwin); in TkpGetColor() local 162 DeleteStressedCmap(display, colormap); in TkpGetColor() 182 DeleteStressedCmap(display, colormap); in TkpGetColor() 222 Colormap colormap = Tk_Colormap(tkwin); in TkpGetColorByValue() local 229 DeleteStressedCmap(display, colormap); in TkpGetColorByValue() 271 Colormap colormap = Tk_Colormap(tkwin); in FindClosestColor() local 282 stressPtr->colormap = colormap; in FindClosestColor() 306 if (stressPtr->colormap == colormap) { in FindClosestColor() 396 if (stressPtr->colormap == colormap) { in DeleteStressedCmap() [all …]
|