Lines Matching refs:dir
42 static int TIFFWriteDirectoryTagSampleformatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
44 static int TIFFWriteDirectoryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, u…
47 static int TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3…
48 static int TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
50 static int TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 …
52 static int TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
54 static int TIFFWriteDirectoryTagBytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
57 static int TIFFWriteDirectoryTagSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 …
59 static int TIFFWriteDirectoryTagSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
61 static int TIFFWriteDirectoryTagSbytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
63 static int TIFFWriteDirectoryTagShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint1…
64 static int TIFFWriteDirectoryTagShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
65 static int TIFFWriteDirectoryTagShortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
67 static int TIFFWriteDirectoryTagSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int1…
69 static int TIFFWriteDirectoryTagSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
71 static int TIFFWriteDirectoryTagSshortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
73 static int TIFFWriteDirectoryTagLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32…
74 static int TIFFWriteDirectoryTagLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
76 static int TIFFWriteDirectoryTagLongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
79 static int TIFFWriteDirectoryTagSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32…
81 static int TIFFWriteDirectoryTagSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
83 static int TIFFWriteDirectoryTagSlongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
86 static int TIFFWriteDirectoryTagLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint6…
88 static int TIFFWriteDirectoryTagLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
90 static int TIFFWriteDirectoryTagSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int6…
92 static int TIFFWriteDirectoryTagSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
93 static int TIFFWriteDirectoryTagRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, do…
94 static int TIFFWriteDirectoryTagRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
95 static int TIFFWriteDirectoryTagSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
97 static int TIFFWriteDirectoryTagFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, float…
99 static int TIFFWriteDirectoryTagFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
101 static int TIFFWriteDirectoryTagFloatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
104 static int TIFFWriteDirectoryTagDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, doub…
106 static int TIFFWriteDirectoryTagDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
108 static int TIFFWriteDirectoryTagDoublePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
110 static int TIFFWriteDirectoryTagIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, ui…
112 static int TIFFWriteDirectoryTagIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
114 static int TIFFWriteDirectoryTagShortLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
115 static int TIFFWriteDirectoryTagLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
116 static int TIFFWriteDirectoryTagIfdIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
118 static int TIFFWriteDirectoryTagShortLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uin…
120 static int TIFFWriteDirectoryTagColormap(TIFF* tif, uint32* ndir, TIFFDirEntry* dir);
121 static int TIFFWriteDirectoryTagTransferfunction(TIFF* tif, uint32* ndir, TIFFDirEntry* dir);
122 static int TIFFWriteDirectoryTagSubifd(TIFF* tif, uint32* ndir, TIFFDirEntry* dir);
124 static int TIFFWriteDirectoryTagCheckedAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
125 static int TIFFWriteDirectoryTagCheckedUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, u…
127 static int TIFFWriteDirectoryTagCheckedByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
129 static int TIFFWriteDirectoryTagCheckedByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16…
131 static int TIFFWriteDirectoryTagCheckedSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
133 static int TIFFWriteDirectoryTagCheckedSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
134 static int TIFFWriteDirectoryTagCheckedShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
135 static int TIFFWriteDirectoryTagCheckedShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
137 static int TIFFWriteDirectoryTagCheckedSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
139 static int TIFFWriteDirectoryTagCheckedSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint…
140 static int TIFFWriteDirectoryTagCheckedLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
141 static int TIFFWriteDirectoryTagCheckedLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16…
143 static int TIFFWriteDirectoryTagCheckedSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
145 static int TIFFWriteDirectoryTagCheckedSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
147 static int TIFFWriteDirectoryTagCheckedLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
149 static int TIFFWriteDirectoryTagCheckedLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
151 static int TIFFWriteDirectoryTagCheckedSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
153 static int TIFFWriteDirectoryTagCheckedSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint…
154 static int TIFFWriteDirectoryTagCheckedRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
155 static int TIFFWriteDirectoryTagCheckedRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, ui…
156 static int TIFFWriteDirectoryTagCheckedSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, u…
158 static int TIFFWriteDirectoryTagCheckedFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
160 static int TIFFWriteDirectoryTagCheckedFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
162 static int TIFFWriteDirectoryTagCheckedDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
164 static int TIFFWriteDirectoryTagCheckedDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint…
165 static int TIFFWriteDirectoryTagCheckedIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
166 static int TIFFWriteDirectoryTagCheckedIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16…
168 static int TIFFWriteDirectoryTagData(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16…
410 TIFFDirEntry* dir; in TIFFWriteDirectorySec() local
465 dir=NULL; in TIFFWriteDirectorySec()
475 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGEWIDTH,tif->tif_dir.td_imagewidth)) in TIFFWriteDirectorySec()
477 …if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGELENGTH,tif->tif_dir.td_imagelength)) in TIFFWriteDirectorySec()
482 if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILEWIDTH,tif->tif_dir.td_tilewidth)) in TIFFWriteDirectorySec()
484 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILELENGTH,tif->tif_dir.td_tilelength)) in TIFFWriteDirectorySec()
489 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XRESOLUTION,tif->tif_dir.td_xresolution)) in TIFFWriteDirectorySec()
491 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YRESOLUTION,tif->tif_dir.td_yresolution)) in TIFFWriteDirectorySec()
496 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XPOSITION,tif->tif_dir.td_xposition)) in TIFFWriteDirectorySec()
498 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YPOSITION,tif->tif_dir.td_yposition)) in TIFFWriteDirectorySec()
503 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,TIFFTAG_SUBFILETYPE,tif->tif_dir.td_subfiletype)) in TIFFWriteDirectorySec()
508 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_BITSPERSAMPLE,tif->tif_dir.td_bitsp… in TIFFWriteDirectorySec()
513 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_COMPRESSION,tif->tif_dir.td_compression)) in TIFFWriteDirectorySec()
518 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_PHOTOMETRIC,tif->tif_dir.td_photometric)) in TIFFWriteDirectorySec()
523 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_THRESHHOLDING,tif->tif_dir.td_threshholding)) in TIFFWriteDirectorySec()
528 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_FILLORDER,tif->tif_dir.td_fillorder)) in TIFFWriteDirectorySec()
533 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_ORIENTATION,tif->tif_dir.td_orientation)) in TIFFWriteDirectorySec()
538 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_SAMPLESPERPIXEL,tif->tif_dir.td_samplesperpi… in TIFFWriteDirectorySec()
543 …if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_ROWSPERSTRIP,tif->tif_dir.td_rowsperstri… in TIFFWriteDirectorySec()
548 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_MINSAMPLEVALUE,tif->tif_dir.td_mins… in TIFFWriteDirectorySec()
553 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_MAXSAMPLEVALUE,tif->tif_dir.td_maxs… in TIFFWriteDirectorySec()
558 … if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_PLANARCONFIG,tif->tif_dir.td_planarconfig)) in TIFFWriteDirectorySec()
563 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_RESOLUTIONUNIT,tif->tif_dir.td_resolutionuni… in TIFFWriteDirectorySec()
568 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_PAGENUMBER,2,&tif->tif_dir.td_pagenumbe… in TIFFWriteDirectorySec()
575 …if (!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_STRIPBYTECOUNTS,tif->tif_dir.td_nst… in TIFFWriteDirectorySec()
580 …if (!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_TILEBYTECOUNTS,tif->tif_dir.td_nstr… in TIFFWriteDirectorySec()
600 …!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_STRIPOFFSETS,tif->tif_dir.td_nstrips,ti… in TIFFWriteDirectorySec()
605 …if (!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_TILEOFFSETS,tif->tif_dir.td_nstrips… in TIFFWriteDirectorySec()
611 if (!TIFFWriteDirectoryTagColormap(tif,&ndir,dir)) in TIFFWriteDirectorySec()
621 if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_EXTRASAMPLES,na,nb)) in TIFFWriteDirectorySec()
627 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_SAMPLEFORMAT,tif->tif_dir.td_sample… in TIFFWriteDirectorySec()
632 …if (!TIFFWriteDirectoryTagSampleformatArray(tif,&ndir,dir,TIFFTAG_SMINSAMPLEVALUE,tif->tif_dir.td_… in TIFFWriteDirectorySec()
637 …if (!TIFFWriteDirectoryTagSampleformatArray(tif,&ndir,dir,TIFFTAG_SMAXSAMPLEVALUE,tif->tif_dir.td_… in TIFFWriteDirectorySec()
642 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,TIFFTAG_IMAGEDEPTH,tif->tif_dir.td_imagedepth)) in TIFFWriteDirectorySec()
647 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,TIFFTAG_TILEDEPTH,tif->tif_dir.td_tiledepth)) in TIFFWriteDirectorySec()
652 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_HALFTONEHINTS,2,&tif->tif_dir.td_halfto… in TIFFWriteDirectorySec()
657 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_YCBCRSUBSAMPLING,2,&tif->tif_dir.td_ycb… in TIFFWriteDirectorySec()
662 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_YCBCRPOSITIONING,tif->tif_dir.td_ycbcrpositi… in TIFFWriteDirectorySec()
667 …if (!TIFFWriteDirectoryTagRationalArray(tif,&ndir,dir,TIFFTAG_REFERENCEBLACKWHITE,6,tif->tif_dir.t… in TIFFWriteDirectorySec()
672 if (!TIFFWriteDirectoryTagTransferfunction(tif,&ndir,dir)) in TIFFWriteDirectorySec()
677 …if (!TIFFWriteDirectoryTagAscii(tif,&ndir,dir,TIFFTAG_INKNAMES,tif->tif_dir.td_inknameslen,tif->ti… in TIFFWriteDirectorySec()
682 if (!TIFFWriteDirectoryTagSubifd(tif,&ndir,dir)) in TIFFWriteDirectorySec()
703 if (!TIFFWriteDirectoryTagAscii(tif,&ndir,dir,(uint16)o->field_tag,pa,pb)) in TIFFWriteDirectorySec()
714 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,(uint16)o->field_tag,p)) in TIFFWriteDirectorySec()
725 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,(uint16)o->field_tag,p)) in TIFFWriteDirectorySec()
737 if (!TIFFWriteDirectoryTagUndefinedArray(tif,&ndir,dir,(uint16)o->field_tag,pa,pb)) in TIFFWriteDirectorySec()
759 if (!TIFFWriteDirectoryTagAscii(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value)) in TIFFWriteDirectorySec()
763 …if (!TIFFWriteDirectoryTagUndefinedArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].v… in TIFFWriteDirectorySec()
767 …if (!TIFFWriteDirectoryTagByteArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value)) in TIFFWriteDirectorySec()
771 …if (!TIFFWriteDirectoryTagSbyteArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value… in TIFFWriteDirectorySec()
775 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value… in TIFFWriteDirectorySec()
779 …if (!TIFFWriteDirectoryTagSshortArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].valu… in TIFFWriteDirectorySec()
783 …if (!TIFFWriteDirectoryTagLongArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value)) in TIFFWriteDirectorySec()
787 …if (!TIFFWriteDirectoryTagSlongArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value… in TIFFWriteDirectorySec()
791 …if (!TIFFWriteDirectoryTagLong8Array(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value… in TIFFWriteDirectorySec()
795 …if (!TIFFWriteDirectoryTagSlong8Array(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].valu… in TIFFWriteDirectorySec()
799 …if (!TIFFWriteDirectoryTagRationalArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].va… in TIFFWriteDirectorySec()
803 …if (!TIFFWriteDirectoryTagSrationalArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].v… in TIFFWriteDirectorySec()
807 …if (!TIFFWriteDirectoryTagFloatArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value… in TIFFWriteDirectorySec()
811 …if (!TIFFWriteDirectoryTagDoubleArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].valu… in TIFFWriteDirectorySec()
815 … if (!TIFFWriteDirectoryTagIfdArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value)) in TIFFWriteDirectorySec()
819 …if (!TIFFWriteDirectoryTagIfdIfd8Array(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].val… in TIFFWriteDirectorySec()
827 if (dir!=NULL) in TIFFWriteDirectorySec()
829 dir=_TIFFmalloc(ndir*sizeof(TIFFDirEntry)); in TIFFWriteDirectorySec()
830 if (dir==NULL) in TIFFWriteDirectorySec()
867 for (na=0, nb=dir; ; na++, nb++) in TIFFWriteDirectorySec()
900 o=dir; in TIFFWriteDirectorySec()
936 o=dir; in TIFFWriteDirectorySec()
959 _TIFFfree(dir); in TIFFWriteDirectorySec()
960 dir=NULL; in TIFFWriteDirectorySec()
986 if (dir!=NULL) in TIFFWriteDirectorySec()
987 _TIFFfree(dir); in TIFFWriteDirectorySec()
1048 TIFFWriteDirectoryTagSampleformatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagSampleformatArray() argument
1068 ok = TIFFWriteDirectoryTagFloatArray(tif,ndir,dir,tag,count,(float*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1072 ok = TIFFWriteDirectoryTagDoubleArray(tif,ndir,dir,tag,count,value); in TIFFWriteDirectoryTagSampleformatArray()
1080 ok = TIFFWriteDirectoryTagSbyteArray(tif,ndir,dir,tag,count,(int8*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1086 ok = TIFFWriteDirectoryTagSshortArray(tif,ndir,dir,tag,count,(int16*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1092 ok = TIFFWriteDirectoryTagSlongArray(tif,ndir,dir,tag,count,(int32*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1100 ok = TIFFWriteDirectoryTagByteArray(tif,ndir,dir,tag,count,(uint8*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1106 ok = TIFFWriteDirectoryTagShortArray(tif,ndir,dir,tag,count,(uint16*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1112 ok = TIFFWriteDirectoryTagLongArray(tif,ndir,dir,tag,count,(uint32*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1125 TIFFWriteDirectoryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
1131 return(TIFFWriteDirectoryTagFloatPerSample(tif,ndir,dir,tag,(float)value));
1133 return(TIFFWriteDirectoryTagDoublePerSample(tif,ndir,dir,tag,value));
1136 return(TIFFWriteDirectoryTagSbytePerSample(tif,ndir,dir,tag,(int8)value));
1138 return(TIFFWriteDirectoryTagSshortPerSample(tif,ndir,dir,tag,(int16)value));
1140 return(TIFFWriteDirectoryTagSlongPerSample(tif,ndir,dir,tag,(int32)value));
1143 return(TIFFWriteDirectoryTagBytePerSample(tif,ndir,dir,tag,(uint8)value));
1145 return(TIFFWriteDirectoryTagShortPerSample(tif,ndir,dir,tag,(uint16)value));
1147 return(TIFFWriteDirectoryTagLongPerSample(tif,ndir,dir,tag,(uint32)value));
1155 TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count, ch… in TIFFWriteDirectoryTagAscii() argument
1157 if (dir==NULL) in TIFFWriteDirectoryTagAscii()
1162 return(TIFFWriteDirectoryTagCheckedAscii(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagAscii()
1166 TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 … in TIFFWriteDirectoryTagUndefinedArray() argument
1168 if (dir==NULL) in TIFFWriteDirectoryTagUndefinedArray()
1173 return(TIFFWriteDirectoryTagCheckedUndefinedArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagUndefinedArray()
1178 TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 value) in TIFFWriteDirectoryTagByte() argument
1180 if (dir==NULL) in TIFFWriteDirectoryTagByte()
1185 return(TIFFWriteDirectoryTagCheckedByte(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagByte()
1190 TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count… in TIFFWriteDirectoryTagByteArray() argument
1192 if (dir==NULL) in TIFFWriteDirectoryTagByteArray()
1197 return(TIFFWriteDirectoryTagCheckedByteArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagByteArray()
1202 TIFFWriteDirectoryTagBytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 va…
1209 if (dir==NULL)
1222 o=TIFFWriteDirectoryTagCheckedByteArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1230 TIFFWriteDirectoryTagSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 value) in TIFFWriteDirectoryTagSbyte() argument
1232 if (dir==NULL) in TIFFWriteDirectoryTagSbyte()
1237 return(TIFFWriteDirectoryTagCheckedSbyte(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSbyte()
1242 TIFFWriteDirectoryTagSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagSbyteArray() argument
1244 if (dir==NULL) in TIFFWriteDirectoryTagSbyteArray()
1249 return(TIFFWriteDirectoryTagCheckedSbyteArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSbyteArray()
1254 TIFFWriteDirectoryTagSbytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 va…
1261 if (dir==NULL)
1274 o=TIFFWriteDirectoryTagCheckedSbyteArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1281 TIFFWriteDirectoryTagShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 value) in TIFFWriteDirectoryTagShort() argument
1283 if (dir==NULL) in TIFFWriteDirectoryTagShort()
1288 return(TIFFWriteDirectoryTagCheckedShort(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagShort()
1292 TIFFWriteDirectoryTagShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagShortArray() argument
1294 if (dir==NULL) in TIFFWriteDirectoryTagShortArray()
1299 return(TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagShortArray()
1303 TIFFWriteDirectoryTagShortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 … in TIFFWriteDirectoryTagShortPerSample() argument
1310 if (dir==NULL) in TIFFWriteDirectoryTagShortPerSample()
1323 o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); in TIFFWriteDirectoryTagShortPerSample()
1330 TIFFWriteDirectoryTagSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int16 value) in TIFFWriteDirectoryTagSshort() argument
1332 if (dir==NULL) in TIFFWriteDirectoryTagSshort()
1337 return(TIFFWriteDirectoryTagCheckedSshort(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSshort()
1342 TIFFWriteDirectoryTagSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 cou… in TIFFWriteDirectoryTagSshortArray() argument
1344 if (dir==NULL) in TIFFWriteDirectoryTagSshortArray()
1349 return(TIFFWriteDirectoryTagCheckedSshortArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSshortArray()
1354 TIFFWriteDirectoryTagSshortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int16 …
1361 if (dir==NULL)
1374 o=TIFFWriteDirectoryTagCheckedSshortArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1381 TIFFWriteDirectoryTagLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 value) in TIFFWriteDirectoryTagLong() argument
1383 if (dir==NULL) in TIFFWriteDirectoryTagLong()
1388 return(TIFFWriteDirectoryTagCheckedLong(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagLong()
1392 TIFFWriteDirectoryTagLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count… in TIFFWriteDirectoryTagLongArray() argument
1394 if (dir==NULL) in TIFFWriteDirectoryTagLongArray()
1399 return(TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagLongArray()
1404 TIFFWriteDirectoryTagLongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 v…
1411 if (dir==NULL)
1424 o=TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1432 TIFFWriteDirectoryTagSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32 value) in TIFFWriteDirectoryTagSlong() argument
1434 if (dir==NULL) in TIFFWriteDirectoryTagSlong()
1439 return(TIFFWriteDirectoryTagCheckedSlong(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSlong()
1444 TIFFWriteDirectoryTagSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagSlongArray() argument
1446 if (dir==NULL) in TIFFWriteDirectoryTagSlongArray()
1451 return(TIFFWriteDirectoryTagCheckedSlongArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSlongArray()
1456 TIFFWriteDirectoryTagSlongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32 v…
1463 if (dir==NULL)
1476 o=TIFFWriteDirectoryTagCheckedSlongArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1484 TIFFWriteDirectoryTagLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint64 value) in TIFFWriteDirectoryTagLong8() argument
1486 if (dir==NULL) in TIFFWriteDirectoryTagLong8()
1491 return(TIFFWriteDirectoryTagCheckedLong8(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagLong8()
1496 TIFFWriteDirectoryTagLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagLong8Array() argument
1498 if (dir==NULL) in TIFFWriteDirectoryTagLong8Array()
1503 return(TIFFWriteDirectoryTagCheckedLong8Array(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagLong8Array()
1508 TIFFWriteDirectoryTagSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int64 value) in TIFFWriteDirectoryTagSlong8() argument
1510 if (dir==NULL) in TIFFWriteDirectoryTagSlong8()
1515 return(TIFFWriteDirectoryTagCheckedSlong8(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSlong8()
1520 TIFFWriteDirectoryTagSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 cou… in TIFFWriteDirectoryTagSlong8Array() argument
1522 if (dir==NULL) in TIFFWriteDirectoryTagSlong8Array()
1527 return(TIFFWriteDirectoryTagCheckedSlong8Array(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSlong8Array()
1531 TIFFWriteDirectoryTagRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double value) in TIFFWriteDirectoryTagRational() argument
1533 if (dir==NULL) in TIFFWriteDirectoryTagRational()
1538 return(TIFFWriteDirectoryTagCheckedRational(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagRational()
1542 TIFFWriteDirectoryTagRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 c… in TIFFWriteDirectoryTagRationalArray() argument
1544 if (dir==NULL) in TIFFWriteDirectoryTagRationalArray()
1549 return(TIFFWriteDirectoryTagCheckedRationalArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagRationalArray()
1553 TIFFWriteDirectoryTagSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 … in TIFFWriteDirectoryTagSrationalArray() argument
1555 if (dir==NULL) in TIFFWriteDirectoryTagSrationalArray()
1560 return(TIFFWriteDirectoryTagCheckedSrationalArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSrationalArray()
1564 static int TIFFWriteDirectoryTagFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, float… in TIFFWriteDirectoryTagFloat() argument
1566 if (dir==NULL) in TIFFWriteDirectoryTagFloat()
1571 return(TIFFWriteDirectoryTagCheckedFloat(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagFloat()
1575 static int TIFFWriteDirectoryTagFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, … in TIFFWriteDirectoryTagFloatArray() argument
1577 if (dir==NULL) in TIFFWriteDirectoryTagFloatArray()
1582 return(TIFFWriteDirectoryTagCheckedFloatArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagFloatArray()
1586 static int TIFFWriteDirectoryTagFloatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
1593 if (dir==NULL)
1606 o=TIFFWriteDirectoryTagCheckedFloatArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1613 static int TIFFWriteDirectoryTagDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, doub… in TIFFWriteDirectoryTagDouble() argument
1615 if (dir==NULL) in TIFFWriteDirectoryTagDouble()
1620 return(TIFFWriteDirectoryTagCheckedDouble(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagDouble()
1624 static int TIFFWriteDirectoryTagDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,… in TIFFWriteDirectoryTagDoubleArray() argument
1626 if (dir==NULL) in TIFFWriteDirectoryTagDoubleArray()
1631 return(TIFFWriteDirectoryTagCheckedDoubleArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagDoubleArray()
1635 static int TIFFWriteDirectoryTagDoublePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
1642 if (dir==NULL)
1655 o=TIFFWriteDirectoryTagCheckedDoubleArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1662 TIFFWriteDirectoryTagIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count,… in TIFFWriteDirectoryTagIfdArray() argument
1664 if (dir==NULL) in TIFFWriteDirectoryTagIfdArray()
1669 return(TIFFWriteDirectoryTagCheckedIfdArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagIfdArray()
1674 TIFFWriteDirectoryTagIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count… in TIFFWriteDirectoryTagIfd8Array() argument
1676 if (dir==NULL) in TIFFWriteDirectoryTagIfd8Array()
1681 return(TIFFWriteDirectoryTagCheckedIfd8Array(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagIfd8Array()
1686 TIFFWriteDirectoryTagShortLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 value) in TIFFWriteDirectoryTagShortLong() argument
1688 if (dir==NULL) in TIFFWriteDirectoryTagShortLong()
1694 return(TIFFWriteDirectoryTagCheckedShort(tif,ndir,dir,tag,(uint16)value)); in TIFFWriteDirectoryTagShortLong()
1696 return(TIFFWriteDirectoryTagCheckedLong(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagShortLong()
1740 TIFFWriteDirectoryTagLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 … in TIFFWriteDirectoryTagLongLong8Array() argument
1747 if (dir==NULL) in TIFFWriteDirectoryTagLongLong8Array()
1755 return TIFFWriteDirectoryTagData(tif, ndir, dir, tag, TIFF_NOTYPE, 0, 0, NULL); in TIFFWriteDirectoryTagLongLong8Array()
1776 return TIFFWriteDirectoryTagCheckedLong8Array(tif,ndir,dir, in TIFFWriteDirectoryTagLongLong8Array()
1820 o=TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagLongLong8Array()
1849 o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagLongLong8Array()
1863 TIFFWriteDirectoryTagIfdIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 co… in TIFFWriteDirectoryTagIfdIfd8Array() argument
1873 if (dir==NULL) in TIFFWriteDirectoryTagIfdIfd8Array()
1881 return TIFFWriteDirectoryTagCheckedIfd8Array(tif,ndir,dir, in TIFFWriteDirectoryTagIfdIfd8Array()
1908 o=TIFFWriteDirectoryTagCheckedIfdArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagIfdIfd8Array()
1916 TIFFWriteDirectoryTagShortLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, ui… in TIFFWriteDirectoryTagShortLongLong8Array() argument
1923 if (dir==NULL) in TIFFWriteDirectoryTagShortLongLong8Array()
1951 o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagShortLongLong8Array()
1966 o=TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagShortLongLong8Array()
1972 o=TIFFWriteDirectoryTagCheckedLong8Array(tif,ndir,dir,tag,count,value); in TIFFWriteDirectoryTagShortLongLong8Array()
1978 TIFFWriteDirectoryTagColormap(TIFF* tif, uint32* ndir, TIFFDirEntry* dir) in TIFFWriteDirectoryTagColormap() argument
1984 if (dir==NULL) in TIFFWriteDirectoryTagColormap()
1999 o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,TIFFTAG_COLORMAP,3*m,n); in TIFFWriteDirectoryTagColormap()
2005 TIFFWriteDirectoryTagTransferfunction(TIFF* tif, uint32* ndir, TIFFDirEntry* dir) in TIFFWriteDirectoryTagTransferfunction() argument
2012 if (dir==NULL) in TIFFWriteDirectoryTagTransferfunction()
2052 p=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,TIFFTAG_TRANSFERFUNCTION,n*m,o); in TIFFWriteDirectoryTagTransferfunction()
2058 TIFFWriteDirectoryTagSubifd(TIFF* tif, uint32* ndir, TIFFDirEntry* dir) in TIFFWriteDirectoryTagSubifd() argument
2065 if (dir==NULL) in TIFFWriteDirectoryTagSubifd()
2098 n=TIFFWriteDirectoryTagCheckedIfdArray(tif,ndir,dir,TIFFTAG_SUBIFD,tif->tif_dir.td_nsubifd,o); in TIFFWriteDirectoryTagSubifd()
2102 …n=TIFFWriteDirectoryTagCheckedIfd8Array(tif,ndir,dir,TIFFTAG_SUBIFD,tif->tif_dir.td_nsubifd,tif->t… in TIFFWriteDirectoryTagSubifd()
2123 TIFFWriteDirectoryTagCheckedAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 co… in TIFFWriteDirectoryTagCheckedAscii() argument
2126 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_ASCII,count,count,value)); in TIFFWriteDirectoryTagCheckedAscii()
2130 TIFFWriteDirectoryTagCheckedUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, … in TIFFWriteDirectoryTagCheckedUndefinedArray() argument
2133 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_UNDEFINED,count,count,value)); in TIFFWriteDirectoryTagCheckedUndefinedArray()
2138 TIFFWriteDirectoryTagCheckedByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 valu… in TIFFWriteDirectoryTagCheckedByte() argument
2141 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_BYTE,1,1,&value)); in TIFFWriteDirectoryTagCheckedByte()
2146 TIFFWriteDirectoryTagCheckedByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3… in TIFFWriteDirectoryTagCheckedByteArray() argument
2149 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_BYTE,count,count,value)); in TIFFWriteDirectoryTagCheckedByteArray()
2154 TIFFWriteDirectoryTagCheckedSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 valu… in TIFFWriteDirectoryTagCheckedSbyte() argument
2157 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SBYTE,1,1,&value)); in TIFFWriteDirectoryTagCheckedSbyte()
2162 TIFFWriteDirectoryTagCheckedSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedSbyteArray() argument
2165 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SBYTE,count,count,value)); in TIFFWriteDirectoryTagCheckedSbyteArray()
2169 TIFFWriteDirectoryTagCheckedShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 va… in TIFFWriteDirectoryTagCheckedShort() argument
2176 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SHORT,1,2,&m)); in TIFFWriteDirectoryTagCheckedShort()
2180 TIFFWriteDirectoryTagCheckedShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedShortArray() argument
2186 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SHORT,count,count*2,value)); in TIFFWriteDirectoryTagCheckedShortArray()
2191 TIFFWriteDirectoryTagCheckedSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int16 va… in TIFFWriteDirectoryTagCheckedSshort() argument
2198 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SSHORT,1,2,&m)); in TIFFWriteDirectoryTagCheckedSshort()
2203 TIFFWriteDirectoryTagCheckedSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uin… in TIFFWriteDirectoryTagCheckedSshortArray() argument
2209 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SSHORT,count,count*2,value)); in TIFFWriteDirectoryTagCheckedSshortArray()
2213 TIFFWriteDirectoryTagCheckedLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 val… in TIFFWriteDirectoryTagCheckedLong() argument
2220 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG,1,4,&m)); in TIFFWriteDirectoryTagCheckedLong()
2224 TIFFWriteDirectoryTagCheckedLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3… in TIFFWriteDirectoryTagCheckedLongArray() argument
2230 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG,count,count*4,value)); in TIFFWriteDirectoryTagCheckedLongArray()
2235 TIFFWriteDirectoryTagCheckedSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32 val… in TIFFWriteDirectoryTagCheckedSlong() argument
2242 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG,1,4,&m)); in TIFFWriteDirectoryTagCheckedSlong()
2247 TIFFWriteDirectoryTagCheckedSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedSlongArray() argument
2253 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG,count,count*4,value)); in TIFFWriteDirectoryTagCheckedSlongArray()
2258 TIFFWriteDirectoryTagCheckedLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint64 va… in TIFFWriteDirectoryTagCheckedLong8() argument
2269 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG8,1,8,&m)); in TIFFWriteDirectoryTagCheckedLong8()
2274 TIFFWriteDirectoryTagCheckedLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedLong8Array() argument
2284 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG8,count,count*8,value)); in TIFFWriteDirectoryTagCheckedLong8Array()
2289 TIFFWriteDirectoryTagCheckedSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int64 va… in TIFFWriteDirectoryTagCheckedSlong8() argument
2300 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG8,1,8,&m)); in TIFFWriteDirectoryTagCheckedSlong8()
2305 TIFFWriteDirectoryTagCheckedSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uin… in TIFFWriteDirectoryTagCheckedSlong8Array() argument
2315 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG8,count,count*8,value)); in TIFFWriteDirectoryTagCheckedSlong8Array()
2319 TIFFWriteDirectoryTagCheckedRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double… in TIFFWriteDirectoryTagCheckedRational() argument
2359 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_RATIONAL,1,8,&m[0])); in TIFFWriteDirectoryTagCheckedRational()
2363 TIFFWriteDirectoryTagCheckedRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u… in TIFFWriteDirectoryTagCheckedRationalArray() argument
2404 o=TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_RATIONAL,count,count*8,&m[0]); in TIFFWriteDirectoryTagCheckedRationalArray()
2410 TIFFWriteDirectoryTagCheckedSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, … in TIFFWriteDirectoryTagCheckedSrationalArray() argument
2466 o=TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SRATIONAL,count,count*8,&m[0]); in TIFFWriteDirectoryTagCheckedSrationalArray()
2473 TIFFWriteDirectoryTagCheckedFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, float val… in TIFFWriteDirectoryTagCheckedFloat() argument
2481 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_FLOAT,1,4,&m)); in TIFFWriteDirectoryTagCheckedFloat()
2486 TIFFWriteDirectoryTagCheckedFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedFloatArray() argument
2493 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_FLOAT,count,count*4,value)); in TIFFWriteDirectoryTagCheckedFloatArray()
2498 TIFFWriteDirectoryTagCheckedDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double v… in TIFFWriteDirectoryTagCheckedDouble() argument
2506 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_DOUBLE,1,8,&m)); in TIFFWriteDirectoryTagCheckedDouble()
2511 TIFFWriteDirectoryTagCheckedDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uin… in TIFFWriteDirectoryTagCheckedDoubleArray() argument
2518 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_DOUBLE,count,count*8,value)); in TIFFWriteDirectoryTagCheckedDoubleArray()
2522 TIFFWriteDirectoryTagCheckedIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32… in TIFFWriteDirectoryTagCheckedIfdArray() argument
2528 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_IFD,count,count*4,value)); in TIFFWriteDirectoryTagCheckedIfdArray()
2532 TIFFWriteDirectoryTagCheckedIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3… in TIFFWriteDirectoryTagCheckedIfd8Array() argument
2539 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_IFD8,count,count*8,value)); in TIFFWriteDirectoryTagCheckedIfd8Array()
2543 TIFFWriteDirectoryTagData(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 datatype, … in TIFFWriteDirectoryTagData() argument
2550 assert(dir[m].tdir_tag!=tag); in TIFFWriteDirectoryTagData()
2551 if (dir[m].tdir_tag>tag) in TIFFWriteDirectoryTagData()
2559 dir[n]=dir[n-1]; in TIFFWriteDirectoryTagData()
2561 dir[m].tdir_tag=tag; in TIFFWriteDirectoryTagData()
2562 dir[m].tdir_type=datatype; in TIFFWriteDirectoryTagData()
2563 dir[m].tdir_count=count; in TIFFWriteDirectoryTagData()
2564 dir[m].tdir_offset.toff_long8 = 0; in TIFFWriteDirectoryTagData()
2569 _TIFFmemcpy(&dir[m].tdir_offset,data,datalength); in TIFFWriteDirectoryTagData()
2604 _TIFFmemcpy(&dir[m].tdir_offset,&o,4); in TIFFWriteDirectoryTagData()
2608 dir[m].tdir_offset.toff_long8 = na; in TIFFWriteDirectoryTagData()
2610 TIFFSwabLong8(&dir[m].tdir_offset.toff_long8); in TIFFWriteDirectoryTagData()