ReactOS 0.4.16-dev-297-gc569aee
tiffio.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 1988-1997 Sam Leffler
3 * Copyright (c) 1991-1997 Silicon Graphics, Inc.
4 *
5 * Permission to use, copy, modify, distribute, and sell this software and
6 * its documentation for any purpose is hereby granted without fee, provided
7 * that (i) the above copyright notices and this permission notice appear in
8 * all copies of the software and related documentation, and (ii) the names of
9 * Sam Leffler and Silicon Graphics may not be used in any advertising or
10 * publicity relating to the software without the specific, prior written
11 * permission of Sam Leffler and Silicon Graphics.
12 *
13 * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14 * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15 * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
16 *
17 * IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
18 * ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
19 * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20 * WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
21 * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
22 * OF THIS SOFTWARE.
23 */
24
25#ifndef _TIFFIO_
26#define _TIFFIO_
27
28/*
29 * TIFF I/O Library Definitions.
30 */
31#include "tiff.h"
32#include "tiffvers.h"
33
34/*
35 * TIFF is defined as an incomplete type to hide the
36 * library's internal data structures from clients.
37 */
38typedef struct tiff TIFF;
39
40/*
41 * The following typedefs define the intrinsic size of
42 * data types used in the *exported* interfaces. These
43 * definitions depend on the proper definition of types
44 * in tiff.h. Note also that the varargs interface used
45 * to pass tag types and values uses the types defined in
46 * tiff.h directly.
47 *
48 * NB: ttag_t is unsigned int and not unsigned short because
49 * ANSI C requires that the type before the ellipsis be a
50 * promoted type (i.e. one of int, unsigned int, pointer,
51 * or double) and because we defined pseudo-tags that are
52 * outside the range of legal Aldus-assigned tags.
53 * NB: tsize_t is signed and not unsigned because some functions
54 * return -1.
55 * NB: toff_t is not off_t for many reasons; TIFFs max out at
56 * 32-bit file offsets, and BigTIFF maxes out at 64-bit
57 * offsets being the most important, and to ensure use of
58 * a consistently unsigned type across architectures.
59 * Prior to libtiff 4.0, this was an unsigned 32 bit type.
60 */
61/*
62 * this is the machine addressing size type, only it's signed, so make it
63 * int32 on 32bit machines, int64 on 64bit machines
64 */
66typedef uint64 toff_t; /* file offset */
67/* the following are deprecated and should be replaced by their defining
68 counterparts */
69typedef uint32 ttag_t; /* directory tag */
70typedef uint16 tdir_t; /* directory index */
71typedef uint16 tsample_t; /* sample number */
72typedef uint32 tstrile_t; /* strip or tile number */
73typedef tstrile_t tstrip_t; /* strip number */
74typedef tstrile_t ttile_t; /* tile number */
75typedef tmsize_t tsize_t; /* i/o size in bytes */
76typedef void* tdata_t; /* image data ref */
77
78#if !defined(__WIN32__) && (defined(_WIN32) || defined(WIN32))
79#define __WIN32__
80#endif
81
82/*
83 * On windows you should define USE_WIN32_FILEIO if you are using tif_win32.c
84 * or AVOID_WIN32_FILEIO if you are using something else (like tif_unix.c).
85 *
86 * By default tif_unix.c is assumed.
87 */
88
89#if defined(_WINDOWS) || defined(__WIN32__) || defined(_Windows)
90# if !defined(__CYGWIN) && !defined(AVOID_WIN32_FILEIO) && !defined(USE_WIN32_FILEIO)
91# define AVOID_WIN32_FILEIO
92# endif
93#endif
94
95#if defined(USE_WIN32_FILEIO)
96# define VC_EXTRALEAN
97# include <windows.h>
98# ifdef __WIN32__
99DECLARE_HANDLE(thandle_t); /* Win32 file handle */
100# else
101typedef HFILE thandle_t; /* client data handle */
102# endif /* __WIN32__ */
103#else
104typedef void* thandle_t; /* client data handle */
105#endif /* USE_WIN32_FILEIO */
106
107/*
108 * Flags to pass to TIFFPrintDirectory to control
109 * printing of data structures that are potentially
110 * very large. Bit-or these flags to enable printing
111 * multiple items.
112 */
113#define TIFFPRINT_NONE 0x0 /* no extra info */
114#define TIFFPRINT_STRIPS 0x1 /* strips/tiles info */
115#define TIFFPRINT_CURVES 0x2 /* color/gray response curves */
116#define TIFFPRINT_COLORMAP 0x4 /* colormap */
117#define TIFFPRINT_JPEGQTABLES 0x100 /* JPEG Q matrices */
118#define TIFFPRINT_JPEGACTABLES 0x200 /* JPEG AC tables */
119#define TIFFPRINT_JPEGDCTABLES 0x200 /* JPEG DC tables */
120
121/*
122 * Colour conversion stuff
123 */
124
125/* reference white */
126#define D65_X0 (95.0470F)
127#define D65_Y0 (100.0F)
128#define D65_Z0 (108.8827F)
129
130#define D50_X0 (96.4250F)
131#define D50_Y0 (100.0F)
132#define D50_Z0 (82.4680F)
133
134/* Structure for holding information about a display device. */
135
136typedef unsigned char TIFFRGBValue; /* 8-bit samples */
137
138typedef struct {
139 float d_mat[3][3]; /* XYZ -> luminance matrix */
140 float d_YCR; /* Light o/p for reference white */
141 float d_YCG;
142 float d_YCB;
143 uint32 d_Vrwr; /* Pixel values for ref. white */
146 float d_Y0R; /* Residual light for black pixel */
147 float d_Y0G;
148 float d_Y0B;
149 float d_gammaR; /* Gamma values for the three guns */
150 float d_gammaG;
151 float d_gammaB;
153
154typedef struct { /* YCbCr->RGB support */
155 TIFFRGBValue* clamptab; /* range clamping table */
162
163typedef struct { /* CIE Lab 1976->RGB support */
164 int range; /* Size of conversion table */
165#define CIELABTORGB_TABLE_RANGE 1500
166 float rstep, gstep, bstep;
167 float X0, Y0, Z0; /* Reference white point */
169 float Yr2r[CIELABTORGB_TABLE_RANGE + 1]; /* Conversion of Yr to r */
170 float Yg2g[CIELABTORGB_TABLE_RANGE + 1]; /* Conversion of Yg to g */
171 float Yb2b[CIELABTORGB_TABLE_RANGE + 1]; /* Conversion of Yb to b */
173
174/*
175 * RGBA-style image support.
176 */
178/*
179 * The image reading and conversion routines invoke
180 * ``put routines'' to copy/image/whatever tiles of
181 * raw image data. A default set of routines are
182 * provided to convert/copy raw image data to 8-bit
183 * packed ABGR format rasters. Applications can supply
184 * alternate routines that unpack the data into a
185 * different format or, for example, unpack the data
186 * and draw the unpacked raster on the display.
187 */
190 unsigned char*);
193 unsigned char*, unsigned char*, unsigned char*, unsigned char*);
194/*
195 * RGBA-reader state.
196 */
198 TIFF* tif; /* image handle */
199 int stoponerr; /* stop on read error */
200 int isContig; /* data is packed/separate */
201 int alpha; /* type of alpha data present */
202 uint32 width; /* image width */
203 uint32 height; /* image height */
204 uint16 bitspersample; /* image bits/sample */
205 uint16 samplesperpixel; /* image samples/pixel */
206 uint16 orientation; /* image orientation */
207 uint16 req_orientation; /* requested orientation */
208 uint16 photometric; /* image photometric interp */
209 uint16* redcmap; /* colormap palette */
212 /* get image data routine */
214 /* put decoded strip/tile */
215 union {
220 TIFFRGBValue* Map; /* sample mapping array */
221 uint32** BWmap; /* black&white map */
222 uint32** PALmap; /* palette image map */
223 TIFFYCbCrToRGB* ycbcr; /* YCbCr conversion state */
224 TIFFCIELabToRGB* cielab; /* CIE L*a*b conversion state */
225
226 uint8* UaToAa; /* Unassociated alpha to associated alpha conversion LUT */
227 uint8* Bitdepth16To8; /* LUT for conversion from 16bit to 8bit values */
228
231};
232
233/*
234 * Macros for extracting components from the
235 * packed ABGR form returned by TIFFReadRGBAImage.
236 */
237#define TIFFGetR(abgr) ((abgr) & 0xff)
238#define TIFFGetG(abgr) (((abgr) >> 8) & 0xff)
239#define TIFFGetB(abgr) (((abgr) >> 16) & 0xff)
240#define TIFFGetA(abgr) (((abgr) >> 24) & 0xff)
241
242/*
243 * A CODEC is a software package that implements decoding,
244 * encoding, or decoding+encoding of a compression algorithm.
245 * The library provides a collection of builtin codecs.
246 * More codecs may be registered through calls to the library
247 * and/or the builtin implementations may be overridden.
248 */
250typedef struct {
251 char* name;
254} TIFFCodec;
255
256#include <stdio.h>
257#include <stdarg.h>
258
259/* share internal LogLuv conversion routines? */
260#ifndef LOGLUV_PUBLIC
261#define LOGLUV_PUBLIC 1
262#endif
263
264#if !defined(__GNUC__) && !defined(__attribute__)
265# define __attribute__(x) /*nothing*/
266#endif
267
268#if defined(c_plusplus) || defined(__cplusplus)
269extern "C" {
270#endif
271typedef void (*TIFFErrorHandler)(const char*, const char*, va_list);
272typedef void (*TIFFErrorHandlerExt)(thandle_t, const char*, const char*, va_list);
280
281extern const char* TIFFGetVersion(void);
282
283extern const TIFFCodec* TIFFFindCODEC(uint16);
284extern TIFFCodec* TIFFRegisterCODEC(uint16, const char*, TIFFInitMethod);
285extern void TIFFUnRegisterCODEC(TIFFCodec*);
286extern int TIFFIsCODECConfigured(uint16);
288
289/*
290 * Auxiliary functions.
291 */
292
293extern void* _TIFFmalloc(tmsize_t s);
294extern void* _TIFFcalloc(tmsize_t nmemb, tmsize_t siz);
295extern void* _TIFFrealloc(void* p, tmsize_t s);
296extern void _TIFFmemset(void* p, int v, tmsize_t c);
297extern void _TIFFmemcpy(void* d, const void* s, tmsize_t c);
298extern int _TIFFmemcmp(const void* p1, const void* p2, tmsize_t c);
299extern void _TIFFfree(void* p);
300
301/*
302** Stuff, related to tag handling and creating custom tags.
303*/
304extern int TIFFGetTagListCount( TIFF * );
305extern uint32 TIFFGetTagListEntry( TIFF *, int tag_index );
306
307#define TIFF_ANY TIFF_NOTYPE /* for field descriptor searching */
308#define TIFF_VARIABLE -1 /* marker for variable length tags */
309#define TIFF_SPP -2 /* marker for SamplesPerPixel tags */
310#define TIFF_VARIABLE2 -3 /* marker for uint32 var-length tags */
311
312#define FIELD_CUSTOM 65
313
314typedef struct _TIFFField TIFFField;
316
318extern const TIFFField* TIFFFieldWithTag(TIFF*, uint32);
319extern const TIFFField* TIFFFieldWithName(TIFF*, const char *);
320
321extern uint32 TIFFFieldTag(const TIFFField*);
322extern const char* TIFFFieldName(const TIFFField*);
324extern int TIFFFieldPassCount(const TIFFField*);
325extern int TIFFFieldReadCount(const TIFFField*);
326extern int TIFFFieldWriteCount(const TIFFField*);
327
331
332typedef struct {
333 TIFFVSetMethod vsetfield; /* tag set routine */
334 TIFFVGetMethod vgetfield; /* tag get routine */
335 TIFFPrintMethod printdir; /* directory print routine */
337
339extern void *TIFFGetClientInfo(TIFF *, const char *);
340extern void TIFFSetClientInfo(TIFF *, void *, const char *);
341
342extern void TIFFCleanup(TIFF* tif);
343extern void TIFFClose(TIFF* tif);
344extern int TIFFFlush(TIFF* tif);
345extern int TIFFFlushData(TIFF* tif);
346extern int TIFFGetField(TIFF* tif, uint32 tag, ...);
347extern int TIFFVGetField(TIFF* tif, uint32 tag, va_list ap);
348extern int TIFFGetFieldDefaulted(TIFF* tif, uint32 tag, ...);
350extern int TIFFReadDirectory(TIFF* tif);
351extern int TIFFReadCustomDirectory(TIFF* tif, toff_t diroff, const TIFFFieldArray* infoarray);
352extern int TIFFReadEXIFDirectory(TIFF* tif, toff_t diroff);
353extern uint64 TIFFScanlineSize64(TIFF* tif);
354extern tmsize_t TIFFScanlineSize(TIFF* tif);
357extern uint64 TIFFStripSize64(TIFF* tif);
358extern tmsize_t TIFFStripSize(TIFF* tif);
359extern uint64 TIFFRawStripSize64(TIFF* tif, uint32 strip);
360extern tmsize_t TIFFRawStripSize(TIFF* tif, uint32 strip);
361extern uint64 TIFFVStripSize64(TIFF* tif, uint32 nrows);
362extern tmsize_t TIFFVStripSize(TIFF* tif, uint32 nrows);
363extern uint64 TIFFTileRowSize64(TIFF* tif);
364extern tmsize_t TIFFTileRowSize(TIFF* tif);
365extern uint64 TIFFTileSize64(TIFF* tif);
366extern tmsize_t TIFFTileSize(TIFF* tif);
367extern uint64 TIFFVTileSize64(TIFF* tif, uint32 nrows);
368extern tmsize_t TIFFVTileSize(TIFF* tif, uint32 nrows);
370extern void TIFFDefaultTileSize(TIFF*, uint32*, uint32*);
371extern int TIFFFileno(TIFF*);
372extern int TIFFSetFileno(TIFF*, int);
375extern int TIFFGetMode(TIFF*);
376extern int TIFFSetMode(TIFF*, int);
377extern int TIFFIsTiled(TIFF*);
378extern int TIFFIsByteSwapped(TIFF*);
379extern int TIFFIsUpSampled(TIFF*);
380extern int TIFFIsMSB2LSB(TIFF*);
381extern int TIFFIsBigEndian(TIFF*);
389extern uint32 TIFFCurrentRow(TIFF*);
394extern uint32 TIFFCurrentTile(TIFF* tif);
395extern int TIFFReadBufferSetup(TIFF* tif, void* bp, tmsize_t size);
396extern int TIFFWriteBufferSetup(TIFF* tif, void* bp, tmsize_t size);
397extern int TIFFSetupStrips(TIFF *);
398extern int TIFFWriteCheck(TIFF*, int, const char *);
399extern void TIFFFreeDirectory(TIFF*);
400extern int TIFFCreateDirectory(TIFF*);
402extern int TIFFCreateEXIFDirectory(TIFF*);
403extern int TIFFLastDirectory(TIFF*);
404extern int TIFFSetDirectory(TIFF*, uint16);
405extern int TIFFSetSubDirectory(TIFF*, uint64);
406extern int TIFFUnlinkDirectory(TIFF*, uint16);
407extern int TIFFSetField(TIFF*, uint32, ...);
408extern int TIFFVSetField(TIFF*, uint32, va_list);
409extern int TIFFUnsetField(TIFF*, uint32);
410extern int TIFFWriteDirectory(TIFF *);
411extern int TIFFWriteCustomDirectory(TIFF *, uint64 *);
412extern int TIFFCheckpointDirectory(TIFF *);
413extern int TIFFRewriteDirectory(TIFF *);
416
417#if defined(c_plusplus) || defined(__cplusplus)
418extern void TIFFPrintDirectory(TIFF*, FILE*, long = 0);
419extern int TIFFReadScanline(TIFF* tif, void* buf, uint32 row, uint16 sample = 0);
420extern int TIFFWriteScanline(TIFF* tif, void* buf, uint32 row, uint16 sample = 0);
421extern int TIFFReadRGBAImage(TIFF*, uint32, uint32, uint32*, int = 0);
423 int = ORIENTATION_BOTLEFT, int = 0);
424#else
425extern void TIFFPrintDirectory(TIFF*, FILE*, long);
426extern int TIFFReadScanline(TIFF* tif, void* buf, uint32 row, uint16 sample);
427extern int TIFFWriteScanline(TIFF* tif, void* buf, uint32 row, uint16 sample);
428extern int TIFFReadRGBAImage(TIFF*, uint32, uint32, uint32*, int);
429extern int TIFFReadRGBAImageOriented(TIFF*, uint32, uint32, uint32*, int, int);
430#endif
431
432extern int TIFFReadRGBAStrip(TIFF*, uint32, uint32 * );
433extern int TIFFReadRGBATile(TIFF*, uint32, uint32, uint32 * );
434extern int TIFFReadRGBAStripExt(TIFF*, uint32, uint32 *, int stop_on_error );
435extern int TIFFReadRGBATileExt(TIFF*, uint32, uint32, uint32 *, int stop_on_error );
436extern int TIFFRGBAImageOK(TIFF*, char [1024]);
437extern int TIFFRGBAImageBegin(TIFFRGBAImage*, TIFF*, int, char [1024]);
439extern void TIFFRGBAImageEnd(TIFFRGBAImage*);
440extern TIFF* TIFFOpen(const char*, const char*);
441# ifdef __WIN32__
442extern TIFF* TIFFOpenW(const wchar_t*, const char*);
443# endif /* __WIN32__ */
444extern TIFF* TIFFFdOpen(int, const char*, const char*);
445extern TIFF* TIFFClientOpen(const char*, const char*,
446 thandle_t,
451extern const char* TIFFFileName(TIFF*);
452extern const char* TIFFSetFileName(TIFF*, const char *);
453extern void TIFFError(const char*, const char*, ...) __attribute__((__format__ (__printf__,2,3)));
454extern void TIFFErrorExt(thandle_t, const char*, const char*, ...) __attribute__((__format__ (__printf__,3,4)));
455extern void TIFFWarning(const char*, const char*, ...) __attribute__((__format__ (__printf__,2,3)));
456extern void TIFFWarningExt(thandle_t, const char*, const char*, ...) __attribute__((__format__ (__printf__,3,4)));
463extern int TIFFCheckTile(TIFF* tif, uint32 x, uint32 y, uint32 z, uint16 s);
465extern tmsize_t TIFFReadTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s);
466extern tmsize_t TIFFWriteTile(TIFF* tif, void* buf, uint32 x, uint32 y, uint32 z, uint16 s);
469extern tmsize_t TIFFReadEncodedStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size);
470extern tmsize_t TIFFReadRawStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size);
471extern tmsize_t TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size);
472extern tmsize_t TIFFReadRawTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size);
473extern int TIFFReadFromUserBuffer(TIFF* tif, uint32 strile,
474 void* inbuf, tmsize_t insize,
475 void* outbuf, tmsize_t outsize);
476extern tmsize_t TIFFWriteEncodedStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc);
477extern tmsize_t TIFFWriteRawStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc);
478extern tmsize_t TIFFWriteEncodedTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc);
479extern tmsize_t TIFFWriteRawTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc);
480extern int TIFFDataWidth(TIFFDataType); /* table of tag datatype widths */
481extern void TIFFSetWriteOffset(TIFF* tif, toff_t off);
482extern void TIFFSwabShort(uint16*);
483extern void TIFFSwabLong(uint32*);
484extern void TIFFSwabLong8(uint64*);
485extern void TIFFSwabFloat(float*);
486extern void TIFFSwabDouble(double*);
491extern void TIFFSwabArrayOfFloat(float* fp, tmsize_t n);
492extern void TIFFSwabArrayOfDouble(double* dp, tmsize_t n);
493extern void TIFFReverseBits(uint8* cp, tmsize_t n);
494extern const unsigned char* TIFFGetBitRevTable(int);
495
496extern uint64 TIFFGetStrileOffset(TIFF *tif, uint32 strile);
497extern uint64 TIFFGetStrileByteCount(TIFF *tif, uint32 strile);
498extern uint64 TIFFGetStrileOffsetWithErr(TIFF *tif, uint32 strile, int *pbErr);
499extern uint64 TIFFGetStrileByteCountWithErr(TIFF *tif, uint32 strile, int *pbErr);
500
501#ifdef LOGLUV_PUBLIC
502#define U_NEU 0.210526316
503#define V_NEU 0.473684211
504#define UVSCALE 410.
505extern double LogL16toY(int);
506extern double LogL10toY(int);
507extern void XYZtoRGB24(float*, uint8*);
508extern int uv_decode(double*, double*, int);
509extern void LogLuv24toXYZ(uint32, float*);
510extern void LogLuv32toXYZ(uint32, float*);
511#if defined(c_plusplus) || defined(__cplusplus)
512extern int LogL16fromY(double, int = SGILOGENCODE_NODITHER);
513extern int LogL10fromY(double, int = SGILOGENCODE_NODITHER);
514extern int uv_encode(double, double, int = SGILOGENCODE_NODITHER);
515extern uint32 LogLuv24fromXYZ(float*, int = SGILOGENCODE_NODITHER);
516extern uint32 LogLuv32fromXYZ(float*, int = SGILOGENCODE_NODITHER);
517#else
518extern int LogL16fromY(double, int);
519extern int LogL10fromY(double, int);
520extern int uv_encode(double, double, int);
521extern uint32 LogLuv24fromXYZ(float*, int);
522extern uint32 LogLuv32fromXYZ(float*, int);
523#endif
524#endif /* LOGLUV_PUBLIC */
525
526extern int TIFFCIELabToRGBInit(TIFFCIELabToRGB*, const TIFFDisplay *, float*);
528 float *, float *, float *);
529extern void TIFFXYZToRGB(TIFFCIELabToRGB *, float, float, float,
530 uint32 *, uint32 *, uint32 *);
531
532extern int TIFFYCbCrToRGBInit(TIFFYCbCrToRGB*, float*, float*);
534 uint32 *, uint32 *, uint32 *);
535
536/****************************************************************************
537 * O B S O L E T E D I N T E R F A C E S
538 *
539 * Don't use this stuff in your applications, it may be removed in the future
540 * libtiff versions.
541 ****************************************************************************/
542typedef struct {
543 ttag_t field_tag; /* field's tag */
544 short field_readcount; /* read count/TIFF_VARIABLE/TIFF_SPP */
545 short field_writecount; /* write count/TIFF_VARIABLE */
546 TIFFDataType field_type; /* type of associated data */
547 unsigned short field_bit; /* bit in fieldsset bit vector */
548 unsigned char field_oktochange; /* if true, can change while writing */
549 unsigned char field_passcount; /* if true, pass dir count on set */
550 char *field_name; /* ASCII name */
552
553extern int TIFFMergeFieldInfo(TIFF*, const TIFFFieldInfo[], uint32);
554
555#if defined(c_plusplus) || defined(__cplusplus)
556}
557#endif
558
559#endif /* _TIFFIO_ */
560
561/* vim: set ts=8 sts=8 sw=8 noet: */
562/*
563 * Local Variables:
564 * mode: c
565 * c-basic-offset: 8
566 * fill-column: 78
567 * End:
568 */
char * va_list
Definition: acmsvcex.h:78
static int inbuf
Definition: adnsresfilter.c:73
unsigned short uint16
Definition: types.h:30
unsigned int uint32
Definition: types.h:32
unsigned char uint8
Definition: types.h:28
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
Definition: typeof.h:78
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
_In_ uint64_t _In_ uint64_t _In_ uint64_t _In_opt_ traverse_ptr * tp
Definition: btrfs.c:2996
unsigned long long uint64
Definition: platform.h:18
long int32
Definition: platform.h:12
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
const GLdouble * v
Definition: gl.h:2040
GLdouble s
Definition: gl.h:2039
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLsizeiptr size
Definition: glext.h:5919
GLdouble n
Definition: glext.h:7729
const GLubyte * c
Definition: glext.h:8905
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
GLfloat GLfloat p
Definition: glext.h:8902
GLdouble GLdouble z
Definition: glext.h:5874
uint32_t cc
Definition: isohybrid.c:75
const unsigned char size_t insize
Definition: jpeglib.h:984
unsigned char size_t * outsize
Definition: jpeglib.h:981
#define d
Definition: ke_i.h:81
POINT cp
Definition: magnifier.c:59
#define DECLARE_HANDLE(name)
Definition: mimeole.idl:23
#define long
Definition: qsort.c:33
float bstep
Definition: tiffio.h:166
TIFFDisplay display
Definition: tiffio.h:168
uint16 scheme
Definition: tiffio.h:252
TIFFInitMethod init
Definition: tiffio.h:253
char * name
Definition: tiffio.h:251
uint32 d_Vrwr
Definition: tiffio.h:143
float d_gammaG
Definition: tiffio.h:150
float d_YCB
Definition: tiffio.h:142
uint32 d_Vrwb
Definition: tiffio.h:145
float d_Y0R
Definition: tiffio.h:146
float d_gammaR
Definition: tiffio.h:149
float d_YCG
Definition: tiffio.h:141
float d_YCR
Definition: tiffio.h:140
float d_Y0G
Definition: tiffio.h:147
float d_Y0B
Definition: tiffio.h:148
float d_gammaB
Definition: tiffio.h:151
uint32 d_Vrwg
Definition: tiffio.h:144
unsigned char field_passcount
Definition: tiffio.h:549
short field_readcount
Definition: tiffio.h:544
unsigned char field_oktochange
Definition: tiffio.h:548
ttag_t field_tag
Definition: tiffio.h:543
TIFFDataType field_type
Definition: tiffio.h:546
char * field_name
Definition: tiffio.h:550
unsigned short field_bit
Definition: tiffio.h:547
short field_writecount
Definition: tiffio.h:545
TIFFVGetMethod vgetfield
Definition: tiffio.h:334
TIFFVSetMethod vsetfield
Definition: tiffio.h:333
TIFFPrintMethod printdir
Definition: tiffio.h:335
int32 * Cr_g_tab
Definition: tiffio.h:158
int * Cr_r_tab
Definition: tiffio.h:156
int32 * Cb_g_tab
Definition: tiffio.h:159
TIFFRGBValue * clamptab
Definition: tiffio.h:155
int * Cb_b_tab
Definition: tiffio.h:157
int32 * Y_tab
Definition: tiffio.h:160
int col_offset
Definition: tiffio.h:230
uint16 samplesperpixel
Definition: tiffio.h:205
uint32 height
Definition: tiffio.h:203
uint16 * bluecmap
Definition: tiffio.h:211
TIFF * tif
Definition: tiffio.h:198
uint8 * Bitdepth16To8
Definition: tiffio.h:227
tileContigRoutine contig
Definition: tiffio.h:217
uint16 photometric
Definition: tiffio.h:208
union _TIFFRGBAImage::@3464 put
uint32 ** BWmap
Definition: tiffio.h:221
uint16 req_orientation
Definition: tiffio.h:207
TIFFCIELabToRGB * cielab
Definition: tiffio.h:224
uint16 * redcmap
Definition: tiffio.h:209
uint16 bitspersample
Definition: tiffio.h:204
uint16 orientation
Definition: tiffio.h:206
void(* any)(TIFFRGBAImage *)
Definition: tiffio.h:216
uint32 ** PALmap
Definition: tiffio.h:222
TIFFRGBValue * Map
Definition: tiffio.h:220
int isContig
Definition: tiffio.h:200
int row_offset
Definition: tiffio.h:229
TIFFYCbCrToRGB * ycbcr
Definition: tiffio.h:223
int stoponerr
Definition: tiffio.h:199
uint16 * greencmap
Definition: tiffio.h:210
int(* get)(TIFFRGBAImage *, uint32 *, uint32, uint32)
Definition: tiffio.h:213
tileSeparateRoutine separate
Definition: tiffio.h:218
uint32 width
Definition: tiffio.h:202
uint8 * UaToAa
Definition: tiffio.h:226
Definition: tftpd.h:86
Definition: ecma_167.h:138
Definition: tiffiop.h:115
#define TIFF_SSIZE_T
Definition: tif_config.h:108
TIFF * TIFFOpenW(const wchar_t *name, const char *mode)
Definition: tif_win32.c:299
#define ORIENTATION_BOTLEFT
Definition: tiff.h:226
TIFFDataType
Definition: tiff.h:123
#define SGILOGENCODE_NODITHER
Definition: tiff.h:563
int TIFFRewriteDirectory(TIFF *)
Definition: tif_dirwrite.c:261
tmsize_t TIFFTileSize(TIFF *tif)
Definition: tif_tile.c:257
int TIFFCreateDirectory(TIFF *)
Definition: tif_dir.c:1327
tmsize_t TIFFWriteRawTile(TIFF *tif, uint32 tile, void *data, tmsize_t cc)
Definition: tif_write.c:503
tmsize_t TIFFReadTile(TIFF *tif, void *buf, uint32 x, uint32 y, uint32 z, uint16 s)
Definition: tif_read.c:965
TIFFSizeProc TIFFGetSizeProc(TIFF *)
Definition: tif_open.c:711
tmsize_t TIFFStripSize(TIFF *tif)
Definition: tif_strip.c:202
tmsize_t TIFFVTileSize(TIFF *tif, uint32 nrows)
Definition: tif_tile.c:240
uint32 TIFFCurrentRow(TIFF *)
Definition: tif_open.c:603
uint64 TIFFGetStrileOffsetWithErr(TIFF *tif, uint32 strile, int *pbErr)
Definition: tif_dirread.c:6296
void LogLuv32toXYZ(uint32, float *)
uint64 toff_t
Definition: tiffio.h:66
int TIFFCreateEXIFDirectory(TIFF *)
Definition: tif_dir.c:1361
tmsize_t TIFFScanlineSize(TIFF *tif)
Definition: tif_strip.c:314
int TIFFReadBufferSetup(TIFF *tif, void *bp, tmsize_t size)
Definition: tif_read.c:1378
uint64 TIFFTileRowSize64(TIFF *tif)
Definition: tif_tile.c:142
void(* tileSeparateRoutine)(TIFFRGBAImage *, uint32 *, uint32, uint32, uint32, uint32, int32, int32, unsigned char *, unsigned char *, unsigned char *, unsigned char *)
Definition: tiffio.h:192
void _TIFFfree(void *p)
Definition: tif_unix.c:326
void TIFFSwabArrayOfShort(uint16 *wp, tmsize_t n)
int TIFFReadFromUserBuffer(TIFF *tif, uint32 strile, void *inbuf, tmsize_t insize, void *outbuf, tmsize_t outsize)
Definition: tif_read.c:1524
int(* TIFFMapFileProc)(thandle_t, void **base, toff_t *size)
Definition: tiffio.h:277
tstrile_t tstrip_t
Definition: tiffio.h:73
void TIFFSwabArrayOfDouble(double *dp, tmsize_t n)
Definition: tif_swab.c:182
int TIFFYCbCrToRGBInit(TIFFYCbCrToRGB *, float *, float *)
Definition: tif_color.c:234
uint32 TIFFCurrentTile(TIFF *tif)
Definition: tif_open.c:630
void TIFFSwabShort(uint16 *)
Definition: tif_swab.c:34
int TIFFGetMode(TIFF *)
Definition: tif_open.c:573
void void void void TIFFErrorHandler TIFFSetErrorHandler(TIFFErrorHandler)
Definition: tif_error.c:33
int TIFFReadRGBAImage(TIFF *, uint32, uint32, uint32 *, int)
Definition: tif_getimage.c:545
void(* TIFFPrintMethod)(TIFF *, FILE *, long)
Definition: tiffio.h:330
uint64 TIFFGetStrileOffset(TIFF *tif, uint32 strile)
Definition: tif_dirread.c:6290
uint16 TIFFNumberOfDirectories(TIFF *)
Definition: tif_dir.c:1586
void TIFFRGBAImageEnd(TIFFRGBAImage *)
Definition: tif_getimage.c:214
tmsize_t TIFFTileRowSize(TIFF *tif)
Definition: tif_tile.c:180
tmsize_t TIFFRawStripSize(TIFF *tif, uint32 strip)
Definition: tif_strip.c:164
TIFF * TIFFClientOpen(const char *, const char *, thandle_t, TIFFReadWriteProc, TIFFReadWriteProc, TIFFSeekProc, TIFFCloseProc, TIFFSizeProc, TIFFMapFileProc, TIFFUnmapFileProc)
Definition: tif_open.c:71
uint64 TIFFScanlineSize64(TIFF *tif)
Definition: tif_strip.c:257
tmsize_t TIFFWriteEncodedTile(TIFF *tif, uint32 tile, void *data, tmsize_t cc)
Definition: tif_write.c:391
TIFF_SSIZE_T tmsize_t
Definition: tiffio.h:65
int TIFFReadRGBAImageOriented(TIFF *, uint32, uint32, uint32 *, int, int)
Definition: tif_getimage.c:519
tstrile_t ttile_t
Definition: tiffio.h:74
void(* TIFFErrorHandler)(const char *, const char *, va_list)
Definition: tiffio.h:271
TIFFTagMethods * TIFFAccessTagMethods(TIFF *)
Definition: tif_extension.c:58
const TIFFCodec * TIFFFindCODEC(uint16)
Definition: tif_compress.c:186
int TIFFWriteScanline(TIFF *tif, void *buf, uint32 row, uint16 sample)
Definition: tif_write.c:47
TIFFReadWriteProc TIFFGetWriteProc(TIFF *)
Definition: tif_open.c:684
uint64 TIFFRawStripSize64(TIFF *tif, uint32 strip)
Definition: tif_strip.c:140
int LogL16fromY(double, int)
uint32 TIFFNumberOfStrips(TIFF *)
Definition: tif_strip.c:59
unsigned char TIFFRGBValue
Definition: tiffio.h:136
void LogLuv24toXYZ(uint32, float *)
int TIFFSetFileno(TIFF *, int)
Definition: tif_open.c:542
void TIFFYCbCrtoRGB(TIFFYCbCrToRGB *, uint32, int32, int32, uint32 *, uint32 *, uint32 *)
Definition: tif_color.c:181
void void void void TIFFWarningExt(thandle_t, const char *, const char *,...) __attribute__((__format__(__printf__
TIFFCodec * TIFFRegisterCODEC(uint16, const char *, TIFFInitMethod)
Definition: tif_compress.c:201
int TIFFGetTagListCount(TIFF *)
Definition: tif_extension.c:34
void(* TIFFUnmapFileProc)(thandle_t, void *base, toff_t size)
Definition: tiffio.h:278
uint32 tstrile_t
Definition: tiffio.h:72
int TIFFFlushData(TIFF *tif)
Definition: tif_flush.c:156
void void TIFFErrorExt(thandle_t, const char *, const char *,...) __attribute__((__format__(__printf__
double LogL16toY(int)
tmsize_t TIFFReadRawTile(TIFF *tif, uint32 tile, void *buf, tmsize_t size)
Definition: tif_read.c:1167
const char * TIFFGetVersion(void)
Definition: tif_version.c:29
int TIFFGetFieldDefaulted(TIFF *tif, uint32 tag,...)
Definition: tif_aux.c:345
const TIFFField * TIFFFieldWithName(TIFF *, const char *)
Definition: tif_dirinfo.c:570
void TIFFSwabFloat(float *)
Definition: tif_swab.c:139
uint32 ttag_t
Definition: tiffio.h:69
uint64 TIFFGetStrileByteCountWithErr(TIFF *tif, uint32 strile, int *pbErr)
Definition: tif_dirread.c:6311
uint32 LogLuv24fromXYZ(float *, int)
TIFFMapFileProc TIFFGetMapFileProc(TIFF *)
Definition: tif_open.c:720
double LogL10toY(int)
int TIFFIsUpSampled(TIFF *)
Definition: tif_open.c:648
int TIFFDataWidth(TIFFDataType)
Definition: tif_dirinfo.c:438
const TIFFField * TIFFFindField(TIFF *, uint32, TIFFDataType)
Definition: tif_dirinfo.c:506
int TIFFRGBAImageOK(TIFF *, char[1024])
Definition: tif_getimage.c:74
void TIFFSwabArrayOfTriples(uint8 *tp, tmsize_t n)
int TIFFReadRGBAStripExt(TIFF *, uint32, uint32 *, int stop_on_error)
int TIFFForceStrileArrayWriting(TIFF *)
Definition: tif_flush.c:79
int TIFFSetField(TIFF *, uint32,...)
Definition: tif_dir.c:807
void void void TIFFWarning(const char *, const char *,...) __attribute__((__format__(__printf__
void TIFFReverseBits(uint8 *cp, tmsize_t n)
Definition: tif_swab.c:284
void * TIFFGetClientInfo(TIFF *, const char *)
Definition: tif_extension.c:64
void TIFFClose(TIFF *tif)
Definition: tif_close.c:122
int TIFFReadCustomDirectory(TIFF *tif, toff_t diroff, const TIFFFieldArray *infoarray)
Definition: tif_dirread.c:4394
uint64 TIFFRasterScanlineSize64(TIFF *tif)
Definition: tif_strip.c:329
int TIFFIsCODECConfigured(uint16)
Definition: tif_codec.c:150
tmsize_t TIFFReadEncodedStrip(TIFF *tif, uint32 strip, void *buf, tmsize_t size)
Definition: tif_read.c:527
int TIFFSetupStrips(TIFF *)
Definition: tif_write.c:523
TIFFErrorHandlerExt TIFFSetErrorHandlerExt(TIFFErrorHandlerExt)
Definition: tif_error.c:41
int TIFFSetDirectory(TIFF *, uint16)
Definition: tif_dir.c:1617
int TIFFVGetFieldDefaulted(TIFF *tif, uint32 tag, va_list ap)
Definition: tif_aux.c:209
int TIFFVSetField(TIFF *, uint32, va_list)
Definition: tif_dir.c:866
tmsize_t TIFFWriteTile(TIFF *tif, void *buf, uint32 x, uint32 y, uint32 z, uint16 s)
Definition: tif_write.c:364
const char * TIFFFieldName(const TIFFField *)
Definition: tif_dirinfo.c:588
void TIFFSetWriteOffset(TIFF *tif, toff_t off)
Definition: tif_write.c:834
uint32 TIFFDefaultStripSize(TIFF *tif, uint32 request)
Definition: tif_strip.c:217
void * _TIFFcalloc(tmsize_t nmemb, tmsize_t siz)
Definition: tif_unix.c:317
TIFF * TIFFFdOpen(int, const char *, const char *)
Definition: tif_unix.c:203
int TIFFFlush(TIFF *tif)
Definition: tif_flush.c:32
uint16 tsample_t
Definition: tiffio.h:71
int TIFFCheckTile(TIFF *tif, uint32 x, uint32 y, uint32 z, uint16 s)
Definition: tif_tile.c:73
int TIFFLastDirectory(TIFF *)
Definition: tif_dir.c:1676
uint64 TIFFVTileSize64(TIFF *tif, uint32 nrows)
Definition: tif_tile.c:192
thandle_t TIFFSetClientdata(TIFF *, thandle_t)
Definition: tif_open.c:562
TIFFCloseProc TIFFGetCloseProc(TIFF *)
Definition: tif_open.c:702
uint64 TIFFCurrentDirOffset(TIFF *)
Definition: tif_dir.c:1666
int TIFFWriteDirectory(TIFF *)
Definition: tif_dirwrite.c:180
tmsize_t TIFFWriteRawStrip(TIFF *tif, uint32 strip, void *data, tmsize_t cc)
Definition: tif_write.c:316
uint32 TIFFNumberOfTiles(TIFF *)
Definition: tif_tile.c:113
void _TIFFmemset(void *p, int v, tmsize_t c)
Definition: tif_unix.c:338
void * _TIFFmalloc(tmsize_t s)
Definition: tif_unix.c:309
int TIFFIsTiled(TIFF *)
Definition: tif_open.c:594
int TIFFFieldReadCount(const TIFFField *)
Definition: tif_dirinfo.c:606
tmsize_t TIFFReadEncodedTile(TIFF *tif, uint32 tile, void *buf, tmsize_t size)
Definition: tif_read.c:978
void TIFFPrintDirectory(TIFF *, FILE *, long)
Definition: tif_print.c:234
tmsize_t TIFFReadRawStrip(TIFF *tif, uint32 strip, void *buf, tmsize_t size)
Definition: tif_read.c:722
void TIFFSwabDouble(double *)
Definition: tif_swab.c:168
toff_t(* TIFFSizeProc)(thandle_t)
Definition: tiffio.h:276
uint32 LogLuv32fromXYZ(float *, int)
int TIFFWriteCheck(TIFF *, int, const char *)
Definition: tif_write.c:565
int uv_decode(double *, double *, int)
int uv_encode(double, double, int)
uint64 TIFFGetStrileByteCount(TIFF *tif, uint32 strile)
Definition: tif_dirread.c:6305
TIFFDataType TIFFFieldDataType(const TIFFField *)
Definition: tif_dirinfo.c:594
int TIFFReadRGBAStrip(TIFF *, uint32, uint32 *)
TIFFExtendProc TIFFSetTagExtender(TIFFExtendProc)
Definition: tif_dir.c:1312
int TIFFReadRGBATile(TIFF *, uint32, uint32, uint32 *)
void TIFFCleanup(TIFF *tif)
Definition: tif_close.c:46
int TIFFFieldWriteCount(const TIFFField *)
Definition: tif_dirinfo.c:612
const TIFFField * TIFFFieldWithTag(TIFF *, uint32)
Definition: tif_dirinfo.c:558
int TIFFWriteCustomDirectory(TIFF *, uint64 *)
Definition: tif_dirwrite.c:249
void TIFFFreeDirectory(TIFF *)
Definition: tif_dir.c:1268
int TIFFIsByteSwapped(TIFF *)
Definition: tif_open.c:639
int TIFFRGBAImageGet(TIFFRGBAImage *, uint32 *, uint32, uint32)
Definition: tif_getimage.c:500
TIFFReadWriteProc TIFFGetReadProc(TIFF *)
Definition: tif_open.c:675
TIFF * TIFFOpen(const char *, const char *)
Definition: tif_unix.c:223
int TIFFUnsetField(TIFF *, uint32)
Definition: tif_dir.c:822
int TIFFSetSubDirectory(TIFF *, uint64)
Definition: tif_dir.c:1651
int TIFFSetMode(TIFF *, int)
Definition: tif_open.c:582
uint32 TIFFCurrentStrip(TIFF *)
Definition: tif_open.c:621
int TIFFReadRGBATileExt(TIFF *, uint32, uint32, uint32 *, int stop_on_error)
TIFFSeekProc TIFFGetSeekProc(TIFF *)
Definition: tif_open.c:693
void TIFFSwabArrayOfLong(uint32 *lp, tmsize_t n)
void * tdata_t
Definition: tiffio.h:76
void(* TIFFExtendProc)(TIFF *)
Definition: tiffio.h:279
void TIFFSetClientInfo(TIFF *, void *, const char *)
Definition: tif_extension.c:78
void(* tileContigRoutine)(TIFFRGBAImage *, uint32 *, uint32, uint32, uint32, uint32, int32, int32, unsigned char *)
Definition: tiffio.h:189
int TIFFCheckpointDirectory(TIFF *)
Definition: tif_dirwrite.c:237
int TIFFCreateCustomDirectory(TIFF *, const TIFFFieldArray *)
Definition: tif_dir.c:1340
uint64 TIFFVStripSize64(TIFF *tif, uint32 nrows)
Definition: tif_strip.c:76
int TIFFDeferStrileArrayWriting(TIFF *)
Definition: tif_dirwrite.c:210
int _TIFFmemcmp(const void *p1, const void *p2, tmsize_t c)
Definition: tif_unix.c:350
TIFFErrorHandlerExt TIFFSetWarningHandlerExt(TIFFErrorHandlerExt)
Definition: tif_warning.c:41
int TIFFGetField(TIFF *tif, uint32 tag,...)
Definition: tif_dir.c:1232
const char * TIFFFileName(TIFF *)
Definition: tif_open.c:513
uint32 TIFFComputeTile(TIFF *tif, uint32 x, uint32 y, uint32 z, uint16 s)
Definition: tif_tile.c:36
#define CIELABTORGB_TABLE_RANGE
Definition: tiffio.h:165
int TIFFFieldPassCount(const TIFFField *)
Definition: tif_dirinfo.c:600
thandle_t TIFFClientdata(TIFF *)
Definition: tif_open.c:553
int TIFFWriteBufferSetup(TIFF *tif, void *bp, tmsize_t size)
Definition: tif_write.c:650
int TIFFRGBAImageBegin(TIFFRGBAImage *, TIFF *, int, char[1024])
Definition: tif_getimage.c:265
tmsize_t TIFFVStripSize(TIFF *tif, uint32 nrows)
Definition: tif_strip.c:128
int TIFFIsBigEndian(TIFF *)
Definition: tif_open.c:666
void TIFFUnRegisterCODEC(TIFFCodec *)
Definition: tif_compress.c:224
void XYZtoRGB24(float *, uint8 *)
int TIFFMergeFieldInfo(TIFF *, const TIFFFieldInfo[], uint32)
Definition: tif_dirinfo.c:888
int(* TIFFInitMethod)(TIFF *, int)
Definition: tiffio.h:249
const unsigned char * TIFFGetBitRevTable(int)
Definition: tif_swab.c:278
int(* TIFFVGetMethod)(TIFF *, uint32, va_list)
Definition: tiffio.h:329
TIFFUnmapFileProc TIFFGetUnmapFileProc(TIFF *)
Definition: tif_open.c:729
int TIFFCIELabToRGBInit(TIFFCIELabToRGB *, const TIFFDisplay *, float *)
Definition: tif_color.c:123
void(* TIFFErrorHandlerExt)(thandle_t, const char *, const char *, va_list)
Definition: tiffio.h:272
void TIFFCIELabToXYZ(TIFFCIELabToRGB *, uint32, int32, int32, float *, float *, float *)
Definition: tif_color.c:44
int TIFFVGetField(TIFF *tif, uint32 tag, va_list ap)
Definition: tif_dir.c:1250
void TIFFXYZToRGB(TIFFCIELabToRGB *, float, float, float, uint32 *, uint32 *, uint32 *)
Definition: tif_color.c:76
TIFFCodec * TIFFGetConfiguredCODECs(void)
Definition: tif_compress.c:252
int LogL10fromY(double, int)
int TIFFIsMSB2LSB(TIFF *)
Definition: tif_open.c:657
int TIFFReadEXIFDirectory(TIFF *tif, toff_t diroff)
Definition: tif_dirread.c:4501
int TIFFUnlinkDirectory(TIFF *, uint16)
Definition: tif_dir.c:1685
tmsize_t TIFFWriteEncodedStrip(TIFF *tif, uint32 strip, void *data, tmsize_t cc)
Definition: tif_write.c:212
int TIFFReadDirectory(TIFF *tif)
Definition: tif_dirread.c:3574
uint16 TIFFCurrentDirectory(TIFF *)
Definition: tif_open.c:612
uint32 TIFFGetTagListEntry(TIFF *, int tag_index)
Definition: tif_extension.c:42
void TIFFError(const char *, const char *,...) __attribute__((__format__(__printf__
tmsize_t TIFFRasterScanlineSize(TIFF *tif)
Definition: tif_strip.c:344
uint32 TIFFFieldTag(const TIFFField *)
Definition: tif_dirinfo.c:582
void TIFFSwabLong8(uint64 *)
Definition: tif_swab.c:57
tmsize_t tsize_t
Definition: tiffio.h:75
int TIFFFileno(TIFF *)
Definition: tif_open.c:533
void TIFFDefaultTileSize(TIFF *, uint32 *, uint32 *)
Definition: tif_tile.c:272
void * thandle_t
Definition: tiffio.h:104
tmsize_t(* TIFFReadWriteProc)(thandle_t, void *, tmsize_t)
Definition: tiffio.h:273
uint16 tdir_t
Definition: tiffio.h:70
void _TIFFmemcpy(void *d, const void *s, tmsize_t c)
Definition: tif_unix.c:344
TIFFErrorHandler TIFFSetWarningHandler(TIFFErrorHandler)
Definition: tif_warning.c:33
uint32 TIFFComputeStrip(TIFF *, uint32, uint16)
Definition: tif_strip.c:36
void TIFFSwabLong(uint32 *)
Definition: tif_swab.c:45
toff_t(* TIFFSeekProc)(thandle_t, toff_t, int)
Definition: tiffio.h:274
void TIFFSwabArrayOfFloat(float *fp, tmsize_t n)
void TIFFSwabArrayOfLong8(uint64 *lp, tmsize_t n)
int TIFFReadScanline(TIFF *tif, void *buf, uint32 row, uint16 sample)
Definition: tif_read.c:460
uint64 TIFFTileSize64(TIFF *tif)
Definition: tif_tile.c:252
const char * TIFFSetFileName(TIFF *, const char *)
Definition: tif_open.c:522
uint64 TIFFStripSize64(TIFF *tif)
Definition: tif_strip.c:193
int(* TIFFVSetMethod)(TIFF *, uint32, va_list)
Definition: tiffio.h:328
int(* TIFFCloseProc)(thandle_t)
Definition: tiffio.h:275
void * _TIFFrealloc(void *p, tmsize_t s)
Definition: tif_unix.c:332
int HFILE
Definition: windef.h:298
void int int ULONGLONG int va_list * ap
Definition: winesup.h:36
#define const
Definition: zconf.h:233