| /libtiff-4.0.7/archive/tools/ |
| H A D | sgisv.c | 166 register int x; in svRGBSeparate() local 174 for (x = 0; x <= xsize; x++) { in svRGBSeparate() 176 rp[x] = v; in svRGBSeparate() 177 gp[x] = v >> 8; in svRGBSeparate() 178 bp[x] = v >> 16; in svRGBSeparate() 199 register int x, y; in svRGBContig() local 211 for (x = 0; x <= xsize; x++) { in svRGBContig() 230 #define CVT(x) (((x)*255)/100) argument 238 register int x, y; in svGrey() local 242 for (x = 0; x <= xsize; x++) { in svGrey() [all …]
|
| H A D | sgi2tiff.c | 197 int x, y; in cpContig() local 211 for (x = 0; x < in->xsize; x++) { in cpContig() 212 pp[0] = r[x]; in cpContig() 213 pp[1] = g[x]; in cpContig() 214 pp[2] = b[x]; in cpContig() 234 for (x = 0; x < in->xsize; x++) { in cpContig() 250 for (x = in->xsize-1; x >= 0; x--) in cpContig() 251 pp[x] = r[x]; in cpContig() 273 int x, y, z; in cpSeparate() local 278 for (x = 0; x < in->xsize; x++) in cpSeparate() [all …]
|
| H A D | ras2tiff.c | 47 #define howmany(x, y) (((x)+((y)-1))/(y)) argument 189 #define SCALE(x) (((x)*((1L<<16)-1))/255) in main() argument
|
| /libtiff-4.0.7/libtiff/ |
| H A D | tif_getimage.c | 1215 for (x = w; x-- > 0;) in DECLAREContigPutFunc() 1286 for (x = w; x-- > 0;) in DECLAREContigPutFunc() 1306 for (x = w; x-- > 0;) in DECLAREContigPutFunc() 1328 for (x = w; x-- > 0;) in DECLAREContigPutFunc() 1441 for (x = w; x-- > 0;) { in DECLAREContigPutFunc() 1565 for (x = w; x-- > 0;) { in DECLAREContigPutFunc() 1666 for (x = 0; x < w; x++) in DECLARESepPutFunc() 1686 for (x = 0; x < w; x++) in DECLARESepPutFunc() 1918 cp += x; cp1 += x; cp2 += x; cp3 += x; in DECLAREContigPutFunc() 2387 for (x = 0; x <= range; x++) in setupMap() [all …]
|
| H A D | tiffiop.h | 50 # define assert(x) argument 250 #define TIFFhowmany_32(x, y) (((uint32)x < (0xffffffff - (uint32)(y-1))) ? \ argument 251 ((((uint32)(x))+(((uint32)(y))-1))/((uint32)(y))) : \ 253 #define TIFFhowmany8_32(x) (((x)&0x07)?((uint32)(x)>>3)+1:(uint32)(x)>>3) argument 254 #define TIFFroundup_32(x, y) (TIFFhowmany_32(x,y)*(y)) argument 255 #define TIFFhowmany_64(x, y) ((((uint64)(x))+(((uint64)(y))-1))/((uint64)(y))) argument 256 #define TIFFhowmany8_64(x) (((x)&0x07)?((uint64)(x)>>3)+1:(uint64)(x)>>3) argument 257 #define TIFFroundup_64(x, y) (TIFFhowmany_64(x,y)*(y)) argument
|
| H A D | tif_vms.c | 471 double x; in dtoieee() local 488 x = frexp(num.d, &exp); in dtoieee() 497 x = ldexp(x, -1023-exp); in dtoieee() 500 x = 0; in dtoieee() 503 x *= 2; in dtoieee() 504 x -= 1; in dtoieee() 509 x *= (double) (1<<20); in dtoieee() 510 num.ieee.mant = (long) x; in dtoieee() 511 x -= (double) num.ieee.mant; in dtoieee() 512 num.ieee.mant2 = (long) (x*((double) (1<<16)*(double) (1<<16))); in dtoieee()
|
| H A D | tif_color.c | 176 #define FIX(x) ((int32)((x) * (1L<<SHIFT) + 0.5)) argument 245 int x; in TIFFYCbCrToRGBInit() local 258 for (i = 0, x = -128; i < 256; i++, x++) { in TIFFYCbCrToRGBInit() 259 int32 Cr = (int32)Code2V(x, refBlackWhite[4] - 128.0F, in TIFFYCbCrToRGBInit() 261 int32 Cb = (int32)Code2V(x, refBlackWhite[2] - 128.0F, in TIFFYCbCrToRGBInit() 269 (int32)Code2V(x + 128, refBlackWhite[0], refBlackWhite[1], 255); in TIFFYCbCrToRGBInit()
|
| H A D | tif_fax3.h | 220 #define SETVALUE(x) do { \ argument 221 *pa++ = RunLength + (x); \ 222 printf("SETVALUE: %d\t%d\n", RunLength + (x), a0); \ 223 a0 += x; \ 242 #define SETVALUE(x) do { \ argument 243 *pa++ = RunLength + (x); \ 244 a0 += (x); \
|
| H A D | tif_tile.c | 38 TIFFComputeTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) in TIFFComputeTile() argument 63 x/dx; in TIFFComputeTile() 65 tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx; in TIFFComputeTile() 75 TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s) in TIFFCheckTile() argument 79 if (x >= td->td_imagewidth) { in TIFFCheckTile() 82 (unsigned long) x, in TIFFCheckTile()
|
| H A D | tif_fax3.c | 265 #define SWAP(t,a,b) { t x; x = (a); (a) = (b); (b) = x; } 373 uint32 x, bx, run; in _TIFFFax3fillruns() local 379 x = 0; in _TIFFFax3fillruns() 385 cp = buf + (x>>3); in _TIFFFax3fillruns() 386 bx = x&7; in _TIFFFax3fillruns() 414 x += runs[0]; in _TIFFFax3fillruns() 420 cp = buf + (x>>3); in _TIFFFax3fillruns() 421 bx = x&7; in _TIFFFax3fillruns() 450 x += runs[1]; in _TIFFFax3fillruns() 453 assert(x == lastx); in _TIFFFax3fillruns() [all …]
|
| H A D | tif_luv.c | 740 #define log2(x) ((1./M_LN2)*log(x)) argument 742 #define exp2(x) exp(M_LN2*(x)) argument 745 (int)(x) : \ 973 double L, u, v, s, x, y; in LogLuv24toXYZ() local 986 x = 9.*u * s; in LogLuv24toXYZ() 989 XYZ[0] = (float)(x/y * L); in LogLuv24toXYZ() 991 XYZ[2] = (float)((1.-x-y)/y * L); in LogLuv24toXYZ() 1113 double L, u, v, s, x, y; in LogLuv32toXYZ() local 1124 x = 9.*u * s; in LogLuv32toXYZ() 1127 XYZ[0] = (float)(x/y * L); in LogLuv32toXYZ() [all …]
|
| /libtiff-4.0.7/config/ |
| H A D | compile | 161 set x "$@" -I"$file" 166 set x "$@" -I"$file" 172 set x "$@" "$lib" 177 set x "$@" "$lib" 204 set x "$@" "$1" 209 set x "$@" -Tp"$file" 214 set x "$@" "$file" 218 set x "$@" "$1" 281 set x "$@" -o "$2" 288 set x "$@" "$1" [all …]
|
| H A D | config.guess | 468 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ 469 [ ${TARGET_BINARY_INTERFACE}x = x ] 890 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 913 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 1027 test x"${LIBC}" != x && { 1031 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
|
| /libtiff-4.0.7/tools/ |
| H A D | pal2rgb.c | 178 #define CVT(x) (((x) * 255) / ((1L<<16)-1)) in main() argument 186 register uint32 x; in main() local 195 for (x = 0; x < imagewidth; x++) { in main() 196 *pp++ = (unsigned char) rmap[ibuf[x]]; in main() 197 *pp++ = (unsigned char) gmap[ibuf[x]]; in main() 198 *pp++ = (unsigned char) bmap[ibuf[x]]; in main() 208 for (pp = obuf, x = 0; x < imagewidth; x++) in main() 209 *pp++ = (unsigned char) rmap[ibuf[x]]; in main() 212 for (pp = obuf, x = 0; x < imagewidth; x++) in main() 213 *pp++ = (unsigned char) gmap[ibuf[x]]; in main() [all …]
|
| H A D | rgb2ycbcr.c | 49 #define howmany(x, y) (((x)+((y)-1))/(y)) argument 51 #define roundup(x, y) (howmany(x,y)*((uint32)(y))) argument 223 uint32 x; in cvtStrip() local 229 for (x = width; x >= horizSubSampling; x -= horizSubSampling) { in cvtStrip() 235 if (x > 0) { in cvtStrip() 236 cvtClump(op, tp, vertSubSampling, x, width); in cvtStrip() 243 for (x = width; x >= horizSubSampling; x -= horizSubSampling) { in cvtStrip() 248 if (x > 0) in cvtStrip() 249 cvtClump(op, tp, nrows, x, width); in cvtStrip()
|
| H A D | thumbnail.c | 51 # define TIFFhowmany8(x) (((x)&0x07)?((uint32)(x)>>3)+1:(uint32)(x)>>3) argument 485 uint32 x; in setupStepTables() local 488 for (x = 0; x < tnw; x++) { in setupStepTables() 495 rowoff[x] = sx0 >> 3; in setupStepTables() 502 src1[x] = fw >> 3; in setupStepTables() 514 uint32 x; in setrow() local 516 for (x = 0; x < tnw; x++) { in setrow() 517 uint32 mask0 = src0[x]; in setrow() 518 uint32 fw = src1[x]; in setrow() 519 uint32 mask1 = src1[x]; in setrow() [all …]
|
| H A D | fax2ps.c | 89 uint32 x = 0; in printruns() local 98 if (x+runlength > lastx) in printruns() 99 runlength = runs[-1] = lastx-x; in printruns() 100 x += runlength; in printruns() 140 if (x+runlength > lastx) in printruns() 141 runlength = runs[-1] = lastx-x; in printruns() 142 x += runlength; in printruns()
|
| H A D | tiffgt.c | 320 raster_keys(unsigned char key, int x, int y) in raster_keys() argument 322 (void) x; in raster_keys() 367 raster_special(int key, int x, int y) in raster_special() argument 369 (void) x; in raster_special()
|
| H A D | fax2tiff.c | 60 #define TIFFhowmany8(x) (((x)&0x07)?((uint32)(x)>>3)+1:(uint32)(x)>>3) argument
|
| H A D | tiff2rgba.c | 49 #define howmany(x, y) (((x)+((y)-1))/(y)) argument 51 #define roundup(x, y) (howmany(x,y)*((uint32)(y))) argument
|
| /libtiff-4.0.7/ |
| H A D | configure.ac | 499 if test "x$with_docdir" != "x" ; then 596 if test "x$with_zlib_lib_dir" != "x" ; then 605 if test "x$with_zlib_include_dir" != "x" ; then 664 if test "x$with_jpeg_lib_dir" != "x" ; then 674 if test "x$with_jpeg_include_dir" != "x" ; then 735 if test "x$with_jbig_lib_dir" != "x" ; then 745 if test "x$with_jbig_include_dir" != "x" ; then 793 if test "x$with_lzma_lib_dir" != "x" ; then 802 if test "x$with_lzma_include_dir" != "x" ; then 847 if test "x$with_jpeg12_lib" != "x" ; then [all …]
|
| /libtiff-4.0.7/test/images/ |
| H A D | minisblack-1c-8b.pgm | 4 …x(5j���������������������|WNj{�����������b������������mZ_cc^_aeffceebecYb����v}���˵�vkd]at������… 28 …afegjighigga[`c_\^���ҷuef`1BFOfuw}����������ü������nNnw�������Zz�Ýwu~����x:|����������������… 30 …(Q��������~}~z�������������������������������LZ^^_`bjvx~��xlgaYVDDPOLN[VZa``ba```b``aab`n���qh`… 45 ���������Ż�������������ڵg��x��xW/z�xE.+0/*;ci^K7/0.+$A������������������������������gDPQTVWZ^^`… 51 3������������������������ݪWx~x����ra��m[J;431/8WXM=11/30,d������������������������������QBIMQUUXZ… 55 %`��������{\!$�������������������������Q5emz��^x�vfQE=77568;>:67533200%A�������������������������… 58 "(/1# 4>?GINROPRPSRTTW\W4JG>@LMIEJIH><<AKF;899662)C����������������������������xW��������������… 59 …6IGB@DIKIIKE@:8>GA9:96510#O����������������������������Z4����������������~x�������y�����{�������… 66 WJFGKNMROPS[Y[XYY\x��>B9:9<:8>BB@@@8;99982.,'#t��������������������������}7 67 0x������������������������������������Vjyy|�����������������������ƺ����%FE@CGLNQPSSS[]]][br��… [all …]
|
| /libtiff-4.0.7/contrib/iptcutil/ |
| H A D | iptcutil.c | 281 x = c; in formatIPTC() local 283 taglen = x << 8; in formatIPTC() 284 x = getc(ifile); in formatIPTC() 285 if (x == EOF) in formatIPTC() 287 taglen |= (long) x; in formatIPTC()
|
| /libtiff-4.0.7/contrib/pds/ |
| H A D | tif_imageiter.h | 17 uint32 x, uint32 y, \ 30 uint32 x, uint32 y, \
|
| /libtiff-4.0.7/contrib/dbs/xtiff/ |
| H A D | xtiff.c | 75 #define ROUND(x) (uint16) ((x) + 0.5) argument 76 #define SCALE(x, s) (((x) * 65535L) / (s)) argument 1040 fake_event.xexpose.x = fake_event.xexpose.y = 0; 1077 grabX = event->xbutton.x; 1096 dx = event->xexpose.x; 1170 sx = xOffset + grabX - (int) event->xmotion.x; 1184 xOffset = xOffset + grabX - (int) event->xbutton.x; 1239 fake_event.xexpose.x = fake_event.xexpose.y = 0; in ResizeProc()
|