Lines Matching refs:fip

67 _TIFFPrintField(FILE* fd, const TIFFField *fip,  in _TIFFPrintField()  argument
72 fprintf(fd, " %s: ", fip->field_name); in _TIFFPrintField()
75 if(fip->field_type == TIFF_BYTE) in _TIFFPrintField()
77 else if(fip->field_type == TIFF_UNDEFINED) in _TIFFPrintField()
80 else if(fip->field_type == TIFF_SBYTE) in _TIFFPrintField()
82 else if(fip->field_type == TIFF_SHORT) in _TIFFPrintField()
84 else if(fip->field_type == TIFF_SSHORT) in _TIFFPrintField()
86 else if(fip->field_type == TIFF_LONG) in _TIFFPrintField()
89 else if(fip->field_type == TIFF_SLONG) in _TIFFPrintField()
91 else if(fip->field_type == TIFF_IFD) in _TIFFPrintField()
94 else if(fip->field_type == TIFF_RATIONAL in _TIFFPrintField()
95 || fip->field_type == TIFF_SRATIONAL in _TIFFPrintField()
96 || fip->field_type == TIFF_FLOAT) in _TIFFPrintField()
98 else if(fip->field_type == TIFF_LONG8) in _TIFFPrintField()
106 else if(fip->field_type == TIFF_SLONG8) in _TIFFPrintField()
112 else if(fip->field_type == TIFF_IFD8) in _TIFFPrintField()
120 else if(fip->field_type == TIFF_FLOAT) in _TIFFPrintField()
122 else if(fip->field_type == TIFF_DOUBLE) in _TIFFPrintField()
124 else if(fip->field_type == TIFF_ASCII) { in _TIFFPrintField()
141 _TIFFPrettyPrintField(TIFF* tif, const TIFFField *fip, FILE* fd, uint32 tag, in _TIFFPrettyPrintField() argument
147 if (strncmp(fip->field_name,"Tag ", 4) == 0) { in _TIFFPrettyPrintField()
154 if (value_count == 2 && fip->field_type == TIFF_SHORT) { in _TIFFPrettyPrintField()
171 if (value_count == 2 && fip->field_type == TIFF_SHORT) { in _TIFFPrettyPrintField()
179 if (value_count == 2 && fip->field_type == TIFF_RATIONAL) { in _TIFFPrettyPrintField()
217 if (value_count == 1 && fip->field_type == TIFF_DOUBLE) { in _TIFFPrettyPrintField()
573 const TIFFField *fip; in TIFFPrintDirectory() local
578 fip = TIFFFieldWithTag(tif, tag); in TIFFPrintDirectory()
579 if(fip == NULL) in TIFFPrintDirectory()
582 if(fip->field_passcount) { in TIFFPrintDirectory()
583 if (fip->field_readcount == TIFF_VARIABLE2 ) { in TIFFPrintDirectory()
586 } else if (fip->field_readcount == TIFF_VARIABLE2 ) { in TIFFPrintDirectory()
592 assert (fip->field_readcount == TIFF_VARIABLE in TIFFPrintDirectory()
593 || fip->field_readcount == TIFF_VARIABLE2); in TIFFPrintDirectory()
597 if (fip->field_readcount == TIFF_VARIABLE in TIFFPrintDirectory()
598 || fip->field_readcount == TIFF_VARIABLE2) in TIFFPrintDirectory()
600 else if (fip->field_readcount == TIFF_SPP) in TIFFPrintDirectory()
603 value_count = fip->field_readcount; in TIFFPrintDirectory()
604 if (fip->field_tag == TIFFTAG_DOTRANGE in TIFFPrintDirectory()
605 && strcmp(fip->field_name,"DotRange") == 0) { in TIFFPrintDirectory()
613 } else if (fip->field_type == TIFF_ASCII in TIFFPrintDirectory()
614 || fip->field_readcount == TIFF_VARIABLE in TIFFPrintDirectory()
615 || fip->field_readcount == TIFF_VARIABLE2 in TIFFPrintDirectory()
616 || fip->field_readcount == TIFF_SPP in TIFFPrintDirectory()
622 _TIFFDataSize(fip->field_type) in TIFFPrintDirectory()
638 if (!_TIFFPrettyPrintField(tif, fip, fd, tag, value_count, raw_data)) in TIFFPrintDirectory()
639 _TIFFPrintField(fd, fip, value_count, raw_data); in TIFFPrintDirectory()