35 #define SETPIXEL(op, v) { \ 36 switch (npixels++ & 3) { \ 37 case 0: op[0] = (unsigned char) ((v) << 6); break; \ 38 case 1: op[0] |= (v) << 4; break; \ 39 case 2: op[0] |= (v) << 2; break; \ 40 case 3: *op++ |= (v); break; \ 44 #define LITERALROW 0x00 45 #define LITERALSPAN 0x40 46 #define WHITE ((1<<2)-1) 51 register unsigned char *bp, *op;
63 for (op = buf, cc = occ; cc-- > 0;)
69 for (row = buf; (
long)occ > 0; occ -= scanline, row += scanline) {
88 off = (bp[0] * 256) + bp[1];
89 n = (bp[2] * 256) + bp[3];
90 if (cc < 4+n || off+n > scanline)
98 register int npixels = 0, grey;
114 if (npixels >= (
int) imagewidth)
TIFFCodeMethod tif_decoderow
for(n=1;n< outline->n_points;n++)
typedef void(APIENTRY *GLDEBUGPROCARB)(GLenum source
int TIFFInitNeXT(TIFF *tif, int scheme)
void _TIFFmemcpy(tdata_t d, const tdata_t s, tsize_t c)
GLenum GLuint GLenum GLsizei const GLchar * buf
GLenum GLenum GLvoid * row
TIFFCodeMethod tif_decodestrip
typedef long(ZCALLBACK *tell_file_func) OF((voidpf opaque
void TIFFErrorExt(thandle_t fd, const char *module, const char *fmt,...)
TIFFCodeMethod tif_decodetile