OLD | NEW |
1 /* $Id: tiffio.h,v 1.91 2012-07-29 15:45:29 tgl Exp $ */ | 1 /* $Id: tiffio.h,v 1.91 2012-07-29 15:45:29 tgl Exp $ */ |
2 | 2 |
3 /* | 3 /* |
4 * Copyright (c) 1988-1997 Sam Leffler | 4 * Copyright (c) 1988-1997 Sam Leffler |
5 * Copyright (c) 1991-1997 Silicon Graphics, Inc. | 5 * Copyright (c) 1991-1997 Silicon Graphics, Inc. |
6 * | 6 * |
7 * Permission to use, copy, modify, distribute, and sell this software and | 7 * Permission to use, copy, modify, distribute, and sell this software and |
8 * its documentation for any purpose is hereby granted without fee, provided | 8 * its documentation for any purpose is hereby granted without fee, provided |
9 * that (i) the above copyright notices and this permission notice appear in | 9 * that (i) the above copyright notices and this permission notice appear in |
10 * all copies of the software and related documentation, and (ii) the names of | 10 * all copies of the software and related documentation, and (ii) the names of |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 /* | 291 /* |
292 * Auxiliary functions. | 292 * Auxiliary functions. |
293 */ | 293 */ |
294 | 294 |
295 extern void* _TIFFmalloc(tmsize_t s); | 295 extern void* _TIFFmalloc(tmsize_t s); |
296 extern void* _TIFFrealloc(void* p, tmsize_t s); | 296 extern void* _TIFFrealloc(void* p, tmsize_t s); |
297 extern void _TIFFmemset(void* p, int v, tmsize_t c); | 297 extern void _TIFFmemset(void* p, int v, tmsize_t c); |
298 extern void _TIFFmemcpy(void* d, const void* s, tmsize_t c); | 298 extern void _TIFFmemcpy(void* d, const void* s, tmsize_t c); |
299 extern int _TIFFmemcmp(const void* p1, const void* p2, tmsize_t c); | 299 extern int _TIFFmemcmp(const void* p1, const void* p2, tmsize_t c); |
300 extern void _TIFFfree(void* p); | 300 extern void _TIFFfree(void* p); |
| 301 extern int _TIFFIfMultiplicationOverflow(tmsize_t op1, tmsize_t op2); |
301 | 302 |
302 /* | 303 /* |
303 ** Stuff, related to tag handling and creating custom tags. | 304 ** Stuff, related to tag handling and creating custom tags. |
304 */ | 305 */ |
305 extern int TIFFGetTagListCount( TIFF * ); | 306 extern int TIFFGetTagListCount( TIFF * ); |
306 extern uint32 TIFFGetTagListEntry( TIFF *, int tag_index ); | 307 extern uint32 TIFFGetTagListEntry( TIFF *, int tag_index ); |
307 | 308 |
308 #define TIFF_ANY TIFF_NOTYPE /* for field descriptor searching */ | 309 #define TIFF_ANY TIFF_NOTYPE /* for field descriptor searching */ |
309 #define TIFF_VARIABLE -1 /* marker for variable length tags */ | 310 #define TIFF_VARIABLE -1 /* marker for variable length tags */ |
310 #define TIFF_SPP -2 /* marker for SamplesPerPixel tags */ | 311 #define TIFF_SPP -2 /* marker for SamplesPerPixel tags */ |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 #endif /* _TIFFIO_ */ | 549 #endif /* _TIFFIO_ */ |
549 | 550 |
550 /* vim: set ts=8 sts=8 sw=8 noet: */ | 551 /* vim: set ts=8 sts=8 sw=8 noet: */ |
551 /* | 552 /* |
552 * Local Variables: | 553 * Local Variables: |
553 * mode: c | 554 * mode: c |
554 * c-basic-offset: 8 | 555 * c-basic-offset: 8 |
555 * fill-column: 78 | 556 * fill-column: 78 |
556 * End: | 557 * End: |
557 */ | 558 */ |
OLD | NEW |