| /libtiff-4.0.7/libtiff/ |
| H A D | tif_color.c | 46 TIFFCIELabToXYZ(TIFFCIELabToRGB *cielab, uint32 l, int32 a, int32 b, in TIFFCIELabToXYZ() 176 #define FIX(x) ((int32)((x) * (1L<<SHIFT) + 0.5)) 177 #define ONE_HALF ((int32)(1<<(SHIFT-1))) 183 TIFFYCbCrtoRGB(TIFFYCbCrToRGB *ycbcr, uint32 Y, int32 Cb, int32 Cr, in TIFFYCbCrtoRGB() 186 int32 i; in TIFFYCbCrtoRGB() 237 ycbcr->Cr_g_tab = (int32*) (ycbcr->Cb_b_tab + 256); in TIFFYCbCrToRGBInit() 241 { float f1 = 2-2*LumaRed; int32 D1 = FIX(f1); in TIFFYCbCrToRGBInit() 242 float f2 = LumaRed*f1/LumaGreen; int32 D2 = -FIX(f2); in TIFFYCbCrToRGBInit() 243 float f3 = 2-2*LumaBlue; int32 D3 = FIX(f3); in TIFFYCbCrToRGBInit() 259 int32 Cr = (int32)Code2V(x, refBlackWhite[4] - 128.0F, in TIFFYCbCrToRGBInit() [all …]
|
| H A D | tif_getimage.c | 705 y += (flip & FLIP_VERTICALLY ? -(int32) nrow : (int32) nrow); in gtTileContig() 874 y += (flip & FLIP_VERTICALLY ?-(int32) nrow : (int32) nrow); in gtTileSeparate() 965 y += (flip & FLIP_VERTICALLY ? -(int32) nrow : (int32) nrow); in gtStripContig() 1100 y += (flip & FLIP_VERTICALLY ? -(int32) nrow : (int32) nrow); in gtStripSeparate() 1201 int32 fromskew, int32 toskew, \ 1584 int32 fromskew, int32 toskew,\ 1771 int32 fromskew, int32 toskew, in putcontig8bitYCbCrGenericTile() 1781 int32 Cb, Cr; in putcontig8bitYCbCrGenericTile() 2133 int32 Cb = pp[2]; in DECLAREContigPutFunc() 2134 int32 Cr = pp[3]; in DECLAREContigPutFunc() [all …]
|
| H A D | tif_fax3.c | 374 int32 n, nw; in _TIFFFax3fillruns() 803 static int32 find0span(unsigned char*, int32, int32); 804 static int32 find1span(unsigned char*, int32, int32); 813 inline static int32 814 find0span(unsigned char* bp, int32 bs, int32 be) in find0span() 817 int32 n, span; in find0span() 875 inline static int32 876 find1span(unsigned char* bp, int32 bs, int32 be) in find1span() 879 int32 n, span; in find1span() 961 int32 span; in Fax3Encode1DRow() [all …]
|
| H A D | tiffio.h | 160 int32* Cr_g_tab; 161 int32* Cb_g_tab; 162 int32* Y_tab; 191 (TIFFRGBAImage*, uint32*, uint32, uint32, uint32, uint32, int32, int32, 194 (TIFFRGBAImage*, uint32*, uint32, uint32, uint32, uint32, int32, int32, 516 extern void TIFFCIELabToXYZ(TIFFCIELabToRGB *, uint32, int32, int32, 522 extern void TIFFYCbCrtoRGB(TIFFYCbCrToRGB *, uint32, int32, int32,
|
| H A D | tif_dirread.c | 251 int32 m; in TIFFReadDirEntryByte() 337 int32 m; in TIFFReadDirEntryShort() 420 int32 m; in TIFFReadDirEntryLong() 507 int32 m; in TIFFReadDirEntryLong8() 579 int32 m; in TIFFReadDirEntryFloat() 690 int32 m; in TIFFReadDirEntryDouble() 954 int32* ma; in TIFFReadDirEntryByteArray() 1133 int32* ma; in TIFFReadDirEntrySbyteArray() 1305 int32* ma; in TIFFReadDirEntryShortArray() 1570 int32* m; in TIFFReadDirEntryLongArray() [all …]
|
| H A D | tif_dirwrite.c | 986 ((int32*)conv)[i] = (int32)value[i]; in TIFFWriteDirectoryTagSampleformatArray() 1354 int32* m; 1355 int32* na; 2025 int32 m; in TIFFWriteDirectoryTagCheckedSlong() 2026 assert(sizeof(int32)==4); in TIFFWriteDirectoryTagCheckedSlong() 2178 int32* m; in TIFFWriteDirectoryTagCheckedSrationalArray() 2180 int32* nb; in TIFFWriteDirectoryTagCheckedSrationalArray() 2194 if (*na==(int32)(*na)) in TIFFWriteDirectoryTagCheckedSrationalArray() 2196 nb[0]=(int32)(*na); in TIFFWriteDirectoryTagCheckedSrationalArray() 2212 if (*na==(int32)(*na)) in TIFFWriteDirectoryTagCheckedSrationalArray() [all …]
|
| H A D | tif_pixarlog.c | 947 int32 r1, g1, b1, a1, r2, g2, b2, a2, mask; in horizontalDifferenceF() 966 r1 = (int32) CLAMP(ip[0]); wp[0] = (uint16)((r1-r2) & mask); r2 = r1; in horizontalDifferenceF() 967 g1 = (int32) CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifferenceF() 968 b1 = (int32) CLAMP(ip[2]); wp[2] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifferenceF() 980 r1 = (int32) CLAMP(ip[0]); wp[0] = (uint16)((r1-r2) & mask); r2 = r1; in horizontalDifferenceF() 981 g1 = (int32) CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifferenceF() 982 b1 = (int32) CLAMP(ip[2]); wp[2] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifferenceF() 983 a1 = (int32) CLAMP(ip[3]); wp[3] = (uint16)((a1-a2) & mask); a2 = a1; in horizontalDifferenceF() 990 wp[0] = (uint16)(((int32)CLAMP(ip[0])-(int32)CLAMP(ip[-stride])) & mask); in horizontalDifferenceF()
|
| H A D | tif_tile.c | 304 if (*(int32*) tw < 1) in _TIFFDefaultTileSize() 306 if (*(int32*) th < 1) in _TIFFDefaultTileSize()
|
| H A D | tiffconf.h-vms | 13 /* Define to 1 if the system has the type `int32'. */
|
| H A D | tiffconf.h.in | 43 /* Define to 1 if the system has the type `int32'. */
|
| H A D | tiffconf.h.cmake.in | 46 /* Define to 1 if the system has the type `int32'. */
|
| H A D | tif_dir.c | 658 int32 v2 = va_arg(ap, int32); in _TIFFVSetField() 1131 *va_arg(ap, int32*) = in _TIFFVGetField() 1132 *(int32 *)val; in _TIFFVGetField()
|
| H A D | tiff.h | 74 typedef TIFF_INT32_T int32; typedef
|
| H A D | tif_aux.c | 322 int32 low, high;
|
| H A D | tif_strip.c | 251 if ((int32) s < 1) { in _TIFFDefaultStripSize()
|
| /libtiff-4.0.7/archive/tools/ |
| H A D | rasterfile.h | 10 int32 ras_width; /* width (pixels) of image */ 11 int32 ras_height; /* height (pixels) of image */ 12 int32 ras_depth; /* depth (1, 8, or 24 bits) of pixel */ 13 int32 ras_length; /* length (bytes) of image */ 14 int32 ras_type; /* type of file; see RT_* below */ 15 int32 ras_maptype; /* type of colormap; see RMT_* below */ 16 int32 ras_maplength; /* length (bytes) of following map */
|
| H A D | bmp2tiff.c | 121 int32 iCIEX; 122 int32 iCIEY; 123 int32 iCIEZ; 154 int32 iWidth; /* Image width */ 173 int32 iClrImportant; /* Number of important colours. If 0, all 184 int32 iGreenMask; /* The same for green component */ 185 int32 iBlueMask; /* The same for blue component */ 186 int32 iAlphaMask; /* Colour mask that specifies the alpha 191 int32 iGammaRed; /* Toned response curve for red. This member 196 int32 iGammaGreen; /* Toned response curve for green. */ [all …]
|
| /libtiff-4.0.7/contrib/pds/ |
| H A D | tif_imageiter.h | 11 (TIFFImageIter*, void *, uint32, uint32, uint32, uint32, int32, 19 int32 fromskew, \ 24 (TIFFImageIter*, void *, uint32, uint32, uint32, uint32, int32, 32 int32 fromskew, \
|
| H A D | tif_imageiter.c | 268 int32 fromskew; in gtTileContig() 321 int32 fromskew; in gtTileSeparate() 385 int32 fromskew; in gtStripContig() 426 int32 fromskew; in gtStripSeparate()
|
| H A D | tif_pdsdirread.c | 441 *rv = ((float)(int32)num / (float)(int32)denom); in cvtRational() 694 int32* vp = (int32*) v; in TIFFFetchAnyArray()
|
| H A D | tif_pdsdirwrite.c | 789 { int32* bp = (int32*) w; in TIFFWriteAnyArray() 791 bp[i] = (int32) v[i]; in TIFFWriteAnyArray()
|
| /libtiff-4.0.7/contrib/win_dib/ |
| H A D | Tiffile.cpp | 279 int32 fromskew, int32 toskew, \ 289 int32 fromskew, int32 toskew,\ 404 int32 fromskew, toskew; in getStripContig1Bit() 418 toskew = -(int32) (orientation == ORIENTATION_TOPLEFT ? wb+wb : wb-wb); in getStripContig1Bit() 437 y += (orientation == ORIENTATION_TOPLEFT ?-(int32) nrow : (int32) nrow); in getStripContig1Bit()
|
| /libtiff-4.0.7/tools/ |
| H A D | tiffdump.c | 756 int32 *lp = (int32*)data; in PrintData() 799 int32 *lp = (int32*)data; in PrintData()
|
| H A D | raw2tiff.c | 531 X = ((int32 *)buf1)[i]; in correlation() 532 Y = ((int32 *)buf2)[i]; in correlation()
|
| /libtiff-4.0.7/contrib/addtiffo/ |
| H A D | tif_overview.c | 200 padfSamples[iSample++] = ((int32 *) pabyData)[0]; in TIFF_GetSourceSamples() 241 *((int32 *)pabyData) = (int32) dfValue; in TIFF_SetSample()
|