Go to the source code of this file.
Data Structures | |
struct | tiff_header |
struct | tiff_idf_entry |
Typedefs | |
typedef struct tiff_header | TIFFHeader |
typedef struct tiff_idf_entry | TIFFIFDEntry |
Enumerations | |
enum | TIFFType { TIFF_BYTE = 1, TIFF_ASCII = 2, TIFF_SHORT = 3, TIFF_LONG = 4, TIFF_RATIONAL = 5, TIFF_SBYTE = 6, TIFF_UNDEFINED = 7, TIFF_SSHORT = 8, TIFF_SLONG = 9, TIFF_SRATIONAL = 10, TIFF_FLOAT = 11, TIFF_DOUBLE = 12 } |
enum | TIFFTag { TIFFTAG_SUBFILETYPE = 254, TIFFTAG_OSUBFILETYPE = 255, TIFFTAG_IMAGEWIDTH = 256, TIFFTAG_IMAGELENGTH = 257, TIFFTAG_BITSPERSAMPLE = 258, TIFFTAG_COMPRESSION = 259, TIFFTAG_PHOTOMETRIC = 262, TIFFTAG_THRESHHOLDING = 263, TIFFTAG_CELLWIDTH = 264, TIFFTAG_CELLLENGTH = 265, TIFFTAG_FILLORDER = 266, TIFFTAG_DOCUMENTNAME = 269, TIFFTAG_IMAGEDESCRIPTION = 270, TIFFTAG_MAKE = 271, TIFFTAG_MODEL = 272, TIFFTAG_STRIPOFFSETS = 273, TIFFTAG_ORIENTATION = 274, TIFFTAG_SAMPLESPERPIXEL = 277, TIFFTAG_ROWSPERSTRIP = 278, TIFFTAG_STRIPBYTECOUNTS = 279, TIFFTAG_MINSAMPLEVALUE = 280, TIFFTAG_MAXSAMPLEVALUE = 281, TIFFTAG_XRESOLUTION = 282, TIFFTAG_YRESOLUTION = 283, TIFFTAG_PLANARCONFIG = 284, TIFFTAG_PAGENAME = 285, TIFFTAG_XPOSITION = 286, TIFFTAG_YPOSITION = 287, TIFFTAG_FREEOFFSETS = 288, TIFFTAG_FREEBYTECOUNTS = 289, TIFFTAG_GRAYRESPONSEUNIT = 290, TIFFTAG_GRAYRESPONSECURVE = 291, TIFFTAG_GROUP3OPTIONS = 292, TIFFTAG_T4OPTIONS = 292, TIFFTAG_GROUP4OPTIONS = 293, TIFFTAG_T6OPTIONS = 293, TIFFTAG_RESOLUTIONUNIT = 296, TIFFTAG_PAGENUMBER = 297, TIFFTAG_COLORRESPONSEUNIT = 300, TIFFTAG_TRANSFERFUNCTION = 301, TIFFTAG_SOFTWARE = 305, TIFFTAG_DATETIME = 306, TIFFTAG_ARTIST = 315, TIFFTAG_HOSTCOMPUTER = 316, TIFFTAG_PREDICTOR = 317, TIFFTAG_WHITEPOINT = 318, TIFFTAG_PRIMARYCHROMATICITIES = 319, TIFFTAG_COLORMAP = 320, TIFFTAG_HALFTONEHINTS = 321, TIFFTAG_TILEWIDTH = 322, TIFFTAG_TILELENGTH = 323, TIFFTAG_TILEOFFSETS = 324, TIFFTAG_TILEBYTECOUNTS = 325, TIFFTAG_BADFAXLINES = 326, TIFFTAG_CLEANFAXDATA = 327, TIFFTAG_CONSECUTIVEBADFAXLINES = 328, TIFFTAG_SUBIFD = 330, TIFFTAG_INKSET = 332, TIFFTAG_INKNAMES = 333, TIFFTAG_NUMBEROFINKS = 334, TIFFTAG_DOTRANGE = 336, TIFFTAG_TARGETPRINTER = 337, TIFFTAG_EXTRASAMPLES = 338, TIFFTAG_SAMPLEFORMAT = 339, TIFFTAG_SMINSAMPLEVALUE = 340, TIFFTAG_SMAXSAMPLEVALUE = 341 } |
enum | TIFFCompression { COMPRESSION_NONE = 1, COMPRESSION_CCITTRLE = 2, COMPRESSION_CCITTFAX3 = 3, COMPRESSION_CCITT_T4 = 3, COMPRESSION_CCITTFAX4 = 4, COMPRESSION_CCITT_T6 = 4, COMPRESSION_LZW = 5, COMPRESSION_OJPEG = 6, COMPRESSION_JPEG = 7 } |
Functions | |
void | ReadTIFFImage (InputParameters *p_Inp, VideoDataFile *input_file, int FrameNoInFile, FrameFormat *source, unsigned char *buf) |
Definition in file io_tiff.h.
void ReadTIFFImage | ( | InputParameters * | p_Inp, | |
VideoDataFile * | input_file, | |||
int | FrameNoInFile, | |||
FrameFormat * | source, | |||
unsigned char * | buf | |||
) |
Reads entire tiff file from harddrive. Any processing is done in memory, reducing I/O processing.
p_Inp | Input configuration parameters | |
input_file | Input file to read from | |
FrameNoInFile | Frame number in the source file | |
source | source file (on disk) information | |
buf | memory buffer |
Definition at line 259 of file io_tiff.c.
References AllocateTIFFBufferMemory(), OpenTiffFile(), ParseTIFFIFD(), ReadTIFFHeader(), ReadTIFFIFDEntry(), and ReadTIFFSize().
Referenced by ReadOneFrame().