Home
last modified time | relevance | path

Searched refs:colormap (Results 151 – 175 of 10275) sorted by relevance

12345678910>>...411

/dports/math/plplot/plplot-5.15.0/bindings/octave/PLplot/
H A Dcolormap.m15 ## cmap = colormap([map])
20 ## if map == 'default', returns and sets the default hsl colormap
21 ## if map don't exist, return the current colormap
23 function ccmap = colormap(map) function
30 if (struct_contains(__pl, "colormap"))
31 cmap = __pl.colormap;
37 cmap = __pl.colormap = [r, g, b];
52 map = __pl.colormap = [r, g, b];
60 # octave colormaps if this version of colormap is on the path at
67 help colormap
[all …]
/dports/math/plplot-ada/plplot-5.15.0/bindings/octave/PLplot/
H A Dcolormap.m15 ## cmap = colormap([map])
20 ## if map == 'default', returns and sets the default hsl colormap
21 ## if map don't exist, return the current colormap
23 function ccmap = colormap(map) function
30 if (struct_contains(__pl, "colormap"))
31 cmap = __pl.colormap;
37 cmap = __pl.colormap = [r, g, b];
52 map = __pl.colormap = [r, g, b];
60 # octave colormaps if this version of colormap is on the path at
67 help colormap
[all …]
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/io/_plugins/
H A Dq_histogram.py22 def __init__(self, counts, colormap): argument
24 self._validate_input(counts, colormap)
27 self.colormap = colormap
30 def _validate_input(self, counts, colormap): argument
31 if len(counts) != len(colormap):
32 if len(colormap) != 3:
75 if hasattr(self.colormap[0], '__iter__'):
79 r, g, b = self.colormap[i]
88 r, g, b = self.colormap
102 self.colormap = cmap
/dports/lang/fpc-source/fpc-3.2.2/packages/gtk2/src/gtk+/gdk/
H A Dgdkcolor.inc7 dependent on the depth and colormap which this color will
45 { The colormap type. }
69 procedure gdk_colormap_change(colormap:PGdkColormap; ncolors:gint); cdecl; external gdklib;
75 procedure gdk_colormap_free_colors(colormap:PGdkColormap; colors:PGdkColor; ncolors:gint); cdecl; e…
76 procedure gdk_colormap_query_color(colormap:PGdkColormap; pixel:gulong; result:PGdkColor); cdecl; e…
78 function gdk_colormap_get_visual(colormap:PGdkColormap):PGdkVisual; cdecl; external gdklib;
88 procedure gdk_colors_store(colormap:PGdkColormap; colors:PGdkColor; ncolors:gint); cdecl; external …
92 function gdk_color_white(colormap:PGdkColormap; color:PGdkColor):gint; cdecl; external gdklib;
93 function gdk_color_black(colormap:PGdkColormap; color:PGdkColor):gint; cdecl; external gdklib;
94 function gdk_color_alloc(colormap:PGdkColormap; color:PGdkColor):gint; cdecl; external gdklib;
[all …]
/dports/x11-toolkits/fpc-gtk2/fpc-3.2.2/packages/gtk2/src/gtk+/gdk/
H A Dgdkcolor.inc7 dependent on the depth and colormap which this color will
45 { The colormap type. }
69 procedure gdk_colormap_change(colormap:PGdkColormap; ncolors:gint); cdecl; external gdklib;
75 procedure gdk_colormap_free_colors(colormap:PGdkColormap; colors:PGdkColor; ncolors:gint); cdecl; e…
76 procedure gdk_colormap_query_color(colormap:PGdkColormap; pixel:gulong; result:PGdkColor); cdecl; e…
78 function gdk_colormap_get_visual(colormap:PGdkColormap):PGdkVisual; cdecl; external gdklib;
88 procedure gdk_colors_store(colormap:PGdkColormap; colors:PGdkColor; ncolors:gint); cdecl; external …
92 function gdk_color_white(colormap:PGdkColormap; color:PGdkColor):gint; cdecl; external gdklib;
93 function gdk_color_black(colormap:PGdkColormap; color:PGdkColor):gint; cdecl; external gdklib;
94 function gdk_color_alloc(colormap:PGdkColormap; color:PGdkColor):gint; cdecl; external gdklib;
[all …]
/dports/x11-toolkits/xmhtml/XmHTML-1.1.10/lib/common/
H A Dcolors.c229 COLORMAP colormap; in _XmHTMLGetPixelByName() local
254 colormap = TkaGetColormap(html); in _XmHTMLGetPixelByName()
369 COLORMAP colormap; in XmHTMLAllocColor() local
388 colormap = TkaGetColormap(w); in XmHTMLAllocColor()
678 Byte **colormap; in CreateColormap() local
766 colormap[i][k+l] = (Byte)val; in CreateColormap()
781 GETR(cmap[i]) = colormap[0][i]; in CreateColormap()
782 GETG(cmap[i]) = colormap[1][i]; in CreateColormap()
783 GETB(cmap[i]) = colormap[2][i]; in CreateColormap()
788 free(colormap[i]); in CreateColormap()
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/XmHTML/lib/common/
H A Dcolors.c229 COLORMAP colormap; in _XmHTMLGetPixelByName() local
254 colormap = TkaGetColormap(html); in _XmHTMLGetPixelByName()
365 COLORMAP colormap; in XmHTMLAllocColor() local
384 colormap = TkaGetColormap(w); in XmHTMLAllocColor()
674 Byte **colormap; in CreateColormap() local
762 colormap[i][k+l] = (Byte)val; in CreateColormap()
777 GETR(cmap[i]) = colormap[0][i]; in CreateColormap()
778 GETG(cmap[i]) = colormap[1][i]; in CreateColormap()
779 GETB(cmap[i]) = colormap[2][i]; in CreateColormap()
784 free(colormap[i]); in CreateColormap()
[all …]
/dports/astro/gnuastro/gnuastro-0.16/bin/convertt/
H A Dui.c243 strarr=p->colormap->array; in ui_colormap_sanity_check()
254 p->colormap->status=ccode; in ui_colormap_sanity_check()
259 if(p->colormap->size!=1 && p->colormap->size != (nparams+1) ) in ui_colormap_sanity_check()
269 if(p->colormap->size==1) in ui_colormap_sanity_check()
295 p->colormap->next=gal_data_copy_to_new_type(p->colormap, in ui_colormap_sanity_check()
356 if(p->colormap) in ui_read_check_only_options()
759 if( p->colormap==NULL ) in ui_prepare_input_channels()
769 if(p->colormap->next) gal_data_free(p->colormap->next); in ui_prepare_input_channels()
771 p->colormap=NULL; in ui_prepare_input_channels()
1113 if(p->colormap) in ui_free_report()
[all …]
/dports/science/h5utils/h5utils-1.13.1/
H A Dwritepng.c180 int j = i * 1.0/254 * (colormap.n - 1); in init_palette()
184 r = colormap.rgba[j].r * (1-dj) + colormap.rgba[j2].r * dj; in init_palette()
185 g = colormap.rgba[j].g * (1-dj) + colormap.rgba[j2].g * dj; in init_palette()
186 b = colormap.rgba[j].b * (1-dj) + colormap.rgba[j2].b * dj; in init_palette()
200 colormap_t colormap) in init_alpha() argument
205 for (i = 0; i < colormap.n; ++i) in init_alpha()
208 if (i >= colormap.n) in init_alpha()
216 float a = colormap.rgba[j].a * (1-dj) + colormap.rgba[j2].a * dj; in init_alpha()
408 colormap, minrange, maxrange, scale, in writepng()
423 colormap, minrange, maxrange, scale, in writepng()
[all …]
/dports/graphics/ImageMagick7-nox11/ImageMagick-7.1.0-19/coders/
H A Dwpg.c1265 *colormap; in ReadWPGImage() local
1270 colormap=image->colormap; in ReadWPGImage()
1275 colormap=(PixelInfo *) in ReadWPGImage()
1279 (void) memcpy(image->colormap,colormap,MagickMin( in ReadWPGImage()
1281 colormap=(PixelInfo *) in ReadWPGImage()
1288 if(image->colormap[0].red==0 && in ReadWPGImage()
1290 image->colormap[0].blue==0 && in ReadWPGImage()
1291 image->colormap[1].red==0 && in ReadWPGImage()
1293 image->colormap[1].blue==0) in ReadWPGImage()
1295 image->colormap[1].red = in ReadWPGImage()
[all …]
/dports/graphics/ImageMagick7/ImageMagick-7.1.0-19/coders/
H A Dwpg.c1265 *colormap; in ReadWPGImage() local
1270 colormap=image->colormap; in ReadWPGImage()
1275 colormap=(PixelInfo *) in ReadWPGImage()
1279 (void) memcpy(image->colormap,colormap,MagickMin( in ReadWPGImage()
1281 colormap=(PixelInfo *) in ReadWPGImage()
1288 if(image->colormap[0].red==0 && in ReadWPGImage()
1290 image->colormap[0].blue==0 && in ReadWPGImage()
1291 image->colormap[1].red==0 && in ReadWPGImage()
1293 image->colormap[1].blue==0) in ReadWPGImage()
1295 image->colormap[1].red = in ReadWPGImage()
[all …]
/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Dv_palette.cpp143 colormap = colormap->next; in shaderef_t()
144 } while (colormap); in shaderef_t()
489 palindex_t* colormap = maps.colormap; in BuildDefaultColorAndShademap() local
565 if (pal->maps.colormap && pal->maps.colormap - pal->colormapsbase >= 256) { in RefreshPalette()
855 while (colormap) { in GetSpecialLights()
856 if (color == colormap->color && fade == colormap->fade) in GetSpecialLights()
857 return colormap; in GetSpecialLights()
859 colormap = colormap->next; in GetSpecialLights()
863 colormap = (dyncolormap_t *)Z_Malloc (sizeof(*colormap), PU_LEVEL, 0); in GetSpecialLights()
866 maps->colormap = (byte *)(((ptrdiff_t)maps->colormap + 255) & ~0xff); in GetSpecialLights()
[all …]
/dports/irc/insub/insub-16.0/old/dist/
H A Dgay-2.1.pl217 my @colormap;
220 @colormap = (4,4,7,7,5,5,8,8,9,9,3,3,10,10,11,11,12,12,2,2,6,6,13,13);
223 @colormap = (4,4,0,0,12,12,4,4,0,0,12,12,4,4,0,0,12,12,4,4,0,0,12,12);
226 while (scalar(@colormap) < 24) {
229 push(@colormap, $color);
236 @colormap = (2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12);
239 @colormap = (3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9);
242 @colormap = (6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13);
248 @colormap = (7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8);
251 @colormap = (4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5);
[all …]
H A Dgay-1.6.pl216 my @colormap;
219 @colormap = (4,4,7,7,5,5,8,8,9,9,3,3,10,10,11,11,12,12,2,2,6,6,13,13);
222 @colormap = (4,4,0,0,12,12,4,4,0,0,12,12,4,4,0,0,12,12,4,4,0,0,12,12);
225 while (scalar(@colormap) < 24) {
228 push(@colormap, $color);
235 @colormap = (2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12);
238 @colormap = (3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9);
241 @colormap = (6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13);
247 @colormap = (7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8);
250 @colormap = (4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5);
[all …]
H A Dgay-2.0.pl216 my @colormap;
219 @colormap = (4,4,7,7,5,5,8,8,9,9,3,3,10,10,11,11,12,12,2,2,6,6,13,13);
222 @colormap = (4,4,0,0,12,12,4,4,0,0,12,12,4,4,0,0,12,12,4,4,0,0,12,12);
225 while (scalar(@colormap) < 24) {
228 push(@colormap, $color);
235 @colormap = (2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12,2,12);
238 @colormap = (3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9,3,9);
241 @colormap = (6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13,6,13);
247 @colormap = (7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8,7,8);
250 @colormap = (4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5,4,5);
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/SUMA/GLUT/libglut/
H A Dglut_cindex.c98 cmap = __glutCurrentWindow->colormap; in glutSetColor()
154 __glutCurrentWindow->colormap = cmap; in glutSetColor()
184 GLUTcolormap *colormap; in glutGetColor() local
188 colormap = __glutCurrentWindow->colormap; in glutGetColor()
191 colormap = __glutCurrentWindow->overlay->colormap; in glutGetColor()
200 if (!colormap) { in glutGetColor()
208 return colormap->cells[ndx].component[comp]; in glutGetColor()
246 oldcmap = __glutCurrentWindow->colormap; in glutCopyColormap()
248 newcmap = window->colormap; in glutCopyColormap()
256 newcmap = window->overlay->colormap; in glutCopyColormap()
[all …]
/dports/cad/calculix/CalculiX/glut-3.5/src/
H A Dglut_cindex.c111 cmap = __glutCurrentWindow->colormap; in glutSetColor()
178 __glutCurrentWindow->colormap = cmap; in glutSetColor()
216 GLUTcolormap *colormap; in glutGetColor() local
220 colormap = __glutCurrentWindow->colormap; in glutGetColor()
223 colormap = __glutCurrentWindow->overlay->colormap; in glutGetColor()
232 if (!colormap) { in glutGetColor()
245 return colormap->cells[ndx].component[comp]; in glutGetColor()
285 oldcmap = __glutCurrentWindow->colormap; in glutCopyColormap()
287 newcmap = window->colormap; in glutCopyColormap()
295 newcmap = window->overlay->colormap; in glutCopyColormap()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dr_draw.cpp206 BYTE *colormap = dc_colormap; in R_DrawColumnP_C() local
560 BYTE *colormap = dc_colormap; in R_DrawAddColumnP_C() local
605 BYTE *colormap = dc_colormap; in R_DrawTranslatedColumnP_C() local
641 BYTE *colormap = dc_colormap; in R_DrawTlatedAddColumnP_C() local
680 BYTE *colormap = dc_colormap; in R_DrawShadedColumnP_C() local
715 BYTE *colormap = dc_colormap; in R_DrawAddClampColumnP_C() local
1023 ds_colormap = colormap; in R_SetSpanColormap()
1165 *dest = colormap[texdata]; in R_DrawSpanMaskedP_C()
1185 *dest = colormap[texdata]; in R_DrawSpanMaskedP_C()
1494 slabcolormap = colormap; in R_SetupDrawSlabC()
[all …]
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dr_draw8_npo2.c33 UINT8 *colormap; in R_DrawSpan_NPO2_8() local
101 UINT8 *colormap; in R_DrawTiltedSpan_NPO2_8() local
294 UINT8 *colormap; in R_DrawTiltedTranslucentSpan_NPO2_8() local
483 UINT8 *colormap; in R_DrawTiltedSplat_NPO2_8() local
689 UINT8 *colormap; in R_DrawSplat_NPO2_8() local
757 UINT8 *colormap; in R_DrawTranslucentSplat_NPO2_8() local
826 UINT8 *colormap; in R_DrawFloorSprite_NPO2_8() local
896 UINT8 *colormap; in R_DrawTranslucentFloorSprite_NPO2_8() local
965 UINT8 *colormap; in R_DrawTiltedFloorSprite_NPO2_8() local
1115 UINT8 *colormap; in R_DrawTiltedTranslucentFloorSprite_NPO2_8() local
[all …]
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/color_quant-1.1.0/src/
H A Dlib.rs105 colormap: Vec<Color>, field
141 self.colormap.clear(); in init()
155 self.colormap.push(Color { in init()
193 self.colormap
201 for entry in &self.colormap { in color_map_rgba()
213 for entry in &self.colormap { in color_map_rgb()
383 let mut p = self.colormap[i]; in build_netindex()
389 q = self.colormap[j]; in build_netindex()
396 q = self.colormap[smallpos]; in build_netindex()
400 self.colormap[i] = p; in build_netindex()
[all …]
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/color_quant-1.1.0/src/
H A Dlib.rs105 colormap: Vec<Color>, field
141 self.colormap.clear(); in init()
155 self.colormap.push(Color { in init()
193 self.colormap
201 for entry in &self.colormap { in color_map_rgba()
213 for entry in &self.colormap { in color_map_rgb()
383 let mut p = self.colormap[i]; in build_netindex()
389 q = self.colormap[j]; in build_netindex()
396 q = self.colormap[smallpos]; in build_netindex()
400 self.colormap[i] = p; in build_netindex()
[all …]
/dports/misc/broot/broot-1.7.0/cargo-crates/color_quant-1.1.0/src/
H A Dlib.rs105 colormap: Vec<Color>, field
141 self.colormap.clear(); in init()
155 self.colormap.push(Color { in init()
193 self.colormap
201 for entry in &self.colormap { in color_map_rgba()
213 for entry in &self.colormap { in color_map_rgb()
383 let mut p = self.colormap[i]; in build_netindex()
389 q = self.colormap[j]; in build_netindex()
396 q = self.colormap[smallpos]; in build_netindex()
400 self.colormap[i] = p; in build_netindex()
[all …]
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/color_quant-1.1.0/src/
H A Dlib.rs105 colormap: Vec<Color>, field
141 self.colormap.clear(); in init()
155 self.colormap.push(Color { in init()
193 self.colormap
201 for entry in &self.colormap { in color_map_rgba()
213 for entry in &self.colormap { in color_map_rgb()
383 let mut p = self.colormap[i]; in build_netindex()
389 q = self.colormap[j]; in build_netindex()
396 q = self.colormap[smallpos]; in build_netindex()
400 self.colormap[i] = p; in build_netindex()
[all …]
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/color_quant-1.1.0/src/
H A Dlib.rs105 colormap: Vec<Color>, field
141 self.colormap.clear(); in init()
155 self.colormap.push(Color { in init()
193 self.colormap
201 for entry in &self.colormap { in color_map_rgba()
213 for entry in &self.colormap { in color_map_rgb()
383 let mut p = self.colormap[i]; in build_netindex()
389 q = self.colormap[j]; in build_netindex()
396 q = self.colormap[smallpos]; in build_netindex()
400 self.colormap[i] = p; in build_netindex()
[all …]
/dports/security/gpg-tui/gpg-tui-0.8.2/cargo-crates/color_quant-1.1.0/src/
H A Dlib.rs105 colormap: Vec<Color>, field
141 self.colormap.clear(); in init()
155 self.colormap.push(Color { in init()
193 self.colormap
201 for entry in &self.colormap { in color_map_rgba()
213 for entry in &self.colormap { in color_map_rgb()
383 let mut p = self.colormap[i]; in build_netindex()
389 q = self.colormap[j]; in build_netindex()
396 q = self.colormap[smallpos]; in build_netindex()
400 self.colormap[i] = p; in build_netindex()
[all …]

12345678910>>...411