Home
last modified time | relevance | path

Searched refs:green (Results 1 – 11 of 11) sorted by relevance

/libtiff-4.0.7/contrib/dbs/
H A Dtiff-palette.c109 green[i] = 0; in main()
137 green[0] = 0; in main()
141 green[1] = SCALE(255); in main()
145 green[2] = 0; in main()
149 green[3] = SCALE(255); in main()
153 green[4] = SCALE(255); in main()
157 green[5] = 0; in main()
165 green[7] = 0; in main()
195 green[0] = 0; in main()
203 green[2] = 0; in main()
[all …]
H A Dtiff-rgb.c50 uint16 red[CMSIZE], green[CMSIZE], blue[CMSIZE]; in main() local
73 red[i] = green[i] = blue[i] = 0; in main()
76 green[i] = ROUND((pow(i / 255.0, 1.0 / image_gamma) * 65535.0)); in main()
103 TIFFSetField(tif, TIFFTAG_TRANSFERFUNCTION, red, green, blue); in main()
/libtiff-4.0.7/tools/
H A Dtiffmedian.c354 register int red, green, blue; in get_histogram() local
389 if (green < box->gmin) in get_histogram()
390 box->gmin = green; in get_histogram()
391 if (green > box->gmax) in get_histogram()
392 box->gmax = green; in get_histogram()
657 tmp = gm[i] - green; in create_colorcell()
766 register int red, green, blue; in quant() local
841 int red, green, blue; in quant_fsdither() local
860 green, blue); in quant_fsdither()
879 green -= gm[oval]; in quant_fsdither()
[all …]
H A Dtiff2bw.c59 register int v, red = RED, green = GREEN, blue = BLUE; in compresscontig() local
63 v += green*(*rgb++); in compresscontig()
73 register uint32 red = RED, green = GREEN, blue = BLUE; in compresssep() local
77 ((red*(*r++) + green*(*g++) + blue*(*b++)) >> 8); in compresssep()
93 register int v, red = RED, green = GREEN, blue = BLUE; in compresspalette() local
98 v += green*gmap[ix]; in compresspalette()
122 uint16* green; in main() local
226 TIFFGetField(in, TIFFTAG_COLORMAP, &red, &green, &blue); in main()
231 if (checkcmap(in, 1<<bitspersample, red, green, blue) == 16) { in main()
236 green[i] = CVT(green[i]); in main()
[all …]
H A Dtiffcmp.c307 { uint16 *red, *green, *blue; in cmptags() local
308 CmpField3(TIFFTAG_COLORRESPONSECURVE, red, green, blue); in cmptags()
310 { uint16 *red, *green, *blue; in cmptags() local
311 CmpField3(TIFFTAG_COLORMAP, red, green, blue); in cmptags()
H A Dtiffsplit.c202 { uint16 *red, *green, *blue; in tiffcp() local
203 CopyField3(TIFFTAG_COLORMAP, red, green, blue); in tiffcp()
/libtiff-4.0.7/contrib/ras/
H A Dras2tif.c90 green[256], local
218 memset(green, 0, sizeof(green));
221 TIFFSetField(tif, TIFFTAG_COLORMAP, red, green, blue);
224 green[i] = SCALE(Colormap.map[1][i]);
H A Dtif2ras.c104 green[256], local
223 memset(green, 0, sizeof(green));
229 green[i] = (u_char) CVT(greencolormap[i]);
233 Colormap.map[1] = green;
/libtiff-4.0.7/contrib/win_dib/
H A Dtiff2dib.c129 uint16* green; in LoadTIFFinDIB() local
135 TIFFGetField(tif, TIFFTAG_COLORMAP, &red, &green, &blue); in LoadTIFFinDIB()
138 if (checkcmap(1<<BitsPerSample, red, green, blue) == 16) in LoadTIFFinDIB()
151 lpbmi->bmiColors[i].rgbGreen = (BYTE) CVT(green[i]); in LoadTIFFinDIB()
157 lpbmi->bmiColors[i].rgbGreen = (BYTE) green[i]; in LoadTIFFinDIB()
/libtiff-4.0.7/archive/tools/
H A Dgif2tiff.c118 unsigned short green[COLSIZE]; variable
510 green[i] = gamtab[colormap[i][1]]; in initcolors()
566 TIFFSetField(tif, TIFFTAG_COLORMAP, red, green, blue); in rasterize()
/libtiff-4.0.7/contrib/dbs/xtiff/
H A Dxtiff.c603 colors[i].green = greenMap[i]; in GetVisual()
638 colors[i].green = greenMap[i]; in GetVisual()