Lines Matching refs:dir

45 static int TIFFWriteDirectoryTagSampleformatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
47 static int TIFFWriteDirectoryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, u…
50 static int TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3…
51 static int TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
53 static int TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 …
55 static int TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
57 static int TIFFWriteDirectoryTagBytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
60 static int TIFFWriteDirectoryTagSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 …
62 static int TIFFWriteDirectoryTagSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
64 static int TIFFWriteDirectoryTagSbytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
66 static int TIFFWriteDirectoryTagShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint1…
67 static int TIFFWriteDirectoryTagShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
68 static int TIFFWriteDirectoryTagShortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
70 static int TIFFWriteDirectoryTagSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int1…
72 static int TIFFWriteDirectoryTagSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
74 static int TIFFWriteDirectoryTagSshortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
76 static int TIFFWriteDirectoryTagLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32…
77 static int TIFFWriteDirectoryTagLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
79 static int TIFFWriteDirectoryTagLongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
82 static int TIFFWriteDirectoryTagSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32…
84 static int TIFFWriteDirectoryTagSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
86 static int TIFFWriteDirectoryTagSlongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
89 static int TIFFWriteDirectoryTagLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint6…
91 static int TIFFWriteDirectoryTagLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
93 static int TIFFWriteDirectoryTagSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int6…
95 static int TIFFWriteDirectoryTagSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
96 static int TIFFWriteDirectoryTagRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, do…
97 static int TIFFWriteDirectoryTagRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
98 static int TIFFWriteDirectoryTagSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
100 static int TIFFWriteDirectoryTagFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, float…
102 static int TIFFWriteDirectoryTagFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
104 static int TIFFWriteDirectoryTagFloatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
107 static int TIFFWriteDirectoryTagDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, doub…
109 static int TIFFWriteDirectoryTagDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
111 static int TIFFWriteDirectoryTagDoublePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
113 static int TIFFWriteDirectoryTagIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, ui…
115 static int TIFFWriteDirectoryTagIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
117 static int TIFFWriteDirectoryTagShortLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
118 static int TIFFWriteDirectoryTagLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
119 static int TIFFWriteDirectoryTagIfdIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
121 static int TIFFWriteDirectoryTagShortLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uin…
123 static int TIFFWriteDirectoryTagColormap(TIFF* tif, uint32* ndir, TIFFDirEntry* dir);
124 static int TIFFWriteDirectoryTagTransferfunction(TIFF* tif, uint32* ndir, TIFFDirEntry* dir);
125 static int TIFFWriteDirectoryTagSubifd(TIFF* tif, uint32* ndir, TIFFDirEntry* dir);
127 static int TIFFWriteDirectoryTagCheckedAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
128 static int TIFFWriteDirectoryTagCheckedUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, u…
130 static int TIFFWriteDirectoryTagCheckedByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
132 static int TIFFWriteDirectoryTagCheckedByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16…
134 static int TIFFWriteDirectoryTagCheckedSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
136 static int TIFFWriteDirectoryTagCheckedSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
137 static int TIFFWriteDirectoryTagCheckedShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
138 static int TIFFWriteDirectoryTagCheckedShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
140 static int TIFFWriteDirectoryTagCheckedSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
142 static int TIFFWriteDirectoryTagCheckedSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint…
143 static int TIFFWriteDirectoryTagCheckedLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
144 static int TIFFWriteDirectoryTagCheckedLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16…
146 static int TIFFWriteDirectoryTagCheckedSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
148 static int TIFFWriteDirectoryTagCheckedSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
150 static int TIFFWriteDirectoryTagCheckedLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
152 static int TIFFWriteDirectoryTagCheckedLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
154 static int TIFFWriteDirectoryTagCheckedSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
156 static int TIFFWriteDirectoryTagCheckedSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint…
157 static int TIFFWriteDirectoryTagCheckedRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
158 static int TIFFWriteDirectoryTagCheckedRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, ui…
159 static int TIFFWriteDirectoryTagCheckedSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, u…
161 static int TIFFWriteDirectoryTagCheckedFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
163 static int TIFFWriteDirectoryTagCheckedFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
165 static int TIFFWriteDirectoryTagCheckedDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
167 static int TIFFWriteDirectoryTagCheckedDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint…
168 static int TIFFWriteDirectoryTagCheckedIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
169 static int TIFFWriteDirectoryTagCheckedIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16…
171 static int TIFFWriteDirectoryTagData(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16…
368 TIFFDirEntry* dir; in TIFFWriteDirectorySec() local
423 dir=NULL; in TIFFWriteDirectorySec()
433 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGEWIDTH,tif->tif_dir.td_imagewidth)) in TIFFWriteDirectorySec()
435 …if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGELENGTH,tif->tif_dir.td_imagelength)) in TIFFWriteDirectorySec()
440 if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILEWIDTH,tif->tif_dir.td_tilewidth)) in TIFFWriteDirectorySec()
442 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILELENGTH,tif->tif_dir.td_tilelength)) in TIFFWriteDirectorySec()
447 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XRESOLUTION,tif->tif_dir.td_xresolution)) in TIFFWriteDirectorySec()
449 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YRESOLUTION,tif->tif_dir.td_yresolution)) in TIFFWriteDirectorySec()
454 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XPOSITION,tif->tif_dir.td_xposition)) in TIFFWriteDirectorySec()
456 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YPOSITION,tif->tif_dir.td_yposition)) in TIFFWriteDirectorySec()
461 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,TIFFTAG_SUBFILETYPE,tif->tif_dir.td_subfiletype)) in TIFFWriteDirectorySec()
466 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_BITSPERSAMPLE,tif->tif_dir.td_bitsp… in TIFFWriteDirectorySec()
471 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_COMPRESSION,tif->tif_dir.td_compression)) in TIFFWriteDirectorySec()
476 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_PHOTOMETRIC,tif->tif_dir.td_photometric)) in TIFFWriteDirectorySec()
481 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_THRESHHOLDING,tif->tif_dir.td_threshholding)) in TIFFWriteDirectorySec()
486 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_FILLORDER,tif->tif_dir.td_fillorder)) in TIFFWriteDirectorySec()
491 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_ORIENTATION,tif->tif_dir.td_orientation)) in TIFFWriteDirectorySec()
496 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_SAMPLESPERPIXEL,tif->tif_dir.td_samplesperpi… in TIFFWriteDirectorySec()
501 …if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_ROWSPERSTRIP,tif->tif_dir.td_rowsperstri… in TIFFWriteDirectorySec()
506 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_MINSAMPLEVALUE,tif->tif_dir.td_mins… in TIFFWriteDirectorySec()
511 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_MAXSAMPLEVALUE,tif->tif_dir.td_maxs… in TIFFWriteDirectorySec()
516 … if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_PLANARCONFIG,tif->tif_dir.td_planarconfig)) in TIFFWriteDirectorySec()
521 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_RESOLUTIONUNIT,tif->tif_dir.td_resolutionuni… in TIFFWriteDirectorySec()
526 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_PAGENUMBER,2,&tif->tif_dir.td_pagenumbe… in TIFFWriteDirectorySec()
533 …if (!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_STRIPBYTECOUNTS,tif->tif_dir.td_nst… in TIFFWriteDirectorySec()
538 …if (!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_TILEBYTECOUNTS,tif->tif_dir.td_nstr… in TIFFWriteDirectorySec()
558 …!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_STRIPOFFSETS,tif->tif_dir.td_nstrips,ti… in TIFFWriteDirectorySec()
563 …if (!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_TILEOFFSETS,tif->tif_dir.td_nstrips… in TIFFWriteDirectorySec()
569 if (!TIFFWriteDirectoryTagColormap(tif,&ndir,dir)) in TIFFWriteDirectorySec()
579 if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_EXTRASAMPLES,na,nb)) in TIFFWriteDirectorySec()
585 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_SAMPLEFORMAT,tif->tif_dir.td_sample… in TIFFWriteDirectorySec()
590 …if (!TIFFWriteDirectoryTagSampleformatArray(tif,&ndir,dir,TIFFTAG_SMINSAMPLEVALUE,tif->tif_dir.td_… in TIFFWriteDirectorySec()
595 …if (!TIFFWriteDirectoryTagSampleformatArray(tif,&ndir,dir,TIFFTAG_SMAXSAMPLEVALUE,tif->tif_dir.td_… in TIFFWriteDirectorySec()
600 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,TIFFTAG_IMAGEDEPTH,tif->tif_dir.td_imagedepth)) in TIFFWriteDirectorySec()
605 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,TIFFTAG_TILEDEPTH,tif->tif_dir.td_tiledepth)) in TIFFWriteDirectorySec()
610 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_HALFTONEHINTS,2,&tif->tif_dir.td_halfto… in TIFFWriteDirectorySec()
615 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_YCBCRSUBSAMPLING,2,&tif->tif_dir.td_ycb… in TIFFWriteDirectorySec()
620 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_YCBCRPOSITIONING,tif->tif_dir.td_ycbcrpositi… in TIFFWriteDirectorySec()
625 …if (!TIFFWriteDirectoryTagRationalArray(tif,&ndir,dir,TIFFTAG_REFERENCEBLACKWHITE,6,tif->tif_dir.t… in TIFFWriteDirectorySec()
630 if (!TIFFWriteDirectoryTagTransferfunction(tif,&ndir,dir)) in TIFFWriteDirectorySec()
635 …if (!TIFFWriteDirectoryTagAscii(tif,&ndir,dir,TIFFTAG_INKNAMES,tif->tif_dir.td_inknameslen,tif->ti… in TIFFWriteDirectorySec()
640 if (!TIFFWriteDirectoryTagSubifd(tif,&ndir,dir)) in TIFFWriteDirectorySec()
661 if (!TIFFWriteDirectoryTagAscii(tif,&ndir,dir,(uint16)o->field_tag,pa,pb)) in TIFFWriteDirectorySec()
672 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,(uint16)o->field_tag,p)) in TIFFWriteDirectorySec()
683 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,(uint16)o->field_tag,p)) in TIFFWriteDirectorySec()
695 if (!TIFFWriteDirectoryTagUndefinedArray(tif,&ndir,dir,(uint16)o->field_tag,pa,pb)) in TIFFWriteDirectorySec()
714 if (!TIFFWriteDirectoryTagAscii(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value)) in TIFFWriteDirectorySec()
718 …if (!TIFFWriteDirectoryTagUndefinedArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].v… in TIFFWriteDirectorySec()
722 …if (!TIFFWriteDirectoryTagByteArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value)) in TIFFWriteDirectorySec()
726 …if (!TIFFWriteDirectoryTagSbyteArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value… in TIFFWriteDirectorySec()
730 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value… in TIFFWriteDirectorySec()
734 …if (!TIFFWriteDirectoryTagSshortArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].valu… in TIFFWriteDirectorySec()
738 …if (!TIFFWriteDirectoryTagLongArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value)) in TIFFWriteDirectorySec()
742 …if (!TIFFWriteDirectoryTagSlongArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value… in TIFFWriteDirectorySec()
746 …if (!TIFFWriteDirectoryTagLong8Array(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value… in TIFFWriteDirectorySec()
750 …if (!TIFFWriteDirectoryTagSlong8Array(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].valu… in TIFFWriteDirectorySec()
754 …if (!TIFFWriteDirectoryTagRationalArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].va… in TIFFWriteDirectorySec()
758 …if (!TIFFWriteDirectoryTagSrationalArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].v… in TIFFWriteDirectorySec()
762 …if (!TIFFWriteDirectoryTagFloatArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value… in TIFFWriteDirectorySec()
766 …if (!TIFFWriteDirectoryTagDoubleArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].valu… in TIFFWriteDirectorySec()
770 … if (!TIFFWriteDirectoryTagIfdArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value)) in TIFFWriteDirectorySec()
774 …if (!TIFFWriteDirectoryTagIfdIfd8Array(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].val… in TIFFWriteDirectorySec()
782 if (dir!=NULL) in TIFFWriteDirectorySec()
784 dir=_TIFFmalloc(ndir*sizeof(TIFFDirEntry)); in TIFFWriteDirectorySec()
785 if (dir==NULL) in TIFFWriteDirectorySec()
822 for (na=0, nb=dir; ; na++, nb++) in TIFFWriteDirectorySec()
850 o=dir; in TIFFWriteDirectorySec()
886 o=dir; in TIFFWriteDirectorySec()
909 _TIFFfree(dir); in TIFFWriteDirectorySec()
910 dir=NULL; in TIFFWriteDirectorySec()
936 if (dir!=NULL) in TIFFWriteDirectorySec()
937 _TIFFfree(dir); in TIFFWriteDirectorySec()
1007 TIFFWriteDirectoryTagSampleformatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagSampleformatArray() argument
1027 ok = TIFFWriteDirectoryTagFloatArray(tif,ndir,dir,tag,count,(float*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1031 ok = TIFFWriteDirectoryTagDoubleArray(tif,ndir,dir,tag,count,value); in TIFFWriteDirectoryTagSampleformatArray()
1039 ok = TIFFWriteDirectoryTagSbyteArray(tif,ndir,dir,tag,count,(int8*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1045 ok = TIFFWriteDirectoryTagSshortArray(tif,ndir,dir,tag,count,(int16*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1051 ok = TIFFWriteDirectoryTagSlongArray(tif,ndir,dir,tag,count,(int32*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1059 ok = TIFFWriteDirectoryTagByteArray(tif,ndir,dir,tag,count,(uint8*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1065 ok = TIFFWriteDirectoryTagShortArray(tif,ndir,dir,tag,count,(uint16*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1071 ok = TIFFWriteDirectoryTagLongArray(tif,ndir,dir,tag,count,(uint32*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1084 TIFFWriteDirectoryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
1090 return(TIFFWriteDirectoryTagFloatPerSample(tif,ndir,dir,tag,(float)value));
1092 return(TIFFWriteDirectoryTagDoublePerSample(tif,ndir,dir,tag,value));
1095 return(TIFFWriteDirectoryTagSbytePerSample(tif,ndir,dir,tag,(int8)value));
1097 return(TIFFWriteDirectoryTagSshortPerSample(tif,ndir,dir,tag,(int16)value));
1099 return(TIFFWriteDirectoryTagSlongPerSample(tif,ndir,dir,tag,(int32)value));
1102 return(TIFFWriteDirectoryTagBytePerSample(tif,ndir,dir,tag,(uint8)value));
1104 return(TIFFWriteDirectoryTagShortPerSample(tif,ndir,dir,tag,(uint16)value));
1106 return(TIFFWriteDirectoryTagLongPerSample(tif,ndir,dir,tag,(uint32)value));
1114 TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count, ch… in TIFFWriteDirectoryTagAscii() argument
1116 if (dir==NULL) in TIFFWriteDirectoryTagAscii()
1121 return(TIFFWriteDirectoryTagCheckedAscii(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagAscii()
1125 TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 … in TIFFWriteDirectoryTagUndefinedArray() argument
1127 if (dir==NULL) in TIFFWriteDirectoryTagUndefinedArray()
1132 return(TIFFWriteDirectoryTagCheckedUndefinedArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagUndefinedArray()
1137 TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 value) in TIFFWriteDirectoryTagByte() argument
1139 if (dir==NULL) in TIFFWriteDirectoryTagByte()
1144 return(TIFFWriteDirectoryTagCheckedByte(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagByte()
1149 TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count… in TIFFWriteDirectoryTagByteArray() argument
1151 if (dir==NULL) in TIFFWriteDirectoryTagByteArray()
1156 return(TIFFWriteDirectoryTagCheckedByteArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagByteArray()
1161 TIFFWriteDirectoryTagBytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 va…
1168 if (dir==NULL)
1181 o=TIFFWriteDirectoryTagCheckedByteArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1189 TIFFWriteDirectoryTagSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 value) in TIFFWriteDirectoryTagSbyte() argument
1191 if (dir==NULL) in TIFFWriteDirectoryTagSbyte()
1196 return(TIFFWriteDirectoryTagCheckedSbyte(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSbyte()
1201 TIFFWriteDirectoryTagSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagSbyteArray() argument
1203 if (dir==NULL) in TIFFWriteDirectoryTagSbyteArray()
1208 return(TIFFWriteDirectoryTagCheckedSbyteArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSbyteArray()
1213 TIFFWriteDirectoryTagSbytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 va…
1220 if (dir==NULL)
1233 o=TIFFWriteDirectoryTagCheckedSbyteArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1240 TIFFWriteDirectoryTagShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 value) in TIFFWriteDirectoryTagShort() argument
1242 if (dir==NULL) in TIFFWriteDirectoryTagShort()
1247 return(TIFFWriteDirectoryTagCheckedShort(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagShort()
1251 TIFFWriteDirectoryTagShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagShortArray() argument
1253 if (dir==NULL) in TIFFWriteDirectoryTagShortArray()
1258 return(TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagShortArray()
1262 TIFFWriteDirectoryTagShortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 … in TIFFWriteDirectoryTagShortPerSample() argument
1269 if (dir==NULL) in TIFFWriteDirectoryTagShortPerSample()
1282 o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); in TIFFWriteDirectoryTagShortPerSample()
1289 TIFFWriteDirectoryTagSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int16 value) in TIFFWriteDirectoryTagSshort() argument
1291 if (dir==NULL) in TIFFWriteDirectoryTagSshort()
1296 return(TIFFWriteDirectoryTagCheckedSshort(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSshort()
1301 TIFFWriteDirectoryTagSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 cou… in TIFFWriteDirectoryTagSshortArray() argument
1303 if (dir==NULL) in TIFFWriteDirectoryTagSshortArray()
1308 return(TIFFWriteDirectoryTagCheckedSshortArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSshortArray()
1313 TIFFWriteDirectoryTagSshortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int16 …
1320 if (dir==NULL)
1333 o=TIFFWriteDirectoryTagCheckedSshortArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1340 TIFFWriteDirectoryTagLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 value) in TIFFWriteDirectoryTagLong() argument
1342 if (dir==NULL) in TIFFWriteDirectoryTagLong()
1347 return(TIFFWriteDirectoryTagCheckedLong(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagLong()
1351 TIFFWriteDirectoryTagLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count… in TIFFWriteDirectoryTagLongArray() argument
1353 if (dir==NULL) in TIFFWriteDirectoryTagLongArray()
1358 return(TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagLongArray()
1363 TIFFWriteDirectoryTagLongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 v…
1370 if (dir==NULL)
1383 o=TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1391 TIFFWriteDirectoryTagSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32 value) in TIFFWriteDirectoryTagSlong() argument
1393 if (dir==NULL) in TIFFWriteDirectoryTagSlong()
1398 return(TIFFWriteDirectoryTagCheckedSlong(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSlong()
1403 TIFFWriteDirectoryTagSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagSlongArray() argument
1405 if (dir==NULL) in TIFFWriteDirectoryTagSlongArray()
1410 return(TIFFWriteDirectoryTagCheckedSlongArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSlongArray()
1415 TIFFWriteDirectoryTagSlongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32 v…
1422 if (dir==NULL)
1435 o=TIFFWriteDirectoryTagCheckedSlongArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1443 TIFFWriteDirectoryTagLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint64 value) in TIFFWriteDirectoryTagLong8() argument
1445 if (dir==NULL) in TIFFWriteDirectoryTagLong8()
1450 return(TIFFWriteDirectoryTagCheckedLong8(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagLong8()
1455 TIFFWriteDirectoryTagLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagLong8Array() argument
1457 if (dir==NULL) in TIFFWriteDirectoryTagLong8Array()
1462 return(TIFFWriteDirectoryTagCheckedLong8Array(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagLong8Array()
1467 TIFFWriteDirectoryTagSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int64 value) in TIFFWriteDirectoryTagSlong8() argument
1469 if (dir==NULL) in TIFFWriteDirectoryTagSlong8()
1474 return(TIFFWriteDirectoryTagCheckedSlong8(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSlong8()
1479 TIFFWriteDirectoryTagSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 cou… in TIFFWriteDirectoryTagSlong8Array() argument
1481 if (dir==NULL) in TIFFWriteDirectoryTagSlong8Array()
1486 return(TIFFWriteDirectoryTagCheckedSlong8Array(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSlong8Array()
1490 TIFFWriteDirectoryTagRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double value) in TIFFWriteDirectoryTagRational() argument
1492 if (dir==NULL) in TIFFWriteDirectoryTagRational()
1497 return(TIFFWriteDirectoryTagCheckedRational(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagRational()
1501 TIFFWriteDirectoryTagRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 c… in TIFFWriteDirectoryTagRationalArray() argument
1503 if (dir==NULL) in TIFFWriteDirectoryTagRationalArray()
1508 return(TIFFWriteDirectoryTagCheckedRationalArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagRationalArray()
1512 TIFFWriteDirectoryTagSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 … in TIFFWriteDirectoryTagSrationalArray() argument
1514 if (dir==NULL) in TIFFWriteDirectoryTagSrationalArray()
1519 return(TIFFWriteDirectoryTagCheckedSrationalArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSrationalArray()
1523 static int TIFFWriteDirectoryTagFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, float… in TIFFWriteDirectoryTagFloat() argument
1525 if (dir==NULL) in TIFFWriteDirectoryTagFloat()
1530 return(TIFFWriteDirectoryTagCheckedFloat(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagFloat()
1534 static int TIFFWriteDirectoryTagFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, … in TIFFWriteDirectoryTagFloatArray() argument
1536 if (dir==NULL) in TIFFWriteDirectoryTagFloatArray()
1541 return(TIFFWriteDirectoryTagCheckedFloatArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagFloatArray()
1545 static int TIFFWriteDirectoryTagFloatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
1552 if (dir==NULL)
1565 o=TIFFWriteDirectoryTagCheckedFloatArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1572 static int TIFFWriteDirectoryTagDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, doub… in TIFFWriteDirectoryTagDouble() argument
1574 if (dir==NULL) in TIFFWriteDirectoryTagDouble()
1579 return(TIFFWriteDirectoryTagCheckedDouble(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagDouble()
1583 static int TIFFWriteDirectoryTagDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,… in TIFFWriteDirectoryTagDoubleArray() argument
1585 if (dir==NULL) in TIFFWriteDirectoryTagDoubleArray()
1590 return(TIFFWriteDirectoryTagCheckedDoubleArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagDoubleArray()
1594 static int TIFFWriteDirectoryTagDoublePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
1601 if (dir==NULL)
1614 o=TIFFWriteDirectoryTagCheckedDoubleArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1621 TIFFWriteDirectoryTagIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count,… in TIFFWriteDirectoryTagIfdArray() argument
1623 if (dir==NULL) in TIFFWriteDirectoryTagIfdArray()
1628 return(TIFFWriteDirectoryTagCheckedIfdArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagIfdArray()
1633 TIFFWriteDirectoryTagIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count… in TIFFWriteDirectoryTagIfd8Array() argument
1635 if (dir==NULL) in TIFFWriteDirectoryTagIfd8Array()
1640 return(TIFFWriteDirectoryTagCheckedIfd8Array(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagIfd8Array()
1645 TIFFWriteDirectoryTagShortLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 value) in TIFFWriteDirectoryTagShortLong() argument
1647 if (dir==NULL) in TIFFWriteDirectoryTagShortLong()
1653 return(TIFFWriteDirectoryTagCheckedShort(tif,ndir,dir,tag,(uint16)value)); in TIFFWriteDirectoryTagShortLong()
1655 return(TIFFWriteDirectoryTagCheckedLong(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagShortLong()
1666 TIFFWriteDirectoryTagLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 … in TIFFWriteDirectoryTagLongLong8Array() argument
1676 if (dir==NULL) in TIFFWriteDirectoryTagLongLong8Array()
1684 return TIFFWriteDirectoryTagCheckedLong8Array(tif,ndir,dir, in TIFFWriteDirectoryTagLongLong8Array()
1711 o=TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagLongLong8Array()
1724 TIFFWriteDirectoryTagIfdIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 co… in TIFFWriteDirectoryTagIfdIfd8Array() argument
1734 if (dir==NULL) in TIFFWriteDirectoryTagIfdIfd8Array()
1742 return TIFFWriteDirectoryTagCheckedIfd8Array(tif,ndir,dir, in TIFFWriteDirectoryTagIfdIfd8Array()
1769 o=TIFFWriteDirectoryTagCheckedIfdArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagIfdIfd8Array()
1777 TIFFWriteDirectoryTagShortLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, ui… in TIFFWriteDirectoryTagShortLongLong8Array() argument
1784 if (dir==NULL) in TIFFWriteDirectoryTagShortLongLong8Array()
1812 o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagShortLongLong8Array()
1827 o=TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagShortLongLong8Array()
1833 o=TIFFWriteDirectoryTagCheckedLong8Array(tif,ndir,dir,tag,count,value); in TIFFWriteDirectoryTagShortLongLong8Array()
1839 TIFFWriteDirectoryTagColormap(TIFF* tif, uint32* ndir, TIFFDirEntry* dir) in TIFFWriteDirectoryTagColormap() argument
1845 if (dir==NULL) in TIFFWriteDirectoryTagColormap()
1860 o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,TIFFTAG_COLORMAP,3*m,n); in TIFFWriteDirectoryTagColormap()
1866 TIFFWriteDirectoryTagTransferfunction(TIFF* tif, uint32* ndir, TIFFDirEntry* dir) in TIFFWriteDirectoryTagTransferfunction() argument
1873 if (dir==NULL) in TIFFWriteDirectoryTagTransferfunction()
1911 p=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,TIFFTAG_TRANSFERFUNCTION,n*m,o); in TIFFWriteDirectoryTagTransferfunction()
1917 TIFFWriteDirectoryTagSubifd(TIFF* tif, uint32* ndir, TIFFDirEntry* dir) in TIFFWriteDirectoryTagSubifd() argument
1924 if (dir==NULL) in TIFFWriteDirectoryTagSubifd()
1950 n=TIFFWriteDirectoryTagCheckedIfdArray(tif,ndir,dir,TIFFTAG_SUBIFD,tif->tif_dir.td_nsubifd,o); in TIFFWriteDirectoryTagSubifd()
1954 …n=TIFFWriteDirectoryTagCheckedIfd8Array(tif,ndir,dir,TIFFTAG_SUBIFD,tif->tif_dir.td_nsubifd,tif->t… in TIFFWriteDirectoryTagSubifd()
1975 TIFFWriteDirectoryTagCheckedAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 co… in TIFFWriteDirectoryTagCheckedAscii() argument
1978 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_ASCII,count,count,value)); in TIFFWriteDirectoryTagCheckedAscii()
1982 TIFFWriteDirectoryTagCheckedUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, … in TIFFWriteDirectoryTagCheckedUndefinedArray() argument
1985 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_UNDEFINED,count,count,value)); in TIFFWriteDirectoryTagCheckedUndefinedArray()
1990 TIFFWriteDirectoryTagCheckedByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 valu… in TIFFWriteDirectoryTagCheckedByte() argument
1993 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_BYTE,1,1,&value)); in TIFFWriteDirectoryTagCheckedByte()
1998 TIFFWriteDirectoryTagCheckedByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3… in TIFFWriteDirectoryTagCheckedByteArray() argument
2001 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_BYTE,count,count,value)); in TIFFWriteDirectoryTagCheckedByteArray()
2006 TIFFWriteDirectoryTagCheckedSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 valu… in TIFFWriteDirectoryTagCheckedSbyte() argument
2009 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SBYTE,1,1,&value)); in TIFFWriteDirectoryTagCheckedSbyte()
2014 TIFFWriteDirectoryTagCheckedSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedSbyteArray() argument
2017 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SBYTE,count,count,value)); in TIFFWriteDirectoryTagCheckedSbyteArray()
2021 TIFFWriteDirectoryTagCheckedShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 va… in TIFFWriteDirectoryTagCheckedShort() argument
2028 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SHORT,1,2,&m)); in TIFFWriteDirectoryTagCheckedShort()
2032 TIFFWriteDirectoryTagCheckedShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedShortArray() argument
2038 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SHORT,count,count*2,value)); in TIFFWriteDirectoryTagCheckedShortArray()
2043 TIFFWriteDirectoryTagCheckedSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int16 va… in TIFFWriteDirectoryTagCheckedSshort() argument
2050 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SSHORT,1,2,&m)); in TIFFWriteDirectoryTagCheckedSshort()
2055 TIFFWriteDirectoryTagCheckedSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uin… in TIFFWriteDirectoryTagCheckedSshortArray() argument
2061 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SSHORT,count,count*2,value)); in TIFFWriteDirectoryTagCheckedSshortArray()
2065 TIFFWriteDirectoryTagCheckedLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 val… in TIFFWriteDirectoryTagCheckedLong() argument
2072 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG,1,4,&m)); in TIFFWriteDirectoryTagCheckedLong()
2076 TIFFWriteDirectoryTagCheckedLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3… in TIFFWriteDirectoryTagCheckedLongArray() argument
2082 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG,count,count*4,value)); in TIFFWriteDirectoryTagCheckedLongArray()
2087 TIFFWriteDirectoryTagCheckedSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32 val… in TIFFWriteDirectoryTagCheckedSlong() argument
2094 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG,1,4,&m)); in TIFFWriteDirectoryTagCheckedSlong()
2099 TIFFWriteDirectoryTagCheckedSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedSlongArray() argument
2105 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG,count,count*4,value)); in TIFFWriteDirectoryTagCheckedSlongArray()
2110 TIFFWriteDirectoryTagCheckedLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint64 va… in TIFFWriteDirectoryTagCheckedLong8() argument
2118 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG8,1,8,&m)); in TIFFWriteDirectoryTagCheckedLong8()
2123 TIFFWriteDirectoryTagCheckedLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedLong8Array() argument
2130 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG8,count,count*8,value)); in TIFFWriteDirectoryTagCheckedLong8Array()
2135 TIFFWriteDirectoryTagCheckedSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int64 va… in TIFFWriteDirectoryTagCheckedSlong8() argument
2143 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG8,1,8,&m)); in TIFFWriteDirectoryTagCheckedSlong8()
2148 TIFFWriteDirectoryTagCheckedSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uin… in TIFFWriteDirectoryTagCheckedSlong8Array() argument
2155 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG8,count,count*8,value)); in TIFFWriteDirectoryTagCheckedSlong8Array()
2159 TIFFWriteDirectoryTagCheckedRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double… in TIFFWriteDirectoryTagCheckedRational() argument
2199 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_RATIONAL,1,8,&m[0])); in TIFFWriteDirectoryTagCheckedRational()
2203 TIFFWriteDirectoryTagCheckedRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u… in TIFFWriteDirectoryTagCheckedRationalArray() argument
2244 o=TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_RATIONAL,count,count*8,&m[0]); in TIFFWriteDirectoryTagCheckedRationalArray()
2250 TIFFWriteDirectoryTagCheckedSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, … in TIFFWriteDirectoryTagCheckedSrationalArray() argument
2306 o=TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SRATIONAL,count,count*8,&m[0]); in TIFFWriteDirectoryTagCheckedSrationalArray()
2313 TIFFWriteDirectoryTagCheckedFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, float val… in TIFFWriteDirectoryTagCheckedFloat() argument
2321 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_FLOAT,1,4,&m)); in TIFFWriteDirectoryTagCheckedFloat()
2326 TIFFWriteDirectoryTagCheckedFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedFloatArray() argument
2333 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_FLOAT,count,count*4,value)); in TIFFWriteDirectoryTagCheckedFloatArray()
2338 TIFFWriteDirectoryTagCheckedDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double v… in TIFFWriteDirectoryTagCheckedDouble() argument
2346 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_DOUBLE,1,8,&m)); in TIFFWriteDirectoryTagCheckedDouble()
2351 TIFFWriteDirectoryTagCheckedDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uin… in TIFFWriteDirectoryTagCheckedDoubleArray() argument
2358 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_DOUBLE,count,count*8,value)); in TIFFWriteDirectoryTagCheckedDoubleArray()
2362 TIFFWriteDirectoryTagCheckedIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32… in TIFFWriteDirectoryTagCheckedIfdArray() argument
2368 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_IFD,count,count*4,value)); in TIFFWriteDirectoryTagCheckedIfdArray()
2372 TIFFWriteDirectoryTagCheckedIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3… in TIFFWriteDirectoryTagCheckedIfd8Array() argument
2379 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_IFD8,count,count*8,value)); in TIFFWriteDirectoryTagCheckedIfd8Array()
2383 TIFFWriteDirectoryTagData(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 datatype, … in TIFFWriteDirectoryTagData() argument
2390 assert(dir[m].tdir_tag!=tag); in TIFFWriteDirectoryTagData()
2391 if (dir[m].tdir_tag>tag) in TIFFWriteDirectoryTagData()
2399 dir[n]=dir[n-1]; in TIFFWriteDirectoryTagData()
2401 dir[m].tdir_tag=tag; in TIFFWriteDirectoryTagData()
2402 dir[m].tdir_type=datatype; in TIFFWriteDirectoryTagData()
2403 dir[m].tdir_count=count; in TIFFWriteDirectoryTagData()
2404 dir[m].tdir_offset.toff_long8 = 0; in TIFFWriteDirectoryTagData()
2406 _TIFFmemcpy(&dir[m].tdir_offset,data,datalength); in TIFFWriteDirectoryTagData()
2439 _TIFFmemcpy(&dir[m].tdir_offset,&o,4); in TIFFWriteDirectoryTagData()
2443 dir[m].tdir_offset.toff_long8 = na; in TIFFWriteDirectoryTagData()
2445 TIFFSwabLong8(&dir[m].tdir_offset.toff_long8); in TIFFWriteDirectoryTagData()