Home
last modified time | relevance | path

Searched refs:ncolors (Results 1 – 25 of 2936) sorted by path

12345678910>>...118

/dports/astro/py-metpy/MetPy-1.1.0/examples/gridding/
H A DPoint_Interpolation.py76 norm = BoundaryNorm(levels, ncolors=cmap.N, clip=True)
H A DWind_SLP_Interpolation.py87 norm = BoundaryNorm(levels, ncolors=cmap.N, clip=True)
/dports/astro/qmapshack/qmapshack-V_1.16.1/src/qmapshack/map/garmin/
H A DCGarminTyp.cpp947 if(ncolors < 3) in decodeBppAndBytes()
949 bpp = ncolors; in decodeBppAndBytes()
951 else if(ncolors == 3) in decodeBppAndBytes()
955 else if(ncolors < 16) in decodeBppAndBytes()
972 if(ncolors == 0) in decodeBppAndBytes()
976 else if(ncolors < 3) in decodeBppAndBytes()
980 else if(ncolors < 15) in decodeBppAndBytes()
997 if(ncolors == 0) in decodeBppAndBytes()
1001 else if(ncolors < 3) in decodeBppAndBytes()
1003 bpp = ncolors; in decodeBppAndBytes()
[all …]
H A DCGarminTyp.h213 bool decodeBppAndBytes(int ncolors, int w, int flags, int& bpp, int& bytes);
214 bool decodeColorTable(QDataStream& in, QImage& img, int ncolors, int maxcolor, bool hasAlpha);
/dports/astro/qmapshack/qmapshack-V_1.16.1/src/qmt_rgb2pct/
H A DCApp.cpp43 CApp::CApp(qint32 ncolors, const QString& pctFilename, const QString& sctFilename, const QString& s… in CApp() argument
44 : ncolors(ncolors) in CApp()
76 ct = createColorTable(ncolors, pctFilename, dsSrc); in exec()
92 GDALColorTable* CApp::createColorTable(qint32 ncolors, const QString& pctFilename, GDALDataset* dat… in createColorTable() argument
107 ncolors, in createColorTable()
H A DCApp.h32 …CApp(qint32 ncolors, const QString& pctFilename, const QString& sctFilename, const QString& srcFil…
38 …static GDALColorTable* createColorTable(qint32 ncolors, const QString& pctFilename, GDALDataset* d…
42 qint32 ncolors = 0; variable
H A Dmain.cpp138 const qint32 ncolors = parser.value("ncolors").toInt(&ok); in main() local
139 if(!ok || ncolors > 255) in main()
150 CApp theApp(ncolors, pctFilename, sctFilename, srcFilename, tarFilename); in main()
/dports/astro/qmapshack/qmapshack-V_1.16.1/src/qmt_rgb2pct/locale/
H A Dqmt_rgb2pct.ts122 <source>--ncolors must be an integer value less than 256</source>
H A Dqmt_rgb2pct_de.ts123 <source>--ncolors must be an integer value less than 256</source>
124 <translation>--ncolors muss eine ganze Zahl kleiner 256 sein</translation>
/dports/astro/sunclock/sunclock-3.57/
H A Dreadjpeg.c187 Context->ncolors = k;
H A Dreadvmf.c563 Context->ncolors = num_colors;
H A Dreadxpm.c54 Context->ncolors = attrib.npixels;
H A Dsunclock.c4148 Context->ncolors);
4154 for (i=0; i<Context->ncolors; i++) {
4167 for (i=0; i<Context->ncolors; i++) {
4175 if (Context->ncolors<=quantum) goto finish;
4186 for(i=0; i<Context->ncolors; i++)
4187 for(j=i+1; j<Context->ncolors; j++) {
4218 if (l>=Context->ncolors-quantum) break;
4228 for (i=0; i<Context->ncolors; i++) {
4247 for (i=0; i<Context->ncolors; i++) done[i] = 0;
4251 for (i=0; i<Context->ncolors; i++) {
[all …]
H A Dsunclock.h240 int ncolors; /* number of colors in day pixels */ member
/dports/astro/wmglobe/wmglobe-1.3/src/
H A Dmycontext.c65 int i, ncolors, r, g, b; in allocatePseudoColor() local
69 ncolors = cpc * cpc * cpc; in allocatePseudoColor()
75 ncolors = cpc * cpc * cpc; in allocatePseudoColor()
135 for (i = 0; i < ncolors; i++) { in allocatePseudoColor()
150 for (i = 0; i < ncolors; i++) { in allocatePseudoColor()
193 int i, ncolors, r, g, b; in allocateGrayScale() local
197 ncolors = cpc * cpc * cpc; in allocateGrayScale()
201 ncolors = 1 << ctx->depth; in allocateGrayScale()
203 if (ncolors > (1 << ctx->depth)) { in allocateGrayScale()
207 ncolors = cpc * cpc * cpc; in allocateGrayScale()
[all …]
/dports/astro/xearth/xearth-1.2/
H A Ddither.c65 void dither_setup(ncolors) in dither_setup() argument
66 int ncolors; in dither_setup()
73 half = (ncolors - 2) / 2;
74 ncolors = half*2 + 2;
75 dither_ncolors = ncolors;
77 level = (u_char *) malloc((unsigned) ncolors);
80 nbytes = ncolors * 3;
103 dither_colormap[(ncolors-1)*3+0] = 255;
104 dither_colormap[(ncolors-1)*3+1] = 255;
105 dither_colormap[(ncolors-1)*3+2] = 255;
[all …]
H A Dgifout.c105 static int ncolors; /* number of colors */ variable
166 ncolors = 1 << pixel_bits;
190 for (i=sz; i<ncolors; i++)
245 root_size = root_bits(ncolors);
/dports/audio/ardour6/Ardour-6.8.0/gtk2_ardour/
H A Dcolor_theme_manager.cc338 uint32_t ncolors = UIConfiguration::instance().colors.size(); in palette_size_request() local
341 double c = sqrt ((double)ncolors); in palette_size_request()
347 if (fmod (ncolors, c) != 0.0) { in palette_size_request()
/dports/audio/bristol/bristol-0.60.10/include/brighton/
H A Dbrightoninternals.h101 int width, height, ncolors, ctabsize, istatic, ostatic; member
/dports/audio/bristol/bristol-0.60.10/libbrighton/
H A DbrightonBitmaps.c42 bitmap->ncolors = 0; in brightonCreateBitmap()
153 for (i = 0; i < bitmaplist->ncolors;i++) in brightonFreeBitmap()
H A DbrightonColorMgt.c583 brightonFindColor(brightonPalette *palette, int ncolors, in brightonFindColor() argument
615 for (i = 0; i < ncolors; i++) in brightonFindColor()
632 brightonFindFreeColor(brightonPalette *palette, int ncolors) in brightonFindFreeColor() argument
636 for (i = 0; i < ncolors; i++) in brightonFindFreeColor()
770 brightonInitColormap(brightonWindow *bwin, int ncolors) in brightonInitColormap() argument
781 brightonmalloc(ncolors * sizeof(brightonPalette)); in brightonInitColormap()
783 for (i = 0; i < ncolors; i++) in brightonInitColormap()
H A DbrightonHammond.c162 image2.ncolors = dev->image2->ncolors; in displayhammond()
H A DbrightonModWheel.c153 image2.ncolors = dev->image2->ncolors; in displaymodwheel()
H A DbrightonXpmRead.c204 bitmap->ncolors = colors; in xpmread()
/dports/audio/bristol/bristol-0.60.10/libbrightonX11/
H A DbRender.c450 int *pixels = bitmap->pixels, ncolors = bd->ocount, cindex; in BDrawPixmap() local
467 ncolors = bd->ocount = BRIGHTON_QR_COLORS; in BDrawPixmap()
540 for (cindex = 0; cindex < ncolors; cindex++) in BDrawPixmap()
556 if (cindex == ncolors) { in BDrawPixmap()
578 for (cindex = 0; cindex < ncolors; cindex++) in BDrawPixmap()

12345678910>>...118