| /libtiff-4.0.7/test/ |
| H A D | strip_rw.c | 57 uint32 rowsperstrip; in main() local 67 rowsperstrip = 1; in main() 75 if (create_image_striped(filename, XSIZE * YSIZE, 1, rowsperstrip, in main() 82 if (read_image_striped(filename, XSIZE * YSIZE, 1, rowsperstrip, in main() 98 if (read_image_striped(filename, 1, XSIZE * YSIZE, rowsperstrip, in main() 110 rowsperstrip = 1; in main() 117 if (create_image_striped(filename, XSIZE, YSIZE, rowsperstrip, in main() 124 if (read_image_striped(filename, XSIZE, YSIZE, rowsperstrip, in main() 133 rowsperstrip = YSIZE; in main() 134 if (create_image_striped(filename, XSIZE, YSIZE, rowsperstrip, in main() [all …]
|
| H A D | strip.c | 121 uint32 rowsperstrip, uint16 compression, in create_image_striped() argument 149 if (!TIFFSetField(tif, TIFFTAG_ROWSPERSTRIP, rowsperstrip)) { in create_image_striped() 177 name, (long) width, (long) length, (long) rowsperstrip, in create_image_striped() 185 uint32 rowsperstrip, uint16 compression, in read_image_striped() argument 230 || value_u32 != rowsperstrip) { in read_image_striped() 255 name, (long) width, (long) length, (long) rowsperstrip, in read_image_striped()
|
| /libtiff-4.0.7/tools/ |
| H A D | tiff2rgba.c | 54 uint32 rowsperstrip = (uint32) -1; variable 95 rowsperstrip = atoi(optarg); in main() 99 rowsperstrip = atoi(optarg); in main() 280 rastersize = width * rowsperstrip * sizeof (uint32); in cvt_by_strip() 326 TIFFSwabArrayOfLong(raster, width * rowsperstrip); in cvt_by_strip() 332 if( row + rowsperstrip > height ) in cvt_by_strip() 335 rows_to_write = rowsperstrip; in cvt_by_strip() 401 rowsperstrip = TIFFDefaultStripSize(out, rowsperstrip); in cvt_whole_image() 448 for (row = 0; row < height; row += rowsperstrip) in cvt_whole_image() 465 if( row + rowsperstrip > height ) in cvt_whole_image() [all …]
|
| H A D | tiffinfoce.c | 222 uint32 rowsperstrip = (uint32)-1; in TIFFReadContigStripData() local 225 TIFFGetField(tif, TIFFTAG_ROWSPERSTRIP, &rowsperstrip); in TIFFReadContigStripData() 226 for (row = 0; row < h; row += rowsperstrip) { in TIFFReadContigStripData() 227 uint32 nrow = (row+rowsperstrip > h ? in TIFFReadContigStripData() 228 h-row : rowsperstrip); in TIFFReadContigStripData() 249 uint32 rowsperstrip = (uint32)-1; in TIFFReadSeparateStripData() local 253 TIFFGetField(tif, TIFFTAG_ROWSPERSTRIP, &rowsperstrip); in TIFFReadSeparateStripData() 255 for (row = 0; row < h; row += rowsperstrip) { in TIFFReadSeparateStripData() 257 uint32 nrow = (row+rowsperstrip > h ? in TIFFReadSeparateStripData() 258 h-row : rowsperstrip); in TIFFReadSeparateStripData()
|
| H A D | tiffinfo.c | 224 uint32 rowsperstrip = (uint32)-1; in TIFFReadContigStripData() local 227 TIFFGetField(tif, TIFFTAG_ROWSPERSTRIP, &rowsperstrip); in TIFFReadContigStripData() 228 for (row = 0; row < h; row += rowsperstrip) { in TIFFReadContigStripData() 229 uint32 nrow = (row+rowsperstrip > h ? in TIFFReadContigStripData() 230 h-row : rowsperstrip); in TIFFReadContigStripData() 251 uint32 rowsperstrip = (uint32)-1; in TIFFReadSeparateStripData() local 255 TIFFGetField(tif, TIFFTAG_ROWSPERSTRIP, &rowsperstrip); in TIFFReadSeparateStripData() 257 for (row = 0; row < h; row += rowsperstrip) { in TIFFReadSeparateStripData() 259 uint32 nrow = (row+rowsperstrip > h ? in TIFFReadSeparateStripData() 260 h-row : rowsperstrip); in TIFFReadSeparateStripData()
|
| H A D | tiffcp.c | 80 static uint32 rowsperstrip; variable 300 rowsperstrip = defrowsperstrip; in main() 701 if (rowsperstrip == (uint32) 0) { in tiffcp() 703 &rowsperstrip)) { in tiffcp() 704 rowsperstrip = in tiffcp() 707 if (rowsperstrip > length && rowsperstrip != (uint32)-1) in tiffcp() 708 rowsperstrip = length; in tiffcp() 711 rowsperstrip = length; in tiffcp() 1004 row += rowsperstrip; in DECLAREcpFunc() 1445 uint32 row, rowsperstrip; in DECLAREwriteFunc() local [all …]
|
| H A D | rgb2ycbcr.c | 58 uint32 rowsperstrip = (uint32) -1; variable 107 rowsperstrip = atoi(optarg); in main() 262 uint32 nrows = (rowsperstrip > rheight ? rheight : rowsperstrip); in cvtRaster() 353 rowsperstrip = TIFFDefaultStripSize(out, rowsperstrip); in tiffcvt() 354 TIFFSetField(out, TIFFTAG_ROWSPERSTRIP, rowsperstrip); in tiffcvt()
|
| H A D | ppm2tiff.c | 90 uint32 rowsperstrip = (uint32) -1; in main() local 118 rowsperstrip = atoi(optarg); in main() 240 if (rowsperstrip == (uint32) -1) { in main() 244 TIFFDefaultStripSize(out, rowsperstrip)); in main() 250 TIFFDefaultStripSize(out, rowsperstrip)); in main()
|
| H A D | tiffdither.c | 210 uint32 rowsperstrip = (uint32) -1; in main() local 233 rowsperstrip = atoi(optarg); in main() 283 rowsperstrip = TIFFDefaultStripSize(out, rowsperstrip); in main() 284 TIFFSetField(out, TIFFTAG_ROWSPERSTRIP, rowsperstrip); in main()
|
| H A D | raw2tiff.c | 98 uint32 rowsperstrip = (uint32) -1; in main() local 121 rowsperstrip = atoi(optarg); in main() 281 rowsperstrip = TIFFDefaultStripSize(out, rowsperstrip); in main() 282 if (rowsperstrip > length) { in main() 283 rowsperstrip = length; in main() 285 TIFFSetField(out, TIFFTAG_ROWSPERSTRIP, rowsperstrip ); in main()
|
| H A D | fax2tiff.c | 105 uint32 rowsperstrip; in main() local 303 rowsperstrip = in main() 312 rowsperstrip = in main() 317 rowsperstrip = (defrowsperstrip) ? in main() 320 TIFFSetField(out, TIFFTAG_ROWSPERSTRIP, rowsperstrip); in main()
|
| H A D | pal2rgb.c | 77 uint32 rowsperstrip = (uint32) -1; in main() local 108 rowsperstrip = atoi(optarg); in main() 167 rowsperstrip = TIFFDefaultStripSize(out, rowsperstrip)); in main()
|
| H A D | tiff2bw.c | 114 uint32 rowsperstrip = (uint32) -1; in main() local 142 rowsperstrip = atoi(optarg); in main() 220 TIFFDefaultStripSize(out, rowsperstrip)); in main()
|
| H A D | tiffcrop.c | 445 static uint32 rowsperstrip = 0; variable 1121 uint32 row, nrows, rowsperstrip; in writeBufferToContigStrips() local 1197 nrows = (row + rowsperstrip > length) ? length - row : rowsperstrip; in writeBufferToSeparateStrips() 7175 if (rowsperstrip == (uint32) 0) in writeSingleSection() 7178 rowsperstrip = TIFFDefaultStripSize(out, rowsperstrip); in writeSingleSection() 7182 rowsperstrip = length; in writeSingleSection() 7187 rowsperstrip = length; in writeSingleSection() 7849 if (rowsperstrip == (uint32) 0) in writeCroppedImage() 7852 rowsperstrip = TIFFDefaultStripSize(out, rowsperstrip); in writeCroppedImage() 7856 rowsperstrip = length; in writeCroppedImage() [all …]
|
| /libtiff-4.0.7/archive/tools/ |
| H A D | sgisv.c | 42 uint32 rowsperstrip = (uint32) -1; variable 98 rowsperstrip = atoi(optarg); in main() 164 for (y = 0; y <= ysize; y += rowsperstrip) { in svRGBSeparate() 169 n = rowsperstrip; in svRGBSeparate() 203 for (y = 0; y <= ysize; y += rowsperstrip) { in svRGBContig() 207 n = rowsperstrip; in svRGBContig() 298 rowsperstrip = TIFFDefaultStripSize(tif, rowsperstrip); in tiffsv() 299 TIFFSetField(tif, TIFFTAG_ROWSPERSTRIP, rowsperstrip); in tiffsv()
|
| H A D | gif2tiff.c | 124 static uint32 rowsperstrip = (uint32) -1; variable 154 rowsperstrip = atoi(optarg); in main() 557 rowsperstrip = TIFFDefaultStripSize(tif, rowsperstrip)); in rasterize() 570 for (row=0; row<height; row += rowsperstrip) { in rasterize() 571 if (rowsperstrip > height-row) { in rasterize() 572 rowsperstrip = height-row; in rasterize() 573 stripsize = TIFFVStripSize(tif, rowsperstrip); in rasterize()
|
| H A D | ras2tiff.c | 71 uint32 rowsperstrip = (uint32) -1; in main() local 85 rowsperstrip = atoi(optarg); in main() 234 TIFFDefaultStripSize(out, rowsperstrip)); in main()
|
| H A D | sgi2tiff.c | 42 static uint32 rowsperstrip = (uint32) -1; variable 91 rowsperstrip = atoi(optarg); in main() 141 TIFFDefaultStripSize(out, rowsperstrip)); in main()
|
| H A D | bmp2tiff.c | 235 uint32 rowsperstrip = (uint32) -1; in main() local 263 rowsperstrip = atoi(optarg); in main() 554 TIFFDefaultStripSize(out, rowsperstrip)); in main()
|
| /libtiff-4.0.7/contrib/pds/ |
| H A D | tif_imageiter.c | 382 uint32 rowsperstrip; in gtStripContig() local 393 TIFFGetFieldDefaulted(tif, TIFFTAG_ROWSPERSTRIP, &rowsperstrip); in gtStripContig() 396 for (row = 0; row < h; row += rowsperstrip) { in gtStripContig() 397 nrow = (row + rowsperstrip > h ? h - row : rowsperstrip); in gtStripContig() 423 uint32 rowsperstrip; in gtStripSeparate() local 441 TIFFGetFieldDefaulted(tif, TIFFTAG_ROWSPERSTRIP, &rowsperstrip); in gtStripSeparate() 444 for (row = 0; row < h; row += rowsperstrip) { in gtStripSeparate() 445 nrow = (row + rowsperstrip > h ? h - row : rowsperstrip); in gtStripSeparate()
|
| H A D | tif_pdsdirread.c | 329 uint32 rowsperstrip = td->td_imagelength / td->td_nstrips; in EstimateStripByteCounts() local 331 td->td_stripbytecount[i] = rowbytes*rowsperstrip; in EstimateStripByteCounts() 1066 tstrip_t strip, nstrips, rowsperstrip; in ChopUpSingleUncompressedStrip() local 1076 rowsperstrip = 1; in ChopUpSingleUncompressedStrip() 1078 rowsperstrip = 8192 / rowbytes; in ChopUpSingleUncompressedStrip() 1079 stripbytes = rowbytes * rowsperstrip; in ChopUpSingleUncompressedStrip() 1082 if (rowsperstrip >= td->td_rowsperstrip) in ChopUpSingleUncompressedStrip() 1117 TIFFSetField(tif, TIFFTAG_ROWSPERSTRIP, rowsperstrip); in ChopUpSingleUncompressedStrip()
|
| /libtiff-4.0.7/contrib/ras/ |
| H A D | ras2tif.c | 96 long rowsperstrip; local 200 rowsperstrip = (8 * 1024) / bpsl; 211 TIFFSetField(tif, TIFFTAG_ROWSPERSTRIP, rowsperstrip); 212 TIFFSetField(tif, TIFFTAG_STRIPBYTECOUNTS, height / rowsperstrip);
|
| /libtiff-4.0.7/contrib/win_dib/ |
| H A D | Tiffile.cpp | 401 uint32 rowsperstrip; in getStripContig1Bit() local 419 TIFFGetFieldDefaulted(tif, TIFFTAG_ROWSPERSTRIP, &rowsperstrip); in getStripContig1Bit() 424 rowstoread = rowsperstrip - (row + img->row_offset) % rowsperstrip; in getStripContig1Bit() 427 stripsize = ((row + img->row_offset)%rowsperstrip + nrow) * scanline; in getStripContig1Bit() 435 pos = ((row + img->row_offset) % rowsperstrip) * scanline; in getStripContig1Bit()
|
| /libtiff-4.0.7/libtiff/ |
| H A D | tif_read.c | 326 uint32 rowsperstrip; in TIFFReadEncodedStrip() local 346 rowsperstrip=td->td_rowsperstrip; in TIFFReadEncodedStrip() 347 if (rowsperstrip>td->td_imagelength) in TIFFReadEncodedStrip() 348 rowsperstrip=td->td_imagelength; in TIFFReadEncodedStrip() 349 stripsperplane=((td->td_imagelength+rowsperstrip-1)/rowsperstrip); in TIFFReadEncodedStrip() 352 rows=td->td_imagelength-stripinplane*rowsperstrip; in TIFFReadEncodedStrip() 353 if (rows>rowsperstrip) in TIFFReadEncodedStrip() 354 rows=rowsperstrip; in TIFFReadEncodedStrip()
|
| H A D | tif_getimage.c | 912 uint32 rowsperstrip; in gtStripContig() local 941 TIFFGetFieldDefaulted(tif, TIFFTAG_ROWSPERSTRIP, &rowsperstrip); in gtStripContig() 947 rowstoread = rowsperstrip - (row + img->row_offset) % rowsperstrip; in gtStripContig() 962 pos = ((row + img->row_offset) % rowsperstrip) * scanline + \ in gtStripContig() 1005 uint32 rowsperstrip, offset_row; in gtStripSeparate() local 1059 rowstoread = rowsperstrip - (row + img->row_offset) % rowsperstrip; in gtStripSeparate() 1096 pos = ((row + img->row_offset) % rowsperstrip) * scanline + \ in gtStripSeparate() 2822 uint32 rowsperstrip, rows_to_read; in TIFFReadRGBAStrip() local 2832 if( (row % rowsperstrip) != 0 ) in TIFFReadRGBAStrip() 2844 if( row + rowsperstrip > img.height ) in TIFFReadRGBAStrip() [all …]
|