| /libtiff-4.0.7/tools/ |
| H A D | tiff2rgba.c | 152 TIFFGetField(in, TIFFTAG_IMAGEWIDTH, &width); in cvt_by_tile() 267 TIFFGetField(in, TIFFTAG_IMAGEWIDTH, &width); in cvt_by_strip() 296 wrk_linesize = width * sizeof (uint32); in cvt_by_strip() 297 if (width != wrk_linesize / sizeof (uint32)) in cvt_by_strip() 346 top_line = raster + width * i_row; in cvt_by_strip() 389 TIFFGetField(in, TIFFTAG_IMAGEWIDTH, &width); in cvt_whole_image() 391 pixel_count = width * height; in cvt_whole_image() 394 if (!width || !height || pixel_count / width != height) { in cvt_whole_image() 423 TIFFSwabArrayOfLong(raster, width * height); in cvt_whole_image() 494 TIFFGetField(in, TIFFTAG_IMAGEWIDTH, &width); in tiffcvt() [all …]
|
| H A D | rgb2ycbcr.c | 231 vertSubSampling, horizSubSampling, width); in cvtStrip() 236 cvtClump(op, tp, vertSubSampling, x, width); in cvtStrip() 239 raster -= vertSubSampling*width; in cvtStrip() 249 cvtClump(op, tp, nrows, x, width); in cvtStrip() 260 uint32 rwidth = roundup(width, horizSubSampling); in cvtRaster() 271 cvtStrip(buf, raster + (y-1)*width, nr, width); in cvtRaster() 296 TIFFGetField(in, TIFFTAG_IMAGEWIDTH, &width); in tiffcvt() 298 pixel_count = width * height; in tiffcvt() 301 if (!width || !height || pixel_count / width != height) { in tiffcvt() 325 TIFFSetField(out, TIFFTAG_IMAGEWIDTH, width); in tiffcvt() [all …]
|
| H A D | raw2tiff.c | 127 width = atoi(optarg); in main() 270 linebytes = width * depth; in main() 275 linebytes = width * nbands * depth; in main() 278 bufsize = width * nbands * depth; in main() 310 for (col = 0; col < width; col++) in main() 390 if (*width != 0 && *length == 0) { in guessSize() 393 *length = imagesize / *width; in guessSize() 399 } else if (*width == 0 && *length != 0) { in guessSize() 402 *width = imagesize / *length; in guessSize() 405 (unsigned long)*width); in guessSize() [all …]
|
| H A D | tiffgt.c | 52 static uint32 width = 0, height = 0; /* window width & height */ variable 183 glutInitWindowSize(width, height); in main() 230 w = img.width; in initImage() 240 if (w != width || h != height) { in initImage() 242 _TIFFMultiply32(tif, img.width, img.height, "allocating raster buffer"); in initImage() 248 width = height = 0; in initImage() 252 width = w; in initImage() 255 TIFFRGBAImageGet(&img, raster, img.width, img.height); in initImage() 257 TIFFSwabArrayOfLong(raster,img.width*img.height); in initImage() 295 glutReshapeWindow(width, height); in setWindowSize() [all …]
|
| H A D | tiffcrop.c | 333 double width; member 397 uint32 width; member 2698 row + i + 1, width, row * width); in dump_buffer() 4950 page->width = PaperTable[n].width; in get_page_geometry() 5242 width = (uint32)crop->width; in computeInputPixelOffsets() 5244 width = image->width - lmargin - rmargin; in computeInputPixelOffsets() 5254 width = (uint32)(crop->width * scale * image->xres); in computeInputPixelOffsets() 5256 width = image->width - lmargin - rmargin; in computeInputPixelOffsets() 5275 if ((startx + width) >= (image->width - rmargin)) in computeInputPixelOffsets() 5915 image->width = width; in loadImage() [all …]
|
| H A D | tiffcp.c | 598 uint32 width, length; in tiffcp() local 601 CopyField(TIFFTAG_IMAGEWIDTH, width); in tiffcp() 1352 uint32 width = imagew - colb; in DECLAREreadFunc() local 1353 uint32 oskew = tilew - width; in DECLAREreadFunc() 1355 tilebuf, nrow, width, in DECLAREreadFunc() 1418 uint32 width = imagew - colb; in DECLAREreadFunc() local 1419 int oskew = tilew*spp - width; in DECLAREreadFunc() 1532 uint32 width = imagew - colb; in DECLAREwriteFunc() local 1533 int oskew = tilew - width; in DECLAREwriteFunc() 1591 uint32 width = (imagew - colb); in DECLAREwriteFunc() local [all …]
|
| H A D | fax2ps.c | 77 unsigned short width; in printruns() member 116 if (runlength >= WBarr[l].width) { in printruns() 122 runlength -= WBarr[l].width; in printruns()
|
| H A D | tiff2pdf.c | 873 int tiff2pdf_match_paper_size(float* width, float* length, char* papersize){ in tiff2pdf_match_paper_size() argument 924 *width=(float)widths[i]; in tiff2pdf_match_paper_size()
|
| /libtiff-4.0.7/archive/tools/ |
| H A D | gif2tiff.c | 116 unsigned long width, height; variable 300 if (width == 0UL || height == 0UL || (width > 2000000000UL / height)) { in readgifimage() 308 raster_size=width*height; in readgifimage() 309 if ((raster_size/width) == height) { in readgifimage() 414 if (fill >= raster + width*height) { in readraster() 420 if (fill != raster + width*height) { in readraster() 424 (long) width*height); in readraster() 454 if (*fill >= raster + width*height) { in process() 488 if (*fill >= raster + width*height) { in process() 531 _TIFFmemcpy(newras + row*width, ras, width);\ in rasterize() [all …]
|
| H A D | bmp2tiff.c | 232 uint32 width, length; in main() local 449 width = info_hdr.iWidth; in main() 451 if( width <= 0 || length <= 0 ) in main() 546 TIFFSetField(out, TIFFTAG_IMAGEWIDTH, width); in main() 595 size = width * info_hdr.iBitCount + 31; in main() 596 if (!width || !info_hdr.iBitCount in main() 597 || (size - 31) / info_hdr.iBitCount != width ) { in main() 631 rearrangePixels(scanbuf, width, info_hdr.iBitCount); in main() 655 uncompr_size = width * length; in main() 832 for (i = 0; i < width; i++, buf += 3) { in rearrangePixels() [all …]
|
| /libtiff-4.0.7/contrib/ras/ |
| H A D | tif2ras.c | 81 long width, local 166 TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &width); 170 fprintf(stderr, "%dx%dx%d image, ", width, height, depth); 175 pix = mem_create(width, height, depth); 259 for (col = 0; col < width; col++) { 266 for (col = 0; col < width; col++) { 276 for (col = 0; col < ((width + 7) / 8); col++) 280 for (col = 0; col < ((width + 3) / 4); col++) { 288 for (col = 0; col < width / 2; col++) { 294 for (col = 0; col < width; col++) [all …]
|
| H A D | ras2tif.c | 94 long width, local 170 width = pix->pr_width; 199 bpsl = ((depth * width + 15) >> 3) & ~1; 202 TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, width); 229 fprintf(stderr, "%dx%dx%d image, ", width, height, depth);
|
| /libtiff-4.0.7/test/ |
| H A D | strip.c | 120 create_image_striped(const char *name, uint32 width, uint32 length, in create_image_striped() argument 133 if (!TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, width)) { 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 205 || value_u32 != width) { in read_image_striped() 255 name, (long) width, (long) length, (long) rowsperstrip, in read_image_striped()
|
| H A D | long_tag.c | 55 const uint32 width = 1; variable 75 if (!TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, width)) { in main() 128 if (CheckLongField(tif, TIFFTAG_IMAGEWIDTH, width) < 0) in main()
|
| H A D | short_tag.c | 46 const uint16 width = 1; variable 94 if (!TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, width)) { in main() 157 if (CheckLongField(tif, TIFFTAG_IMAGEWIDTH, width) < 0) in main()
|
| H A D | rewrite_tag.c | 43 const uint32 width = 10; variable 69 if (!TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, width)) { in test_packbits() 167 if (!TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, width)) { in rewrite_test()
|
| H A D | custom_dir.c | 47 const uint16 width = 1; variable 81 if (!TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, width)) { in main()
|
| /libtiff-4.0.7/libtiff/ |
| H A D | mkg3states.c | 325 int width = P->val & 15; in FillTable() local 327 int incr = 1 << width; in FillTable() 332 E->Width = width; in FillTable()
|
| H A D | tif_getimage.c | 478 TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &img->width); in TIFFRGBAImageBegin() 914 uint32 imagewidth = img->width; in gtStripContig() 1006 uint32 imagewidth = img->width; in gtStripSeparate() 2849 ok = TIFFRGBAImageGet(&img, raster, img.width, rows_to_read ); in TIFFReadRGBAStrip() 2921 if( col + tile_xsize > img.width ) in TIFFReadRGBATile() 2922 read_xsize = img.width - col; in TIFFReadRGBATile()
|
| H A D | tiffio.h | 204 uint32 width; /* image width */ member
|
| /libtiff-4.0.7/contrib/pds/ |
| H A D | tif_imageiter.c | 176 TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &img->width); in TIFFImageIterBegin() 383 uint32 imagewidth = img->width; in gtStripContig() 424 uint32 imagewidth = img->width; in gtStripSeparate() 510 ok = TIFFImageIterGet(&img, NULL, img.width, img.height); in main()
|
| H A D | tif_imageiter.h | 41 uint32 width; /* image width */ member
|
| /libtiff-4.0.7/contrib/win_dib/ |
| H A D | Tiffile.cpp | 106 npixels = img.tif.width * img.tif.height; in ReadTIFF() 109 if (TIFFRGBAImageGet(&img.tif, raster, img.tif.width, img.tif.height)) { in ReadTIFF() 402 uint32 imagewidth = img->width; in getStripContig1Bit()
|
| /libtiff-4.0.7/contrib/dbs/xtiff/ |
| H A D | xtiff.c | 914 xImage->width, xImage->height, xImageDepth); in CreateXImage() 928 0, 0, 0, 0, xImage->width, xImage->height); in CreateXImage() 931 0, 0, 0, 0, xImage->width, xImage->height); in CreateXImage() 1041 fake_event.xexpose.width = tfImageWidth; /* the window will clip */ 1100 w = MIN(event->xexpose.width, iw); 1240 fake_event.xexpose.width = tfImageWidth; in ResizeProc()
|
| /libtiff-4.0.7/ |
| H A D | ChangeLog | 162 tile width vs image width. Reported as MSVR 35103 1001 * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height 3639 multipage TIFF with /width/height/center options set. As per bug 4199 * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly; 5829 * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of 6790 the strip/tile width and height aren't multiples of the sampling size. 6942 * fax2ps: Fixed mixup of width and height in bounding box statement
|