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",
150 if (row < tif->tif_row) {
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",
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
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum GLuint GLenum GLsizei const GLchar * buf
union TIFFDirEntry::@3463 tdir_offset
uint64 * td_stripbytecount_p
uint16 td_samplesperpixel
TIFFDirEntry td_stripoffset_entry
uint64 * td_stripoffset_p
TIFFDirEntry td_stripbytecount_entry
TIFFCodeMethod tif_encodestrip
TIFFCodeMethod tif_encodetile
tmsize_t tif_scanlinesize
TIFFPreMethod tif_preencode
TIFFPostMethod tif_postdecode
TIFFBoolMethod tif_setupencode
TIFFBoolMethod tif_postencode
TIFFCodeMethod tif_encoderow
void * _TIFFCheckMalloc(TIFF *tif, tmsize_t nmemb, tmsize_t elem_size, const char *what)
#define FIELD_STRIPOFFSETS
#define FIELD_IMAGEDIMENSIONS
#define TIFFFieldSet(tif, field)
#define FIELD_TILEDIMENSIONS
#define FIELD_ROWSPERSTRIP
#define FIELD_STRIPBYTECOUNTS
#define TIFFSetFieldBit(tif, field)
#define FIELD_PLANARCONFIG
int _TIFFFillStriles(TIFF *tif)
void TIFFErrorExt(thandle_t fd, const char *module, const char *fmt,...)
int TIFFForceStrileArrayWriting(TIFF *tif)
int TIFFFlushData(TIFF *tif)
tmsize_t TIFFStripSize(TIFF *tif)
tmsize_t TIFFScanlineSize(TIFF *tif)
uint32 TIFFNumberOfStrips(TIFF *tif)
void TIFFReverseBits(uint8 *cp, tmsize_t n)
tmsize_t TIFFTileSize(TIFF *tif)
int TIFFCheckTile(TIFF *tif, uint32 x, uint32 y, uint32 z, uint16 s)
uint32 TIFFComputeTile(TIFF *tif, uint32 x, uint32 y, uint32 z, uint16 s)
uint32 TIFFNumberOfTiles(TIFF *tif)
void _TIFFmemset(void *p, int v, tmsize_t c)
void * _TIFFmalloc(tmsize_t s)
void * _TIFFrealloc(void *p, tmsize_t s)
tmsize_t TIFFWriteRawTile(TIFF *tif, uint32 tile, void *data, tmsize_t cc)
static int TIFFAppendToStrip(TIFF *tif, uint32 strip, uint8 *data, tmsize_t cc)
#define isUnspecified(tif, f)
tmsize_t TIFFWriteEncodedTile(TIFF *tif, uint32 tile, void *data, tmsize_t cc)
int TIFFWriteScanline(TIFF *tif, void *buf, uint32 row, uint16 sample)
tmsize_t TIFFWriteTile(TIFF *tif, void *buf, uint32 x, uint32 y, uint32 z, uint16 s)
void TIFFSetWriteOffset(TIFF *tif, toff_t off)
tmsize_t TIFFWriteRawStrip(TIFF *tif, uint32 strip, void *data, tmsize_t cc)
static int TIFFGrowStrips(TIFF *tif, uint32 delta, const char *module)
#define WRITECHECKTILES(tif, module)
int TIFFFlushData1(TIFF *tif)
int TIFFWriteBufferSetup(TIFF *tif, void *bp, tmsize_t size)
tmsize_t TIFFWriteEncodedStrip(TIFF *tif, uint32 strip, void *data, tmsize_t cc)
int TIFFWriteCheck(TIFF *tif, int tiles, const char *module)
int TIFFSetupStrips(TIFF *tif)
#define WRITECHECKSTRIPS(tif, module)
static int _TIFFReserveLargeEnoughWriteBuffer(TIFF *tif, uint32 strip_or_tile)
#define PLANARCONFIG_SEPARATE
#define PLANARCONFIG_CONTIG
#define TIFFroundup_64(x, y)
#define WriteOK(tif, buf, size)
#define isFillOrder(tif, o)
#define TIFFSeekFile(tif, off, whence)
#define TIFFhowmany_32(x, y)
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList