Home
last modified time | relevance | path

Searched refs:length (Results 1 – 19 of 19) sorted by relevance

/libtiff-4.0.7/test/
H A Drewrite_tag.c44 const uint32 length = 40; variable
54 int length = 20; in test_packbits() local
73 if (!TIFFSetField(tif, TIFFTAG_IMAGELENGTH, length)) { in test_packbits()
94 for (i = 0; i < length; i++ ) in test_packbits()
192 for (i = 0; i < length; i++ ) in rewrite_test()
223 for( i = 0; i < length; i++ ) in rewrite_test()
227 length, upd_rowoffset ) ) in rewrite_test()
236 for( i = 0; i < length; i++ ) in rewrite_test()
240 length, upd_bytecount ) ) in rewrite_test()
264 for( i = 0; i < length; i++ ) in rewrite_test()
[all …]
H A Dstrip.c120 create_image_striped(const char *name, uint32 width, uint32 length, in create_image_striped() argument
137 if (!TIFFSetField(tif, TIFFTAG_IMAGELENGTH, length)) { in create_image_striped()
177 name, (long) width, (long) length, (long) rowsperstrip, in create_image_striped()
184 read_image_striped(const char *name, uint32 width, uint32 length, in read_image_striped() argument
210 || value_u32 != length) { in read_image_striped()
255 name, (long) width, (long) length, (long) rowsperstrip, in read_image_striped()
264 uint32 length, row; in write_scanlines() local
268 if (!TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &length)) { in write_scanlines()
279 for (offset = 0, row = 0; row < length; offset+=scanlinesize, row++) { in write_scanlines()
H A Dlong_tag.c56 const uint32 length = 1; variable
79 if (!TIFFSetField(tif, TIFFTAG_IMAGELENGTH, length)) { in main()
131 if (CheckLongField(tif, TIFFTAG_IMAGELENGTH, length) < 0) in main()
H A Dshort_tag.c47 const uint16 length = 1; variable
98 if (!TIFFSetField(tif, TIFFTAG_IMAGELENGTH, length)) { in main()
160 if (CheckLongField(tif, TIFFTAG_IMAGELENGTH, length) < 0) in main()
H A Dcustom_dir.c48 const uint16 length = 1; variable
85 if (!TIFFSetField(tif, TIFFTAG_IMAGELENGTH, length)) { in main()
/libtiff-4.0.7/tools/
H A Draw2tiff.c130 length = atoi(optarg); in main()
282 if (rowsperstrip > length) { in main()
283 rowsperstrip = length; in main()
288 for (row = 0; row < length; row++) { in main()
369 int swab, uint32 *width, uint32 *length) in guessSize() argument
390 if (*width != 0 && *length == 0) { in guessSize()
393 *length = imagesize / *width; in guessSize()
396 (unsigned long)*length); in guessSize()
399 } else if (*width == 0 && *length != 0) { in guessSize()
402 *width = imagesize / *length; in guessSize()
[all …]
H A Dtiffcrop.c334 double length; member
398 uint32 length; member
4951 page->length = PaperTable[n].length; in get_page_geometry()
5247 length = (uint32)crop->length; in computeInputPixelOffsets()
5249 length = image->length - tmargin - bmargin; in computeInputPixelOffsets()
5259 length = (uint32)(crop->length * scale * image->yres); in computeInputPixelOffsets()
5261 length = image->length - tmargin - bmargin; in computeInputPixelOffsets()
5294 if ((starty + length) >= (image->length - bmargin)) in computeInputPixelOffsets()
5309 if ((starty + length) >= (image->length - bmargin)) in computeInputPixelOffsets()
5916 image->length = length; in loadImage()
[all …]
H A Dtiffcp.c598 uint32 width, length; in tiffcp() local
602 CopyField(TIFFTAG_IMAGELENGTH, length); in tiffcp()
707 if (rowsperstrip > length && rowsperstrip != (uint32)-1) in tiffcp()
708 rowsperstrip = length; in tiffcp()
711 rowsperstrip = length; in tiffcp()
815 return (cf ? (*cf)(in, out, length, width, samplesperpixel) : FALSE); in tiffcp()
H A Dtiff2pdf.c873 int tiff2pdf_match_paper_size(float* width, float* length, char* papersize){ in tiff2pdf_match_paper_size() argument
925 *length=(float)lengths[i]; in tiff2pdf_match_paper_size()
/libtiff-4.0.7/libtiff/
H A Dtif_fax3.c587 length -= bit; \
591 data |= (bits & _msbmask[length]) << (bit - length); \
592 bit -= length; \
643 unsigned int code, length; in putspan() local
648 length = te->length; in putspan()
659 length = te->length; in putspan()
667 length = tab[span].length; in putspan()
708 length = 12; in Fax3PutEOL()
711 length++; in Fax3PutEOL()
1105 unsigned int length = 12; in Fax3Close() local
[all …]
H A Dtif_lzw.c485 free_entp->length = free_entp->next->length+1; in LZWDecode()
500 if(codep->length == 0) { in LZWDecode()
507 if (codep->length > occ) { in LZWDecode()
530 len = codep->length; in LZWDecode()
709 free_entp->length = free_entp->next->length+1; in LZWDecodeCompat()
724 if(codep->length == 0) { in LZWDecodeCompat()
731 if (codep->length > occ) { in LZWDecodeCompat()
741 } while (codep->length > occ); in LZWDecodeCompat()
750 assert(occ >= codep->length); in LZWDecodeCompat()
751 op += codep->length; in LZWDecodeCompat()
[all …]
H A Dt4.h36 unsigned short length; /* bit length of g3 code */ member
/libtiff-4.0.7/archive/tools/
H A Dbmp2tiff.c232 uint32 width, length; in main() local
450 length = (info_hdr.iHeight > 0) ? info_hdr.iHeight : -info_hdr.iHeight; in main()
451 if( width <= 0 || length <= 0 ) in main()
547 TIFFSetField(out, TIFFTAG_IMAGELENGTH, length); in main()
612 for (row = 0; row < length; row++) { in main()
614 offset = file_hdr.iOffBits+(length-row-1)*size; in main()
655 uncompr_size = width * length; in main()
657 if( uncompr_size / width != length ) { in main()
774 for (row = 0; row < length; row++) { in main()
776 uncomprbuf + (length - row - 1) * width, in main()
/libtiff-4.0.7/contrib/ras/
H A Dtif2ras.c186 Colormap.length = 0;
197 Colormap.length = numcolors;
207 Colormap.length = numcolors;
214 Colormap.length = 0;
221 Colormap.length = numcolors;
H A Dras2tif.c222 for (i = 0; i < Colormap.length; i++) {
/libtiff-4.0.7/config/
H A Dltmain.sh6372 size_t length;
6378 length = 0;
6381 length++;
6386 length += backslashes + 1;
6387 length++;
/libtiff-4.0.7/m4/
H A Dlibtool.m41673 # find the maximum length of command line arguments
1674 AC_MSG_CHECKING([the maximum length of command line arguments])
1690 # no limit to the length of command line arguments.
1700 # the test eventually succeeds (with a max line length of 256k).
1713 # So we just punt and use a minimum line length of 8192.
1779 # maximum length that is only half of the actual maximum length, but
1788 # Only check the string length outside the loop.
1806 [What is the maximum length of a command?])
4018 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4020 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
[all …]
/libtiff-4.0.7/
H A Dconfigure22255 len = length(field[1])
22258 keylen = length(key)
22262 len += length(value) + length(field[++i])
H A DChangeLog170 JPEG compressed image with TIFFTAG_JPEGTABLES length being one.
1722 * libtiff/tif_fax3.h: Fix to last change allowing zero length
2566 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
3529 * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
6182 for variable length FIELD_CUSTOM values. Was int * but should be