Home
last modified time | relevance | path

Searched refs:int32 (Results 1 – 25 of 35) sorted by relevance

12

/libtiff-4.0.7/libtiff/
H A Dtif_color.c46 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 Dtif_getimage.c705 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 Dtif_fax3.c374 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 Dtiffio.h160 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 Dtif_dirread.c251 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 Dtif_dirwrite.c986 ((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 Dtif_pixarlog.c947 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 Dtif_tile.c304 if (*(int32*) tw < 1) in _TIFFDefaultTileSize()
306 if (*(int32*) th < 1) in _TIFFDefaultTileSize()
H A Dtiffconf.h-vms13 /* Define to 1 if the system has the type `int32'. */
H A Dtiffconf.h.in43 /* Define to 1 if the system has the type `int32'. */
H A Dtiffconf.h.cmake.in46 /* Define to 1 if the system has the type `int32'. */
H A Dtif_dir.c658 int32 v2 = va_arg(ap, int32); in _TIFFVSetField()
1131 *va_arg(ap, int32*) = in _TIFFVGetField()
1132 *(int32 *)val; in _TIFFVGetField()
H A Dtiff.h74 typedef TIFF_INT32_T int32; typedef
H A Dtif_aux.c322 int32 low, high;
H A Dtif_strip.c251 if ((int32) s < 1) { in _TIFFDefaultStripSize()
/libtiff-4.0.7/archive/tools/
H A Drasterfile.h10 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 Dbmp2tiff.c121 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 Dtif_imageiter.h11 (TIFFImageIter*, void *, uint32, uint32, uint32, uint32, int32,
19 int32 fromskew, \
24 (TIFFImageIter*, void *, uint32, uint32, uint32, uint32, int32,
32 int32 fromskew, \
H A Dtif_imageiter.c268 int32 fromskew; in gtTileContig()
321 int32 fromskew; in gtTileSeparate()
385 int32 fromskew; in gtStripContig()
426 int32 fromskew; in gtStripSeparate()
H A Dtif_pdsdirread.c441 *rv = ((float)(int32)num / (float)(int32)denom); in cvtRational()
694 int32* vp = (int32*) v; in TIFFFetchAnyArray()
H A Dtif_pdsdirwrite.c789 { int32* bp = (int32*) w; in TIFFWriteAnyArray()
791 bp[i] = (int32) v[i]; in TIFFWriteAnyArray()
/libtiff-4.0.7/contrib/win_dib/
H A DTiffile.cpp279 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 Dtiffdump.c756 int32 *lp = (int32*)data; in PrintData()
799 int32 *lp = (int32*)data; in PrintData()
H A Draw2tiff.c531 X = ((int32 *)buf1)[i]; in correlation()
532 Y = ((int32 *)buf2)[i]; in correlation()
/libtiff-4.0.7/contrib/addtiffo/
H A Dtif_overview.c200 padfSamples[iSample++] = ((int32 *) pabyData)[0]; in TIFF_GetSourceSamples()
241 *((int32 *)pabyData) = (int32) dfValue; in TIFF_SetSample()

12