35 #define WRITECHECKSTRIPS(tif, module) \ 36 (((tif)->tif_flags&TIFF_BEENWRITING) || TIFFWriteCheck((tif),0,module)) 37 #define WRITECHECKTILES(tif, module) \ 38 (((tif)->tif_flags&TIFF_BEENWRITING) || TIFFWriteCheck((tif),1,module)) 39 #define BUFFERCHECK(tif) \ 40 ((((tif)->tif_flags & TIFF_BUFFERSETUP) && tif->tif_rawdata) || \ 41 TIFFWriteBufferSetup((tif), NULL, (tmsize_t) -1)) 49 static const char module[] =
"TIFFWriteScanline";
73 "Can not change \"ImageLength\" when using separate planes");
85 "%lu: Sample out of range, max %lu",
214 static const char module[] =
"TIFFWriteEncodedStrip";
232 "Can not grow image by strips when using separate planes");
318 static const char module[] =
"TIFFWriteRawStrip";
335 "Can not grow image by strips when using separate planes");
393 static const char module[] =
"TIFFWriteEncodedTile";
403 (
unsigned long) tile, (
unsigned long) td->
td_nstrips);
429 if (howmany32 == 0) {
435 if (howmany32 == 0) {
505 static const char module[] =
"TIFFWriteRawTile";
511 (
unsigned long) tile,
519 #define isUnspecified(tif, f) \ 520 (TIFFFieldSet(tif,f) && (tif)->tif_dir.td_imagelength == 0) 540 "for \"StripOffsets\" array");
543 "for \"StripByteCounts\" array");
573 "Can not write tiles to a striped image" :
574 "Can not write scanlines to a tiled image");
592 "Must set \"ImageWidth\" before writing data");
607 "Must set \"PlanarConfiguration\" before writing data");
614 isTiled(tif) ?
"tile" :
"strip");
652 static const char module[] =
"TIFFWriteBufferSetup";
696 uint64* new_stripbytecount;
703 if (new_stripoffset ==
NULL || new_stripbytecount ==
NULL) {
706 if (new_stripbytecount)
730 static const char module[] =
"TIFFAppendToStrip";
733 int64 old_byte_count = -1;
751 "Seek error at scanline %lu",
int TIFFCheckTile(TIFF *tif, uint32 x, uint32 y, uint32 z, uint16 s)
void _TIFFmemset(void *p, int v, tmsize_t c)
uint32 TIFFComputeTile(TIFF *tif, uint32 x, uint32 y, uint32 z, uint16 s)
uint32 TIFFNumberOfStrips(TIFF *tif)
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList
int TIFFSetupStrips(TIFF *tif)
#define TIFFhowmany_32(x, y)
#define FIELD_STRIPOFFSETS
TIFFCodeMethod tif_encodestrip
int TIFFForceStrileArrayWriting(TIFF *tif)
#define WriteOK(tif, buf, size)
#define FIELD_IMAGEDIMENSIONS
#define TIFFSeekFile(tif, off, whence)
TIFFCodeMethod tif_encoderow
uint64 * td_stripbytecount_p
static int TIFFGrowStrips(TIFF *tif, uint32 delta, const char *module)
int TIFFWriteBufferSetup(TIFF *tif, void *bp, tmsize_t size)
GLint GLint GLint GLint GLint x
#define WRITECHECKSTRIPS(tif, module)
tmsize_t tif_scanlinesize
uint32 TIFFNumberOfTiles(TIFF *tif)
int TIFFWriteScanline(TIFF *tif, void *buf, uint32 row, uint16 sample)
GLenum GLuint GLenum GLsizei const GLchar * buf
tmsize_t TIFFStripSize(TIFF *tif)
#define TIFFSetFieldBit(tif, field)
#define FIELD_STRIPBYTECOUNTS
int TIFFFlushData(TIFF *tif)
TIFFDirEntry td_stripbytecount_entry
void * _TIFFCheckMalloc(TIFF *tif, tmsize_t nmemb, tmsize_t elem_size, const char *what)
#define FIELD_PLANARCONFIG
TIFFCodeMethod tif_encodetile
void * _TIFFmalloc(tmsize_t s)
TIFFPreMethod tif_preencode
TIFFBoolMethod tif_postencode
TIFFPostMethod tif_postdecode
tmsize_t TIFFWriteEncodedTile(TIFF *tif, uint32 tile, void *data, tmsize_t cc)
void TIFFErrorExt(thandle_t fd, const char *module, const char *fmt,...)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define TIFFFieldSet(tif, field)
tmsize_t TIFFWriteRawTile(TIFF *tif, uint32 tile, void *data, tmsize_t cc)
#define FIELD_ROWSPERSTRIP
void * _TIFFrealloc(void *p, tmsize_t s)
#define PLANARCONFIG_SEPARATE
int TIFFWriteCheck(TIFF *tif, int tiles, const char *module)
void TIFFSetWriteOffset(TIFF *tif, toff_t off)
static int TIFFAppendToStrip(TIFF *tif, uint32 strip, uint8 *data, tmsize_t cc)
tmsize_t TIFFWriteEncodedStrip(TIFF *tif, uint32 strip, void *data, tmsize_t cc)
tmsize_t TIFFScanlineSize(TIFF *tif)
tmsize_t TIFFWriteRawStrip(TIFF *tif, uint32 strip, void *data, tmsize_t cc)
TIFFDirEntry td_stripoffset_entry
#define isFillOrder(tif, o)
#define FIELD_TILEDIMENSIONS
GLint GLint GLint GLint GLint GLint y
uint64 * td_stripoffset_p
tmsize_t TIFFTileSize(TIFF *tif)
#define TIFFroundup_64(x, y)
void TIFFReverseBits(uint8 *cp, tmsize_t n)
static int _TIFFReserveLargeEnoughWriteBuffer(TIFF *tif, uint32 strip_or_tile)
uint16 td_samplesperpixel
#define isUnspecified(tif, f)
tmsize_t TIFFWriteTile(TIFF *tif, void *buf, uint32 x, uint32 y, uint32 z, uint16 s)
static SERVICE_STATUS status
TIFFBoolMethod tif_setupencode
int TIFFFlushData1(TIFF *tif)
#define WRITECHECKTILES(tif, module)
union TIFFDirEntry::@3384 tdir_offset
#define PLANARCONFIG_CONTIG
int _TIFFFillStriles(TIFF *tif)
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