w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

tiffiop.h
Go to the documentation of this file.
1 /* $Header: /cvsroot/osrs/libtiff/libtiff/tiffiop.h,v 1.2 1999/11/22 22:47:24 mwelles Exp $ */
2 
3 /*
4  * Copyright (c) 1988-1997 Sam Leffler
5  * Copyright (c) 1991-1997 Silicon Graphics, Inc.
6  *
7  * Permission to use, copy, modify, distribute, and sell this software and
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
10  * all copies of the software and related documentation, and (ii) the names of
11  * Sam Leffler and Silicon Graphics may not be used in any advertising or
12  * publicity relating to the software without the specific, prior written
13  * permission of Sam Leffler and Silicon Graphics.
14  *
15  * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
16  * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
17  * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
18  *
19  * IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
20  * ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
21  * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
22  * WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
23  * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
24  * OF THIS SOFTWARE.
25  */
26 
27 #ifndef _TIFFIOP_
28 #define _TIFFIOP_
29 /*
30  * ``Library-private'' definitions.
31  */
32 /*
33  * UNIX systems should run the configure script to generate
34  * a port.h file that reflects the system capabilities.
35  * Doing this obviates all the dreck done in tiffcomp.h.
36  */
37 #if defined(unix) || defined(__unix)
38 #include "port.h"
39 #include "tiffconf.h"
40 #else
41 #include "tiffconf.h"
42 #include "tiffcomp.h"
43 #endif
44 #include "tiffio.h"
45 #include "tif_dir.h"
46 
47 #ifndef TRUE
48 #define TRUE 1
49 #define FALSE 0
50 #endif
51 
52 /*
53  * Typedefs for ``method pointers'' used internally.
54  */
55 typedef unsigned char tidataval_t; /* internal image data value type */
56 typedef tidataval_t* tidata_t; /* reference to internal image data */
57 
58 typedef void (*TIFFVoidMethod)(TIFF*);
59 typedef int (*TIFFBoolMethod)(TIFF*);
62 typedef int (*TIFFSeekMethod)(TIFF*, uint32);
66 typedef void (*TIFFPrintMethod)(TIFF*, FILE*, long);
69 
70 struct tiff {
71  char* tif_name; /* name of open file */
72  int tif_fd; /* open file descriptor */
73  int tif_mode; /* open mode (O_*) */
75 #define TIFF_FILLORDER 0x0003 /* natural bit fill order for machine */
76 #define TIFF_DIRTYHEADER 0x0004 /* header must be written on close */
77 #define TIFF_DIRTYDIRECT 0x0008 /* current directory must be written */
78 #define TIFF_BUFFERSETUP 0x0010 /* data buffers setup */
79 #define TIFF_CODERSETUP 0x0020 /* encoder/decoder setup done */
80 #define TIFF_BEENWRITING 0x0040 /* written 1+ scanlines to file */
81 #define TIFF_SWAB 0x0080 /* byte swap file information */
82 #define TIFF_NOBITREV 0x0100 /* inhibit bit reversal logic */
83 #define TIFF_MYBUFFER 0x0200 /* my raw data buffer; free on close */
84 #define TIFF_ISTILED 0x0400 /* file is tile, not strip- based */
85 #define TIFF_MAPPED 0x0800 /* file is mapped into memory */
86 #define TIFF_POSTENCODE 0x1000 /* need call to postencode routine */
87 #define TIFF_INSUBIFD 0x2000 /* currently writing a subifd */
88 #define TIFF_UPSAMPLED 0x4000 /* library is doing data up-sampling */
89 #define TIFF_STRIPCHOP 0x8000 /* enable strip chopping support */
90  toff_t tif_diroff; /* file offset of current directory */
91  toff_t tif_nextdiroff; /* file offset of following directory */
92  TIFFDirectory tif_dir; /* internal rep of current directory */
93  TIFFHeader tif_header; /* file's header block */
94  tidata_t tif_clientdir; /* client TIFF directory */
95  const int* tif_typeshift; /* data type shift counts */
96  const long* tif_typemask; /* data type masks */
97  uint32 tif_row; /* current scanline */
98  tdir_t tif_curdir; /* current directory (index) */
99  tstrip_t tif_curstrip; /* current strip for read/write */
100  toff_t tif_curoff; /* current offset for read/write */
101  toff_t tif_dataoff; /* current offset for writing dir */
102 #if SUBIFD_SUPPORT
103  uint16 tif_nsubifd; /* remaining subifds to write */
104  toff_t tif_subifdoff; /* offset for patching SubIFD link */
105 #endif
106 /* tiling support */
107  uint32 tif_col; /* current column (offset by row too) */
108  ttile_t tif_curtile; /* current tile for read/write */
109  tsize_t tif_tilesize; /* # of bytes in a tile */
110 /* compression scheme hooks */
111  TIFFBoolMethod tif_setupdecode;/* called once before predecode */
112  TIFFPreMethod tif_predecode; /* pre- row/strip/tile decoding */
113  TIFFBoolMethod tif_setupencode;/* called once before preencode */
114  TIFFPreMethod tif_preencode; /* pre- row/strip/tile encoding */
115  TIFFBoolMethod tif_postencode; /* post- row/strip/tile encoding */
116  TIFFCodeMethod tif_decoderow; /* scanline decoding routine */
117  TIFFCodeMethod tif_encoderow; /* scanline encoding routine */
118  TIFFCodeMethod tif_decodestrip;/* strip decoding routine */
119  TIFFCodeMethod tif_encodestrip;/* strip encoding routine */
120  TIFFCodeMethod tif_decodetile; /* tile decoding routine */
121  TIFFCodeMethod tif_encodetile; /* tile encoding routine */
122  TIFFVoidMethod tif_close; /* cleanup-on-close routine */
123  TIFFSeekMethod tif_seek; /* position within a strip routine */
124  TIFFVoidMethod tif_cleanup; /* cleanup state routine */
125  TIFFStripMethod tif_defstripsize;/* calculate/constrain strip size */
126  TIFFTileMethod tif_deftilesize;/* calculate/constrain tile size */
127  tidata_t tif_data; /* compression scheme private data */
128 /* input/output buffering */
129  tsize_t tif_scanlinesize;/* # of bytes in a scanline */
130  tsize_t tif_scanlineskew;/* scanline skew for reading strips */
131  tidata_t tif_rawdata; /* raw data buffer */
132  tsize_t tif_rawdatasize;/* # of bytes in raw data buffer */
133  tidata_t tif_rawcp; /* current spot in raw buffer */
134  tsize_t tif_rawcc; /* bytes unread from raw buffer */
135 /* memory-mapped file support */
136  tidata_t tif_base; /* base of mapped file */
137  toff_t tif_size; /* size of mapped file region (bytes) */
138  TIFFMapFileProc tif_mapproc; /* map file method */
139  TIFFUnmapFileProc tif_unmapproc;/* unmap file method */
140 /* input/output callback methods */
141  thandle_t tif_clientdata; /* callback parameter */
142  TIFFReadWriteProc tif_readproc; /* read method */
143  TIFFReadWriteProc tif_writeproc;/* write method */
144  TIFFSeekProc tif_seekproc; /* lseek method */
145  TIFFCloseProc tif_closeproc; /* close method */
146  TIFFSizeProc tif_sizeproc; /* filesize method */
147 /* post-decoding support */
148  TIFFPostMethod tif_postdecode; /* post decoding routine */
149 /* tag support */
150  TIFFFieldInfo** tif_fieldinfo; /* sorted table of registered tags */
151  int tif_nfields; /* # entries in registered tag table */
152  TIFFVSetMethod tif_vsetfield; /* tag set routine */
153  TIFFVGetMethod tif_vgetfield; /* tag get routine */
154  TIFFPrintMethod tif_printdir; /* directory print routine */
155 };
156 
157 #define isPseudoTag(t) (t > 0xffff) /* is tag value normal or pseudo */
158 
159 #define isTiled(tif) (((tif)->tif_flags & TIFF_ISTILED) != 0)
160 #define isMapped(tif) (((tif)->tif_flags & TIFF_MAPPED) != 0)
161 #define isFillOrder(tif, o) (((tif)->tif_flags & (o)) != 0)
162 #define isUpSampled(tif) (((tif)->tif_flags & TIFF_UPSAMPLED) != 0)
163 #define TIFFReadFile(tif, buf, size) \
164  ((*(tif)->tif_readproc)((tif)->tif_clientdata,buf,size))
165 #define TIFFWriteFile(tif, buf, size) \
166  ((*(tif)->tif_writeproc)((tif)->tif_clientdata,buf,size))
167 #define TIFFSeekFile(tif, off, whence) \
168  ((*(tif)->tif_seekproc)((tif)->tif_clientdata,(toff_t)(off),whence))
169 #define TIFFCloseFile(tif) \
170  ((*(tif)->tif_closeproc)((tif)->tif_clientdata))
171 #define TIFFGetFileSize(tif) \
172  ((*(tif)->tif_sizeproc)((tif)->tif_clientdata))
173 #define TIFFMapFileContents(tif, paddr, psize) \
174  ((*(tif)->tif_mapproc)((tif)->tif_clientdata,paddr,psize))
175 #define TIFFUnmapFileContents(tif, addr, size) \
176  ((*(tif)->tif_unmapproc)((tif)->tif_clientdata,addr,size))
177 
178 /*
179  * Default Read/Seek/Write definitions.
180  */
181 #ifndef ReadOK
182 #define ReadOK(tif, buf, size) \
183  (TIFFReadFile(tif, (tdata_t) buf, (tsize_t) size) == (tsize_t) size)
184 #endif
185 #ifndef SeekOK
186 #define SeekOK(tif, off) \
187  (TIFFSeekFile(tif, (toff_t) off, SEEK_SET) == (toff_t) off)
188 #endif
189 #ifndef WriteOK
190 #define WriteOK(tif, buf, size) \
191  (TIFFWriteFile(tif, (tdata_t) buf, (tsize_t) size) == (tsize_t) size)
192 #endif
193 
194 /* NB: the uint32 casts are to silence certain ANSI-C compilers */
195 #define TIFFhowmany(x, y) ((((uint32)(x))+(((uint32)(y))-1))/((uint32)(y)))
196 #define TIFFroundup(x, y) (TIFFhowmany(x,y)*((uint32)(y)))
197 
198 #if defined(__cplusplus)
199 extern "C" {
200 #endif
201 extern int _TIFFgetMode(const char*, const char*);
208 extern void _TIFFNoPostDecode(TIFF*, tidata_t, tsize_t);
209 extern int _TIFFNoPreCode (TIFF*, tsample_t);
210 extern int _TIFFNoSeek(TIFF*, uint32);
211 extern void _TIFFSwab16BitData(TIFF*, tidata_t, tsize_t);
212 extern void _TIFFSwab32BitData(TIFF*, tidata_t, tsize_t);
213 extern void _TIFFSwab64BitData(TIFF*, tidata_t, tsize_t);
214 extern int TIFFFlushData1(TIFF*);
215 extern void TIFFFreeDirectory(TIFF*);
216 extern int TIFFDefaultDirectory(TIFF*);
217 extern int TIFFSetCompressionScheme(TIFF*, int);
220 extern void _TIFFDefaultTileSize(TIFF*, uint32*, uint32*);
221 
222 extern void _TIFFsetByteArray(void**, void*, long);
223 extern void _TIFFsetString(char**, char*);
224 extern void _TIFFsetShortArray(uint16**, uint16*, long);
225 extern void _TIFFsetLongArray(uint32**, uint32*, long);
226 extern void _TIFFsetFloatArray(float**, float*, long);
227 extern void _TIFFsetDoubleArray(double**, double*, long);
228 
229 extern void _TIFFprintAscii(FILE*, const char*);
230 extern void _TIFFprintAsciiTag(FILE*, const char*, const char*);
231 
234 
235 extern int TIFFInitDumpMode(TIFF*, int);
236 #ifdef PACKBITS_SUPPORT
237 extern int TIFFInitPackBits(TIFF*, int);
238 #endif
239 #ifdef CCITT_SUPPORT
240 extern int TIFFInitCCITTRLE(TIFF*, int), TIFFInitCCITTRLEW(TIFF*, int);
241 extern int TIFFInitCCITTFax3(TIFF*, int), TIFFInitCCITTFax4(TIFF*, int);
242 #endif
243 #ifdef THUNDER_SUPPORT
244 extern int TIFFInitThunderScan(TIFF*, int);
245 #endif
246 #ifdef NEXT_SUPPORT
247 extern int TIFFInitNeXT(TIFF*, int);
248 #endif
249 #ifdef LZW_SUPPORT
250 extern int TIFFInitLZW(TIFF*, int);
251 #endif
252 #ifdef OJPEG_SUPPORT
253 extern int TIFFInitOJPEG(TIFF*, int);
254 #endif
255 #ifdef JPEG_SUPPORT
256 extern int TIFFInitJPEG(TIFF*, int);
257 #endif
258 #ifdef JBIG_SUPPORT
259 extern int TIFFInitJBIG(TIFF*, int);
260 #endif
261 #ifdef ZIP_SUPPORT
262 extern int TIFFInitZIP(TIFF*, int);
263 #endif
264 #ifdef PIXARLOG_SUPPORT
265 extern int TIFFInitPixarLog(TIFF*, int);
266 #endif
267 #ifdef LOGLUV_SUPPORT
268 extern int TIFFInitSGILog(TIFF*, int);
269 #endif
270 #ifdef VMS
271 extern const TIFFCodec _TIFFBuiltinCODECS[];
272 #else
274 #endif
275 
276 #if defined(__cplusplus)
277 }
278 #endif
279 #endif /* _TIFFIOP_ */
static void
Definition: fpif.c:118
#define GLOBALDATA(TYPE, NAME)
Definition: port.h:28
#define TIFFInitPixarLog
Definition: tif_codec.c:67
#define TIFFInitJPEG
Definition: tif_codec.c:49
#define TIFFInitJBIG
Definition: tif_codec.c:61
#define TIFFInitZIP
Definition: tif_codec.c:64
#define TIFFInitOJPEG
Definition: tif_codec.c:52
unsigned short uint16
Definition: tiff.h:62
unsigned long uint32
Definition: tiff.h:68
tsize_t(* TIFFReadWriteProc)(thandle_t, tdata_t, tsize_t)
Definition: tiffio.h:202
int32 tsize_t
Definition: tiffio.h:73
void(* TIFFUnmapFileProc)(thandle_t, tdata_t, toff_t)
Definition: tiffio.h:207
void(* TIFFErrorHandler)(const char *, const char *, va_list)
Definition: tiffio.h:201
uint32 ttag_t
Definition: tiffio.h:68
uint32 ttile_t
Definition: tiffio.h:72
uint16 tsample_t
Definition: tiffio.h:70
toff_t(* TIFFSizeProc)(thandle_t)
Definition: tiffio.h:205
int(* TIFFMapFileProc)(thandle_t, tdata_t *, toff_t *)
Definition: tiffio.h:206
int32 toff_t
Definition: tiffio.h:75
uint32 tstrip_t
Definition: tiffio.h:71
void * thandle_t
Definition: tiffio.h:88
uint16 tdir_t
Definition: tiffio.h:69
toff_t(* TIFFSeekProc)(thandle_t, toff_t, int)
Definition: tiffio.h:203
int(* TIFFCloseProc)(thandle_t)
Definition: tiffio.h:204
void _TIFFprintAsciiTag(FILE *, const char *, const char *)
Definition: tif_print.c:514
void _TIFFSwab64BitData(TIFF *, tidata_t, tsize_t)
Definition: tif_read.c:621
int TIFFInitThunderScan(TIFF *, int)
Definition: tif_thunder.c:147
void _TIFFsetFloatArray(float **, float *, long)
Definition: tif_dir.c:59
void _TIFFprintAscii(FILE *, const char *)
Definition: tif_print.c:494
void(* TIFFVoidMethod)(TIFF *)
Definition: tiffiop.h:58
int(* TIFFVSetMethod)(TIFF *, ttag_t, va_list)
Definition: tiffiop.h:64
TIFFErrorHandler _TIFFwarningHandler
Definition: tif_acorn.c:507
void(* TIFFPrintMethod)(TIFF *, FILE *, long)
Definition: tiffiop.h:66
void(* TIFFTileMethod)(TIFF *, uint32 *, uint32 *)
Definition: tiffiop.h:68
int _TIFFNoRowEncode(TIFF *, tidata_t, tsize_t, tsample_t)
Definition: tif_compress.c:58
void _TIFFDefaultTileSize(TIFF *, uint32 *, uint32 *)
Definition: tif_tile.c:207
void _TIFFsetString(char **, char *)
Definition: tif_dir.c:51
void _TIFFNoPostDecode(TIFF *, tidata_t, tsize_t)
Definition: tif_read.c:599
int TIFFInitCCITTFax4(TIFF *, int)
Definition: tif_fax3.c:1435
int TIFFSetDefaultCompressionState(TIFF *)
int TIFFSetCompressionScheme(TIFF *, int)
Definition: tif_compress.c:156
void _TIFFSwab16BitData(TIFF *, tidata_t, tsize_t)
Definition: tif_read.c:605
void _TIFFsetLongArray(uint32 **, uint32 *, long)
Definition: tif_dir.c:57
int TIFFInitNeXT(TIFF *, int)
Definition: tif_next.c:134
void _TIFFsetDoubleArray(double **, double *, long)
Definition: tif_dir.c:61
int _TIFFgetMode(const char *, const char *)
Definition: tif_open.c:101
unsigned char tidataval_t
Definition: tiffiop.h:55
int(* TIFFSeekMethod)(TIFF *, uint32)
Definition: tiffiop.h:62
int TIFFInitLZW(TIFF *, int)
Definition: tif_lzw.c:662
int TIFFInitPackBits(TIFF *, int)
Definition: tif_packbits.c:249
int _TIFFNoTileEncode(TIFF *, tidata_t, tsize_t, tsample_t)
Definition: tif_compress.c:72
uint32(* TIFFStripMethod)(TIFF *, uint32)
Definition: tiffiop.h:67
void(* TIFFPostMethod)(TIFF *, tidata_t, tsize_t)
Definition: tiffiop.h:63
void TIFFFreeDirectory(TIFF *)
Definition: tif_dir.c:905
TIFFCodec _TIFFBuiltinCODECS[]
Definition: tif_codec.c:79
int(* TIFFBoolMethod)(TIFF *)
Definition: tiffiop.h:59
void _TIFFsetShortArray(uint16 **, uint16 *, long)
Definition: tif_dir.c:55
tidataval_t * tidata_t
Definition: tiffiop.h:56
int _TIFFNoSeek(TIFF *, uint32)
Definition: tif_compress.c:115
int TIFFDefaultDirectory(TIFF *)
Definition: tif_dir.c:977
int TIFFInitCCITTRLEW(TIFF *, int)
Definition: tif_fax3.c:1526
int _TIFFNoStripDecode(TIFF *, tidata_t, tsize_t, tsample_t)
Definition: tif_compress.c:101
int(* TIFFPreMethod)(TIFF *, tsample_t)
Definition: tiffiop.h:60
void _TIFFsetByteArray(void **, void *, long)
Definition: tif_dir.c:44
int TIFFInitSGILog(TIFF *, int)
Definition: tif_luv.c:1381
int TIFFInitDumpMode(TIFF *, int)
Definition: tif_dumpmode.c:103
int _TIFFNoStripEncode(TIFF *, tidata_t, tsize_t, tsample_t)
Definition: tif_compress.c:65
int TIFFFlushData1(TIFF *)
Definition: tif_write.c:631
int _TIFFNoPreCode(TIFF *, tsample_t)
Definition: tif_compress.c:124
int _TIFFNoRowDecode(TIFF *, tidata_t, tsize_t, tsample_t)
Definition: tif_compress.c:94
int(* TIFFVGetMethod)(TIFF *, ttag_t, va_list)
Definition: tiffiop.h:65
TIFFErrorHandler _TIFFerrorHandler
Definition: tif_acorn.c:519
void _TIFFSwab32BitData(TIFF *, tidata_t, tsize_t)
Definition: tif_read.c:613
int _TIFFNoTileDecode(TIFF *, tidata_t, tsize_t, tsample_t)
Definition: tif_compress.c:108
int TIFFInitCCITTRLE(TIFF *, int)
int TIFFInitCCITTFax3(TIFF *, int)
uint32 _TIFFDefaultStripSize(TIFF *, uint32)
Definition: tif_strip.c:140
int(* TIFFCodeMethod)(TIFF *, tidata_t, tsize_t, tsample_t)
Definition: tiffiop.h:61
#define uint32
Definition: unibasics.h:49
Definition: tiffiop.h:70
TIFFFieldInfo ** tif_fieldinfo
Definition: tiffiop.h:150
tsize_t tif_scanlinesize
Definition: tiffiop.h:129
TIFFReadWriteProc tif_readproc
Definition: tiffiop.h:142
TIFFReadWriteProc tif_writeproc
Definition: tiffiop.h:143
ttile_t tif_curtile
Definition: tiffiop.h:108
TIFFTileMethod tif_deftilesize
Definition: tiffiop.h:126
tsize_t tif_rawcc
Definition: tiffiop.h:134
TIFFCodeMethod tif_encodestrip
Definition: tiffiop.h:119
TIFFUnmapFileProc tif_unmapproc
Definition: tiffiop.h:139
TIFFSeekProc tif_seekproc
Definition: tiffiop.h:144
TIFFSeekMethod tif_seek
Definition: tiffiop.h:123
tidata_t tif_data
Definition: tiffiop.h:127
TIFFCodeMethod tif_encodetile
Definition: tiffiop.h:121
tidata_t tif_rawdata
Definition: tiffiop.h:131
TIFFPrintMethod tif_printdir
Definition: tiffiop.h:154
TIFFVSetMethod tif_vsetfield
Definition: tiffiop.h:152
TIFFPreMethod tif_preencode
Definition: tiffiop.h:114
TIFFPreMethod tif_predecode
Definition: tiffiop.h:112
toff_t tif_size
Definition: tiffiop.h:137
const long * tif_typemask
Definition: tiffiop.h:96
uint16 tif_nsubifd
Definition: tiffiop.h:103
TIFFCodeMethod tif_decodestrip
Definition: tiffiop.h:118
TIFFCloseProc tif_closeproc
Definition: tiffiop.h:145
TIFFPostMethod tif_postdecode
Definition: tiffiop.h:148
int tif_nfields
Definition: tiffiop.h:151
thandle_t tif_clientdata
Definition: tiffiop.h:141
toff_t tif_nextdiroff
Definition: tiffiop.h:91
TIFFStripMethod tif_defstripsize
Definition: tiffiop.h:125
uint32 tif_flags
Definition: tiffiop.h:74
TIFFCodeMethod tif_decoderow
Definition: tiffiop.h:116
toff_t tif_curoff
Definition: tiffiop.h:100
TIFFBoolMethod tif_setupencode
Definition: tiffiop.h:113
tsize_t tif_tilesize
Definition: tiffiop.h:109
TIFFDirectory tif_dir
Definition: tiffiop.h:92
TIFFBoolMethod tif_postencode
Definition: tiffiop.h:115
TIFFCodeMethod tif_encoderow
Definition: tiffiop.h:117
TIFFVoidMethod tif_close
Definition: tiffiop.h:122
toff_t tif_diroff
Definition: tiffiop.h:90
tdir_t tif_curdir
Definition: tiffiop.h:98
int tif_fd
Definition: tiffiop.h:72
TIFFHeader tif_header
Definition: tiffiop.h:93
TIFFVoidMethod tif_cleanup
Definition: tiffiop.h:124
uint32 tif_row
Definition: tiffiop.h:97
toff_t tif_subifdoff
Definition: tiffiop.h:104
TIFFMapFileProc tif_mapproc
Definition: tiffiop.h:138
TIFFBoolMethod tif_setupdecode
Definition: tiffiop.h:111
tsize_t tif_rawdatasize
Definition: tiffiop.h:132
tidata_t tif_rawcp
Definition: tiffiop.h:133
toff_t tif_dataoff
Definition: tiffiop.h:101
tidata_t tif_base
Definition: tiffiop.h:136
tstrip_t tif_curstrip
Definition: tiffiop.h:99
uint32 tif_col
Definition: tiffiop.h:107
TIFFCodeMethod tif_decodetile
Definition: tiffiop.h:120
tsize_t tif_scanlineskew
Definition: tiffiop.h:130
int tif_mode
Definition: tiffiop.h:73
const int * tif_typeshift
Definition: tiffiop.h:95
TIFFSizeProc tif_sizeproc
Definition: tiffiop.h:146
char * tif_name
Definition: tiffiop.h:71
TIFFVGetMethod tif_vgetfield
Definition: tiffiop.h:153
tidata_t tif_clientdir
Definition: tiffiop.h:94
#define FILE
Definition: t1stdio.h:34
return() int(((double) *(font_tbl[cur_fnt].wtbl+(int)(*(font_tbl[cur_fnt].char_wi+(int)(ch - font_tbl[cur_fnt].char_f)% 256)))/(double)(1L<< 20)) *(double) font_tbl[cur_fnt].scale)
char * va_list
Definition: varargs.h:22