/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/ |
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 …]
|
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()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/ |
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 …]
|
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()
|
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()
|
A D | ppm2tiff.c | 91 uint32 rowsperstrip = (uint32) -1; in main() local 119 rowsperstrip = atoi(optarg); in main() 241 if (rowsperstrip == (uint32) -1) { in main() 245 TIFFDefaultStripSize(out, rowsperstrip)); in main() 251 TIFFDefaultStripSize(out, rowsperstrip)); in main()
|
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()
|
A D | tiffcp.c | 79 static uint32 rowsperstrip; variable 299 rowsperstrip = defrowsperstrip; in main() 700 if (rowsperstrip == (uint32) 0) { in tiffcp() 702 &rowsperstrip)) { in tiffcp() 703 rowsperstrip = in tiffcp() 706 if (rowsperstrip > length && rowsperstrip != (uint32)-1) in tiffcp() 707 rowsperstrip = length; in tiffcp() 710 rowsperstrip = length; in tiffcp() 1003 row += rowsperstrip; in DECLAREcpFunc() 1475 uint32 row, rowsperstrip; in DECLAREwriteFunc() local [all …]
|
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()
|
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()
|
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()
|
A D | tiff2bw.c | 114 uint32 rowsperstrip = (uint32) -1; in main() local 147 rowsperstrip = atoi(optarg); in main() 227 TIFFDefaultStripSize(out, rowsperstrip)); in main()
|
A D | tiffcrop.c | 447 static uint32 rowsperstrip = 0; variable 1123 uint32 row, nrows, rowsperstrip; in writeBufferToContigStrips() local 1199 nrows = (row + rowsperstrip > length) ? length - row : rowsperstrip; in writeBufferToSeparateStrips() 7194 if (rowsperstrip == (uint32) 0) in writeSingleSection() 7197 rowsperstrip = TIFFDefaultStripSize(out, rowsperstrip); in writeSingleSection() 7201 rowsperstrip = length; in writeSingleSection() 7206 rowsperstrip = length; in writeSingleSection() 7868 if (rowsperstrip == (uint32) 0) in writeCroppedImage() 7871 rowsperstrip = TIFFDefaultStripSize(out, rowsperstrip); in writeCroppedImage() 7875 rowsperstrip = length; in writeCroppedImage() [all …]
|
A D | tiffmedian.c | 95 uint32 rowsperstrip = (uint32) -1; variable 151 rowsperstrip = atoi(optarg); in main() 271 TIFFDefaultStripSize(out, rowsperstrip)); in main()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/ |
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()
|
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()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/ras/ |
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);
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/win_dib/ |
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()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/ |
A D | tif_getimage.c | 924 uint32 rowsperstrip; in gtStripContig() local 949 TIFFGetFieldDefaulted(tif, TIFFTAG_ROWSPERSTRIP, &rowsperstrip); in gtStripContig() 955 rowstoread = rowsperstrip - (row + img->row_offset) % rowsperstrip; in gtStripContig() 971 pos = ((row + img->row_offset) % rowsperstrip) * scanline + \ in gtStripContig() 1014 uint32 rowsperstrip, offset_row; in gtStripSeparate() local 1058 rowstoread = rowsperstrip - (row + img->row_offset) % rowsperstrip; in gtStripSeparate() 1119 pos = ((row + img->row_offset) % rowsperstrip) * scanline + \ in gtStripSeparate() 2892 uint32 rowsperstrip, rows_to_read; in TIFFReadRGBAStripExt() local 2902 if( (row % rowsperstrip) != 0 ) in TIFFReadRGBAStripExt() 2914 if( row + rowsperstrip > img.height ) in TIFFReadRGBAStripExt() [all …]
|
A D | tif_read.c | 472 uint32 rowsperstrip; in TIFFReadEncodedStripGetStripSize() local 487 rowsperstrip=td->td_rowsperstrip; in TIFFReadEncodedStripGetStripSize() 488 if (rowsperstrip>td->td_imagelength) in TIFFReadEncodedStripGetStripSize() 489 rowsperstrip=td->td_imagelength; in TIFFReadEncodedStripGetStripSize() 490 stripsperplane= TIFFhowmany_32_maxuint_compat(td->td_imagelength, rowsperstrip); in TIFFReadEncodedStripGetStripSize() 493 rows=td->td_imagelength-stripinplane*rowsperstrip; in TIFFReadEncodedStripGetStripSize() 494 if (rows>rowsperstrip) in TIFFReadEncodedStripGetStripSize() 495 rows=rowsperstrip; in TIFFReadEncodedStripGetStripSize()
|
A D | tif_dirread.c | 4560 uint32 rowsperstrip = td->td_imagelength/td->td_stripsperimage; in EstimateStripByteCounts() local 4562 td->td_stripbytecount[strip] = rowbytes * rowsperstrip; in EstimateStripByteCounts() 5720 uint32 rowsperstrip; in ChopUpSingleUncompressedStrip() local 5744 rowsperstrip = rowblock; in ChopUpSingleUncompressedStrip() 5748 rowsperstrip = rowblocksperstrip * rowblock; in ChopUpSingleUncompressedStrip() 5757 if (rowsperstrip >= td->td_rowsperstrip) in ChopUpSingleUncompressedStrip() 5759 nstrips = TIFFhowmany_32(td->td_imagelength, rowsperstrip); in ChopUpSingleUncompressedStrip() 5804 TIFFSetField(tif, TIFFTAG_ROWSPERSTRIP, rowsperstrip); in ChopUpSingleUncompressedStrip()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/ |
A D | ChangeLog | 821 instanciate compute ntrips as TIFFhowmany_32(td->td_imagelength, rowsperstrip), 4035 OJPEG images with rowsperstrip that is not a multiple of vertical subsampling 7742 * tif_read.c: fixed up bug with files missing rowsperstrip and
|