Home
last modified time | relevance | path

Searched refs:linebytes (Results 1 – 4 of 4) sorted by relevance

/libtiff-4.0.7/tools/
H A Dppm2tiff.c93 tmsize_t linebytes = 0; in main() local
239 linebytes = (multiply_ms(spp, w) + (8 - 1)) / 8; in main()
248 linebytes = multiply_ms(spp, w); in main()
253 if (linebytes == 0) { in main()
264 if (scanline_size < linebytes) in main()
265 buf = (unsigned char *)_TIFFmalloc(linebytes); in main()
279 if (fread(buf, linebytes, 1, in) != 1) { in main()
H A Draw2tiff.c91 uint32 width = 0, length = 0, linebytes, bufsize; in main() local
270 linebytes = width * depth; in main()
271 buf = (unsigned char *)_TIFFmalloc(linebytes); in main()
275 linebytes = width * nbands * depth; in main()
293 hdr_size + (length*band+row)*linebytes, in main()
301 if (read(fd, buf, linebytes) < 0) { in main()
/libtiff-4.0.7/archive/tools/
H A Dras2tiff.c65 tsize_t linebytes, scanline; in main() local
226 linebytes = ((h.ras_depth*h.ras_width+15) >> 3) &~ 1; in main()
228 if (scanline > linebytes) { in main()
230 _TIFFmemset(buf+linebytes, 0, scanline-linebytes); in main()
232 buf = (unsigned char *)_TIFFmalloc(linebytes); in main()
236 if (fread(buf, linebytes, 1, in) != 1) { in main()
/libtiff-4.0.7/
H A DChangeLog1334 check the linebytes calculation too, get the max() calculation