ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

tiffiop.h File Reference
#include "tif_config.h"
#include <fcntl.h>
#include <sys/types.h>
#include <string.h>
#include <assert.h>
#include <search.h>
#include "tiffio.h"
#include "tif_dir.h"

Go to the source code of this file.

Data Structures

struct  TIFFClientInfoLink
struct  TIFF

Defines

#define STRIP_SIZE_DEFAULT   8192
#define streq(a, b)   (strcmp(a,b) == 0)
#define TRUE   1
#define FALSE   0
#define TIFF_FILLORDER   0x00003 /* natural bit fill order for machine */
#define TIFF_DIRTYHEADER   0x00004 /* header must be written on close */
#define TIFF_DIRTYDIRECT   0x00008 /* current directory must be written */
#define TIFF_BUFFERSETUP   0x00010 /* data buffers setup */
#define TIFF_CODERSETUP   0x00020 /* encoder/decoder setup done */
#define TIFF_BEENWRITING   0x00040 /* written 1+ scanlines to file */
#define TIFF_SWAB   0x00080 /* byte swap file information */
#define TIFF_NOBITREV   0x00100 /* inhibit bit reversal logic */
#define TIFF_MYBUFFER   0x00200 /* my raw data buffer; free on close */
#define TIFF_ISTILED   0x00400 /* file is tile, not strip- based */
#define TIFF_MAPPED   0x00800 /* file is mapped into memory */
#define TIFF_POSTENCODE   0x01000 /* need call to postencode routine */
#define TIFF_INSUBIFD   0x02000 /* currently writing a subifd */
#define TIFF_UPSAMPLED   0x04000 /* library is doing data up-sampling */
#define TIFF_STRIPCHOP   0x08000 /* enable strip chopping support */
#define TIFF_HEADERONLY   0x10000 /* read header only, do not process */
#define TIFF_NOREADRAW   0x20000 /* skip reading of raw uncompressed */
#define TIFF_INCUSTOMIFD   0x40000 /* currently writing a custom IFD */
#define isPseudoTag(t)   (t > 0xffff) /* is tag value normal or pseudo */
#define isTiled(tif)   (((tif)->tif_flags & TIFF_ISTILED) != 0)
#define isMapped(tif)   (((tif)->tif_flags & TIFF_MAPPED) != 0)
#define isFillOrder(tif, o)   (((tif)->tif_flags & (o)) != 0)
#define isUpSampled(tif)   (((tif)->tif_flags & TIFF_UPSAMPLED) != 0)
#define TIFFReadFile(tif, buf, size)   ((*(tif)->tif_readproc)((tif)->tif_clientdata,buf,size))
#define TIFFWriteFile(tif, buf, size)   ((*(tif)->tif_writeproc)((tif)->tif_clientdata,buf,size))
#define TIFFSeekFile(tif, off, whence)   ((*(tif)->tif_seekproc)((tif)->tif_clientdata,(toff_t)(off),whence))
#define TIFFCloseFile(tif)   ((*(tif)->tif_closeproc)((tif)->tif_clientdata))
#define TIFFGetFileSize(tif)   ((*(tif)->tif_sizeproc)((tif)->tif_clientdata))
#define TIFFMapFileContents(tif, paddr, psize)   ((*(tif)->tif_mapproc)((tif)->tif_clientdata,paddr,psize))
#define TIFFUnmapFileContents(tif, addr, size)   ((*(tif)->tif_unmapproc)((tif)->tif_clientdata,addr,size))
#define ReadOK(tif, buf, size)   (TIFFReadFile(tif, (tdata_t) buf, (tsize_t)(size)) == (tsize_t)(size))
#define SeekOK(tif, off)   (TIFFSeekFile(tif, (toff_t) off, SEEK_SET) == (toff_t) off)
#define WriteOK(tif, buf, size)   (TIFFWriteFile(tif, (tdata_t) buf, (tsize_t) size) == (tsize_t) size)
#define TIFFhowmany(x, y)
#define TIFFhowmany8(x)   (((x)&0x07)?((uint32)(x)>>3)+1:(uint32)(x)>>3)
#define TIFFroundup(x, y)   (TIFFhowmany(x,y)*(y))
#define TIFFSafeMultiply(t, v, m)   ((((t)m != (t)0) && (((t)((v*m)/m)) == (t)v)) ? (t)(v*m) : (t)0)
#define TIFFmax(A, B)   ((A)>(B)?(A):(B))
#define TIFFmin(A, B)   ((A)<(B)?(A):(B))
#define TIFFArrayCount(a)   (sizeof (a) / sizeof ((a)[0]))

Typedefs

typedef TIFF_INT64_T int64
typedef TIFF_UINT64_T uint64
typedef unsigned char tidataval_t
typedef tidataval_ttidata_t
typedef void(* TIFFVoidMethod )(TIFF *)
typedef int(* TIFFBoolMethod )(TIFF *)
typedef int(* TIFFPreMethod )(TIFF *, tsample_t)
typedef int(* TIFFCodeMethod )(TIFF *, tidata_t, tsize_t, tsample_t)
typedef int(* TIFFSeekMethod )(TIFF *, uint32)
typedef void(* TIFFPostMethod )(TIFF *, tidata_t, tsize_t)
typedef uint32(* TIFFStripMethod )(TIFF *, uint32)
typedef void(* TIFFTileMethod )(TIFF *, uint32 *, uint32 *)

Functions

int _TIFFgetMode (const char *, const char *)
int _TIFFNoRowEncode (TIFF *, tidata_t, tsize_t, tsample_t)
int _TIFFNoStripEncode (TIFF *, tidata_t, tsize_t, tsample_t)
int _TIFFNoTileEncode (TIFF *, tidata_t, tsize_t, tsample_t)
int _TIFFNoRowDecode (TIFF *, tidata_t, tsize_t, tsample_t)
int _TIFFNoStripDecode (TIFF *, tidata_t, tsize_t, tsample_t)
int _TIFFNoTileDecode (TIFF *, tidata_t, tsize_t, tsample_t)
void _TIFFNoPostDecode (TIFF *, tidata_t, tsize_t)
int _TIFFNoPreCode (TIFF *, tsample_t)
int _TIFFNoSeek (TIFF *, uint32)
void _TIFFSwab16BitData (TIFF *, tidata_t, tsize_t)
void _TIFFSwab24BitData (TIFF *, tidata_t, tsize_t)
void _TIFFSwab32BitData (TIFF *, tidata_t, tsize_t)
void _TIFFSwab64BitData (TIFF *, tidata_t, tsize_t)
int TIFFFlushData1 (TIFF *)
int TIFFDefaultDirectory (TIFF *)
void _TIFFSetDefaultCompressionState (TIFF *)
int TIFFSetCompressionScheme (TIFF *, int)
int TIFFSetDefaultCompressionState (TIFF *)
uint32 _TIFFDefaultStripSize (TIFF *, uint32)
void _TIFFDefaultTileSize (TIFF *, uint32 *, uint32 *)
int _TIFFDataSize (TIFFDataType)
void _TIFFsetByteArray (void **, void *, uint32)
void _TIFFsetString (char **, char *)
void _TIFFsetShortArray (uint16 **, uint16 *, uint32)
void _TIFFsetLongArray (uint32 **, uint32 *, uint32)
void _TIFFsetFloatArray (float **, float *, uint32)
void _TIFFsetDoubleArray (double **, double *, uint32)
void _TIFFprintAscii (FILE *, const char *)
void _TIFFprintAsciiTag (FILE *, const char *, const char *)
tdata_t _TIFFCheckMalloc (TIFF *, size_t, size_t, const char *)
tdata_t _TIFFCheckRealloc (TIFF *, tdata_t, size_t, size_t, const char *)
int TIFFInitDumpMode (TIFF *, int)
int TIFFInitPackBits (TIFF *, int)
int TIFFInitCCITTRLE (TIFF *, int)
int TIFFInitCCITTRLEW (TIFF *, int)
int TIFFInitCCITTFax3 (TIFF *, int)
int TIFFInitCCITTFax4 (TIFF *, int)
int TIFFInitThunderScan (TIFF *, int)
int TIFFInitNeXT (TIFF *, int)
int TIFFInitLZW (TIFF *, int)
int TIFFInitZIP (TIFF *, int)
int TIFFInitPixarLog (TIFF *, int)
int TIFFInitSGILog (TIFF *, int)

Variables

TIFFErrorHandler _TIFFwarningHandler
TIFFErrorHandler _TIFFerrorHandler
TIFFErrorHandlerExt _TIFFwarningHandlerExt
TIFFErrorHandlerExt _TIFFerrorHandlerExt
TIFFCodec _TIFFBuiltinCODECS []

Generated on Fri May 25 2012 05:55:09 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.