Lines Matching refs:tfFile

240 TIFF *              tfFile = NULL;  variable
390 if (tfFile != NULL) in OpenTIFFFile()
391 TIFFClose(tfFile); in OpenTIFFFile()
393 if ((tfFile = TIFFOpen(fileName, "r")) == NULL) { in OpenTIFFFile()
399 tfMultiPage = (TIFFLastDirectory(tfFile) ? False : True); in OpenTIFFFile()
407 if (!TIFFSetDirectory(tfFile, tfDirectory)) { in GetTIFFHeader()
413 TIFFGetField(tfFile, TIFFTAG_IMAGEWIDTH, &tfImageWidth); in GetTIFFHeader()
414 TIFFGetField(tfFile, TIFFTAG_IMAGELENGTH, &tfImageHeight); in GetTIFFHeader()
419 TIFFGetFieldDefaulted(tfFile, TIFFTAG_BITSPERSAMPLE, &tfBitsPerSample); in GetTIFFHeader()
420 TIFFGetFieldDefaulted(tfFile, TIFFTAG_SAMPLESPERPIXEL, &tfSamplesPerPixel); in GetTIFFHeader()
421 TIFFGetFieldDefaulted(tfFile, TIFFTAG_PLANARCONFIG, &tfPlanarConfiguration); in GetTIFFHeader()
422 TIFFGetFieldDefaulted(tfFile, TIFFTAG_GRAYRESPONSEUNIT, &tfGrayResponseUnit); in GetTIFFHeader()
437 if (!TIFFGetField(tfFile, TIFFTAG_PHOTOMETRIC, in GetTIFFHeader()
443 else if (TIFFGetField(tfFile, TIFFTAG_COLORMAP, in GetTIFFHeader()
465 if (!TIFFGetField(tfFile, TIFFTAG_COLORMAP, in GetTIFFHeader()
744 scan_line = (char *) malloc(tfBytesPerRow = TIFFScanlineSize(tfFile)); in GetTIFFImage()
773 if (TIFFReadScanline(tfFile, scan_line, i, 0) < 0) in GetTIFFImage()
789 if (TIFFReadScanline(tfFile, scan_line, i, s) < 0) in GetTIFFImage()
805 if (TIFFReadScanline(tfFile, output_p, i, 0) < 0) in GetTIFFImage()
818 if (TIFFReadScanline(tfFile, scan_line, i, 0) < 0) in GetTIFFImage()
833 if (TIFFReadScanline(tfFile, scan_line, i, 0) < 0) in GetTIFFImage()
850 if (TIFFReadScanline(tfFile, scan_line, i, 0) < 0) in GetTIFFImage()
992 TIFFSetDirectory(tfFile, --tfDirectory);
997 if (TIFFReadDirectory(tfFile) == True)