Searched refs:linebytes (Results 1 - 3 of 3) sorted by relevance
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/tools/ |
H A D | ras2tiff.c | 60 tsize_t linebytes, scanline; local 195 linebytes = ((h.ras_depth*h.ras_width+15) >> 3) &~ 1; 197 if (scanline > linebytes) { 199 _TIFFmemset(buf+linebytes, 0, scanline-linebytes); 201 buf = (unsigned char *)_TIFFmalloc(linebytes); 205 if (fread(buf, linebytes, 1, in) != 1) {
|
H A D | ppm2tiff.c | 78 tsize_t linebytes = 0; local 220 linebytes = (spp * w + (8 - 1)) / 8; 229 linebytes = spp * w; 234 if (TIFFScanlineSize(out) > linebytes) 235 buf = (unsigned char *)_TIFFmalloc(linebytes); 244 if (fread(buf, linebytes, 1, in) != 1) {
|
H A D | raw2tiff.c | 86 uint32 width = 0, length = 0, linebytes, bufsize; local 263 linebytes = width * depth; 264 buf = (unsigned char *)_TIFFmalloc(linebytes); 268 linebytes = width * nbands * depth; 286 hdr_size + (length*band+row)*linebytes, 288 if (read(fd, buf, linebytes) < 0) {
|
Completed in 63 milliseconds