Home
last modified time | relevance | path

Searched refs:ncolors (Results 1 – 25 of 2936) sorted by last modified time

12345678910>>...118

/dports/x11-wm/libwraster/WindowMaker-0.95.9/wrlib/
H A Dwraster.h179 int ncolors; /* total number of colors we can use */ member
/dports/x11-wm/jewel/jewel-0.12.41/goodies/setrootimage/
H A Dimage.cc74 control->getColorTable(&colors, &ncolors); in BImage()
181 if ((! colors) || (! ncolors)) { in renderXImage()
1418 ncolors = 0; in BImageControl()
1479 if (ncolors > (1 << screen_depth)) { in BImageControl()
1492 colors = new XColor[ncolors]; in BImageControl()
1521 for (i = 0; i < ncolors; i++) in BImageControl()
1539 for (i = 0; i < ncolors; i++) { in BImageControl()
1601 unsigned long *pixels = new unsigned long [ncolors]; in ~BImageControl()
1604 for (i = 0; i < ncolors; i++) in ~BImageControl()
1608 pixels, ncolors, 0); in ~BImageControl()
[all …]
H A Dimage.hh74 int roff, goff, boff, ncolors, cpc, cpccpc; member in BImage
118 int colors_per_channel, ncolors, screen_number, screen_depth, member in BImageControl
/dports/x11-wm/jewel/jewel-0.12.41/goodies/appbar/
H A Dimage.cc74 control->getColorTable(&colors, &ncolors); in BImage()
181 if ((! colors) || (! ncolors)) { in renderXImage()
1418 ncolors = 0; in BImageControl()
1479 if (ncolors > (1 << screen_depth)) { in BImageControl()
1492 colors = new XColor[ncolors]; in BImageControl()
1521 for (i = 0; i < ncolors; i++) in BImageControl()
1539 for (i = 0; i < ncolors; i++) { in BImageControl()
1601 unsigned long *pixels = new unsigned long [ncolors]; in ~BImageControl()
1604 for (i = 0; i < ncolors; i++) in ~BImageControl()
1608 pixels, ncolors, 0); in ~BImageControl()
[all …]
/dports/x11-toolkits/gtkada/gtkada-2.24.4.0/src/gtkextra/
H A Dgtkplotdata.c2407 gint ncolors = line_height * (data->gradient->ticks.nticks - 1); in draw_gradient_vertical() local
2414 for(l = ncolors; l >= 0; l -= 1){ in draw_gradient_vertical()
2415 h = gtk_plot_axis_ticks_inverse(data->gradient, (gdouble)l/(gdouble)ncolors); in draw_gradient_vertical()
2431 ncolors); in draw_gradient_vertical()
2727 gint ncolors = line_width * (data->gradient->ticks.nticks - 1); in draw_gradient_horizontal() local
2734 for(l = ncolors; l >= 0; l -= 1){ in draw_gradient_horizontal()
2735 h = gtk_plot_axis_ticks_inverse(data->gradient, (gdouble)l/(gdouble)ncolors); in draw_gradient_horizontal()
2750 ncolors, in draw_gradient_horizontal()
/dports/x11-toolkits/p5-Prima/Prima-1.63/unix/
H A Dapc_img.c592 create_rgb_to_8_lut( int ncolors, const PRGBColor pal, Pixel8 *lut) in create_rgb_to_8_lut() argument
595 for ( i = 0; i < ncolors; i++) in create_rgb_to_8_lut()
603 create_rgb_to_16_lut( int ncolors, const PRGBColor pal, Pixel16 *lut) in create_rgb_to_16_lut() argument
606 for ( i = 0; i < ncolors; i++) in create_rgb_to_16_lut()
612 for ( i = 0; i < ncolors; i++) in create_rgb_to_16_lut()
653 for ( i = 0; i < ncolors; i++) in create_rgb_to_xpixel_lut()
659 for ( i = 0; i < ncolors; i++) in create_rgb_to_xpixel_lut()
1107 for ( i = 0; i < ncolors; i++) in create_rgb_to_argb_xpixel_lut()
1113 for ( i = 0; i < ncolors; i++) in create_rgb_to_argb_xpixel_lut()
1121 for ( i = 0; i < ncolors; i++) in create_rgb_to_alpha_xpixel_lut()
[all …]
/dports/x11-toolkits/p5-Prima/Prima-1.63/img/
H A Dcodec_Xpm.c215 for ( i = 0; i < l-> image. ncolors; i++) in load()
260 i-> palSize = l-> image. ncolors; in load()
268 i-> palSize = l-> image. ncolors; in load()
451 image. ncolors = hash_count( hash); in save()
452 image. cpp = ( image. ncolors <= 4096) ? in save()
453 (( image. ncolors <= 64) ? 1 : 2) : in save()
454 (( image. ncolors <= 262144) ? 3 : 4); in save()
468 int x, y, type = i-> type & imBPP, val = 0, transcolor = -1, ncolors = image. ncolors; in save() local
473 if ( mask) transcolor = image. ncolors++; in save()
505 image. cpp = ( image. ncolors > 64) ? 2 : 1; in save()
[all …]
/dports/x11-toolkits/open-motif/motif-2.3.8/lib/Xm/
H A DXpmI.h262 FUNC(xpmFreeColorTable, void, (XpmColor *colorTable, int ncolors));
306 #define USE_HASHTABLE (cpp > 2 && ncolors > 4)
323 unsigned int *height, unsigned int *ncolors,
328 FUNC(xpmParseColors, int, (xpmData *data, unsigned int ncolors,
/dports/x11-drivers/xf86-video-scfb/xf86-video-scfb-0.0.7/src/
H A Dscfb_driver.c674 int ret, flags, ncolors; in ScfbScreenInit() local
866 ncolors = 256; in ScfbScreenInit()
867 if(!xf86HandleColormaps(pScreen, ncolors, 8, ScfbLoadPalette, in ScfbScreenInit()
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/
H A Dbsod.c4828 nvspatter (nvcell *grid, int rows, int cols, int ncolors, int nbits, in nvspatter() argument
4839 int fg = random() % ncolors; in nvspatter()
4840 int bg = random() % ncolors; in nvspatter()
4871 fg = random() % ncolors; in nvspatter()
4872 bg = random() % ncolors; in nvspatter()
4885 int ncolors; member
4926 nvspatter (nvs->grid, nvs->rows, nvs->cols, nvs->ncolors, in nvidia_draw()
4960 nvs->ncolors = 16; in nvidia()
4961 for (i = 0; i < nvs->ncolors; i++) in nvidia()
4996 nvspatter (nvs->grid, nvs->rows, nvs->cols, nvs->ncolors, in nvidia()
[all …]
H A Dmemscroller.c81 int ncolors = 255; in memscroller_init() local
84 colors, &ncolors, True, True, 0, False); in memscroller_init()
/dports/x11/xscreensaver/xscreensaver-5.44/driver/
H A DXScreenSaver.ad.in350 xearth -nofork -ncolors 50 -night 3 \
/dports/x11/xloadimage/xloadimage.4.1/
H A Dnew.c58 unsigned long colorsToDepth(ncolors) in colorsToDepth() argument
59 unsigned long ncolors; in colorsToDepth()
62 for (a= 0; (a < 32) && (DepthToColorsTable[a] < ncolors); a++)
H A Dxwd.c65 header->ncolors= memToVal(gh.ncolors, 4);
453 cmaplen= header.ncolors * sizeof(XWDColor);
498 image->rgb.used= header.ncolors;
499 for (a= 0; a < header.ncolors; a++) {
H A Dxpixmap.c48 unsigned int ncolors; /* number of colors */ local
66 format= w= h= ncolors= 0;
88 ncolors= value;
112 if ((format != XPM_FORMAT) || !w || !h || !ncolors || !cpp) {
128 name, w, h, ncolors, imagetitle);
130 for (depth= 1, value= 2; value < ncolors; value <<= 1, depth++)
133 image->rgb.used= ncolors;
139 ctable= (char **)lmalloc(sizeof(char *) * ncolors);
141 for (a= 0; a < ncolors; a++) {
217 for (a= 0; a < ncolors; a++)
[all …]
H A Dgif.c384 static int gifin_load_cmap(cmap, ncolors) in gifin_load_cmap() argument
386 int ncolors;
390 for (i=0; i<ncolors; i++)
/dports/x11/xmotd/xmotd-1.17.3b/libhtmlw/
H A DHTML-PSformat.c1104 int ncolors = img->num_colors; in ARG2() local
1160 if ((ncolors == 2 && ( (Isgray(img,0) && Isgray(img,1)) || in ARG2()
1163 ncolors == 1 && (Isgray(img,0) || Is_bg(img,0) || in ARG2()
1174 for (i=0; i<ncolors; i++) { in ARG2()
1204 if ((ncolors == 2 && in ARG2()
1207 (ncolors == 1 && in ARG2()
1233 PScolormap(colorps, ncolors, img->reds, img->greens, img->blues); in ARG2()
/dports/textproc/py-ocrmypdf/ocrmypdf-12.7.2/src/ocrmypdf/
H A Dleptonica.py817 buflen = len('< ') + len(' rrggbb') * self._cdata.ncolors + len('>')
/dports/textproc/htmldoc/htmldoc-1.9.13/htmldoc/
H A Dps-pdf.cxx10300 ncolors = 0; in write_image()
10333 ncolors ++; in write_image()
10347 ncolors = 0; in write_image()
10388 ncolors = 0; in write_image()
10392 if (ncolors > 0) in write_image()
10613 if (ncolors == 1) in write_image()
10619 ncolors = 2; in write_image()
10684 if (ncolors > 0) in write_image()
10760 if (ncolors > 0) in write_image()
10778 if (ncolors > 0) in write_image()
[all …]
/dports/shells/tcshrc/tcshrc/src/
H A Dtcshrc.complete658 messagesfile mode name ncolors nice nomailIcon none3d \
/dports/security/steghide/steghide-0.5.1/src/
H A DBmpFile.cc517 unsigned int ncolors = 0 ; in bmpwin_readheaders() local
524 ncolors = 2 ; in bmpwin_readheaders()
532 ncolors = 16 ; in bmpwin_readheaders()
536 ncolors = 256 ; in bmpwin_readheaders()
544 ncolors = bmih.biClrUsed ; in bmpwin_readheaders()
547 for (unsigned int i = 0 ; i < ncolors ; i++) { in bmpwin_readheaders()
605 unsigned int ncolors = 0 ; in bmpos2_readheaders() local
613 ncolors = 2 ; in bmpos2_readheaders()
621 ncolors = 16 ; in bmpos2_readheaders()
625 ncolors = 256 ; in bmpos2_readheaders()
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/python_scripts/afnipy/
H A Dlib_apqc_io.py816 self.ncolors = 0
1159 self.ncolors+= 1
1341 m = i % self.ncolors
/dports/science/afni/afni-AFNI_21.3.16/src/scripts_install/
H A D@chauffeur_afni389 set ncolors = "99" # default number of colors
652 set ncolors = "$argv[$ac]"
2095 echo "set ncolors = "\""${ncolors}"\""" >> $oechocmd
2141 -com "SET_PBAR_ALL ${pbar_sign}${ncolors} $topval $my_cbar" \\\
2171 -com "SET_PBAR_ALL ${pbar_sign}${ncolors} $topval $my_cbar" \
2215 echo "set ncolors = "\""${ncolors}"\""" >> $oechocmd
2285 -com "SET_PBAR_ALL ${pbar_sign}${ncolors} $topval $my_cbar" \\\
2313 -com "SET_PBAR_ALL ${pbar_sign}${ncolors} $topval $my_cbar" \
/dports/print/transfig/transfig.3.2.5e/fig2dev/dev/
H A Dgenps.c1603 convert_xpm_colors(l->pic->cmap,coltabl,l->pic->xpmimage.ncolors);
1616 (void) PSencode(img_w, img_h, -1, l->pic->xpmimage.ncolors,
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/hw/xnest/
H A DColor.c50 int i, ncolors; in xnestCreateColormap() local
55 ncolors = pVisual->ColormapEntries; in xnestCreateColormap()
65 colors = xallocarray(ncolors, sizeof(XColor)); in xnestCreateColormap()
66 for (i = 0; i < ncolors; i++) in xnestCreateColormap()
69 for (i = 0; i < ncolors; i++) { in xnestCreateColormap()
78 colors = xallocarray(ncolors, sizeof(XColor)); in xnestCreateColormap()
79 for (i = 0; i < ncolors; i++) in xnestCreateColormap()
82 for (i = 0; i < ncolors; i++) { in xnestCreateColormap()
91 colors = xallocarray(ncolors, sizeof(XColor)); in xnestCreateColormap()
96 for (i = 0; i < ncolors; i++) { in xnestCreateColormap()
[all …]

12345678910>>...118