• Home
  • Raw
  • Download

Lines Matching refs:dir

44 static int TIFFWriteDirectoryTagSampleformatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
46 static int TIFFWriteDirectoryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, u…
49 static int TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3…
50 static int TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
52 static int TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 …
54 static int TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
56 static int TIFFWriteDirectoryTagBytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
59 static int TIFFWriteDirectoryTagSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 …
61 static int TIFFWriteDirectoryTagSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
63 static int TIFFWriteDirectoryTagSbytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
65 static int TIFFWriteDirectoryTagShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint1…
66 static int TIFFWriteDirectoryTagShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
67 static int TIFFWriteDirectoryTagShortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
69 static int TIFFWriteDirectoryTagSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int1…
71 static int TIFFWriteDirectoryTagSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
73 static int TIFFWriteDirectoryTagSshortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
75 static int TIFFWriteDirectoryTagLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32…
76 static int TIFFWriteDirectoryTagLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
78 static int TIFFWriteDirectoryTagLongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
81 static int TIFFWriteDirectoryTagSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32…
83 static int TIFFWriteDirectoryTagSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
85 static int TIFFWriteDirectoryTagSlongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
88 static int TIFFWriteDirectoryTagLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint6…
90 static int TIFFWriteDirectoryTagLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
92 static int TIFFWriteDirectoryTagSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int6…
94 static int TIFFWriteDirectoryTagSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
95 static int TIFFWriteDirectoryTagRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, do…
96 static int TIFFWriteDirectoryTagRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
97 static int TIFFWriteDirectoryTagSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
99 static int TIFFWriteDirectoryTagFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, float…
101 static int TIFFWriteDirectoryTagFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
103 static int TIFFWriteDirectoryTagFloatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
106 static int TIFFWriteDirectoryTagDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, doub…
108 static int TIFFWriteDirectoryTagDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
110 static int TIFFWriteDirectoryTagDoublePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
112 static int TIFFWriteDirectoryTagIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, ui…
114 static int TIFFWriteDirectoryTagIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
116 static int TIFFWriteDirectoryTagShortLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u…
117 static int TIFFWriteDirectoryTagLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
118 static int TIFFWriteDirectoryTagIfdIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
120 static int TIFFWriteDirectoryTagShortLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uin…
122 static int TIFFWriteDirectoryTagColormap(TIFF* tif, uint32* ndir, TIFFDirEntry* dir);
123 static int TIFFWriteDirectoryTagTransferfunction(TIFF* tif, uint32* ndir, TIFFDirEntry* dir);
124 static int TIFFWriteDirectoryTagSubifd(TIFF* tif, uint32* ndir, TIFFDirEntry* dir);
126 static int TIFFWriteDirectoryTagCheckedAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
127 static int TIFFWriteDirectoryTagCheckedUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, u…
129 static int TIFFWriteDirectoryTagCheckedByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
131 static int TIFFWriteDirectoryTagCheckedByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16…
133 static int TIFFWriteDirectoryTagCheckedSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
135 static int TIFFWriteDirectoryTagCheckedSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
136 static int TIFFWriteDirectoryTagCheckedShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
137 static int TIFFWriteDirectoryTagCheckedShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
139 static int TIFFWriteDirectoryTagCheckedSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
141 static int TIFFWriteDirectoryTagCheckedSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint…
142 static int TIFFWriteDirectoryTagCheckedLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,…
143 static int TIFFWriteDirectoryTagCheckedLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16…
145 static int TIFFWriteDirectoryTagCheckedSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
147 static int TIFFWriteDirectoryTagCheckedSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
149 static int TIFFWriteDirectoryTagCheckedLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
151 static int TIFFWriteDirectoryTagCheckedLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
153 static int TIFFWriteDirectoryTagCheckedSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
155 static int TIFFWriteDirectoryTagCheckedSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint…
156 static int TIFFWriteDirectoryTagCheckedRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
157 static int TIFFWriteDirectoryTagCheckedRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, ui…
158 static int TIFFWriteDirectoryTagCheckedSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, u…
160 static int TIFFWriteDirectoryTagCheckedFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag…
162 static int TIFFWriteDirectoryTagCheckedFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint1…
164 static int TIFFWriteDirectoryTagCheckedDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 ta…
166 static int TIFFWriteDirectoryTagCheckedDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint…
167 static int TIFFWriteDirectoryTagCheckedIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
168 static int TIFFWriteDirectoryTagCheckedIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16…
170 static int TIFFWriteDirectoryTagData(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16…
367 TIFFDirEntry* dir; in TIFFWriteDirectorySec() local
422 dir=NULL; in TIFFWriteDirectorySec()
432 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGEWIDTH,tif->tif_dir.td_imagewidth)) in TIFFWriteDirectorySec()
434 …if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGELENGTH,tif->tif_dir.td_imagelength)) in TIFFWriteDirectorySec()
439 if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILEWIDTH,tif->tif_dir.td_tilewidth)) in TIFFWriteDirectorySec()
441 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILELENGTH,tif->tif_dir.td_tilelength)) in TIFFWriteDirectorySec()
446 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XRESOLUTION,tif->tif_dir.td_xresolution)) in TIFFWriteDirectorySec()
448 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YRESOLUTION,tif->tif_dir.td_yresolution)) in TIFFWriteDirectorySec()
453 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XPOSITION,tif->tif_dir.td_xposition)) in TIFFWriteDirectorySec()
455 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YPOSITION,tif->tif_dir.td_yposition)) in TIFFWriteDirectorySec()
460 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,TIFFTAG_SUBFILETYPE,tif->tif_dir.td_subfiletype)) in TIFFWriteDirectorySec()
465 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_BITSPERSAMPLE,tif->tif_dir.td_bitsp… in TIFFWriteDirectorySec()
470 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_COMPRESSION,tif->tif_dir.td_compression)) in TIFFWriteDirectorySec()
475 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_PHOTOMETRIC,tif->tif_dir.td_photometric)) in TIFFWriteDirectorySec()
480 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_THRESHHOLDING,tif->tif_dir.td_threshholding)) in TIFFWriteDirectorySec()
485 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_FILLORDER,tif->tif_dir.td_fillorder)) in TIFFWriteDirectorySec()
490 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_ORIENTATION,tif->tif_dir.td_orientation)) in TIFFWriteDirectorySec()
495 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_SAMPLESPERPIXEL,tif->tif_dir.td_samplesperpi… in TIFFWriteDirectorySec()
500 …if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_ROWSPERSTRIP,tif->tif_dir.td_rowsperstri… in TIFFWriteDirectorySec()
505 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_MINSAMPLEVALUE,tif->tif_dir.td_mins… in TIFFWriteDirectorySec()
510 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_MAXSAMPLEVALUE,tif->tif_dir.td_maxs… in TIFFWriteDirectorySec()
515 … if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_PLANARCONFIG,tif->tif_dir.td_planarconfig)) in TIFFWriteDirectorySec()
520 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_RESOLUTIONUNIT,tif->tif_dir.td_resolutionuni… in TIFFWriteDirectorySec()
525 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_PAGENUMBER,2,&tif->tif_dir.td_pagenumbe… in TIFFWriteDirectorySec()
532 …if (!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_STRIPBYTECOUNTS,tif->tif_dir.td_nst… in TIFFWriteDirectorySec()
537 …if (!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_TILEBYTECOUNTS,tif->tif_dir.td_nstr… in TIFFWriteDirectorySec()
545 …if (!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_STRIPOFFSETS,tif->tif_dir.td_nstrip… in TIFFWriteDirectorySec()
550 …if (!TIFFWriteDirectoryTagLongLong8Array(tif,&ndir,dir,TIFFTAG_TILEOFFSETS,tif->tif_dir.td_nstrips… in TIFFWriteDirectorySec()
556 if (!TIFFWriteDirectoryTagColormap(tif,&ndir,dir)) in TIFFWriteDirectorySec()
566 if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_EXTRASAMPLES,na,nb)) in TIFFWriteDirectorySec()
572 …if (!TIFFWriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_SAMPLEFORMAT,tif->tif_dir.td_sample… in TIFFWriteDirectorySec()
577 …if (!TIFFWriteDirectoryTagSampleformatArray(tif,&ndir,dir,TIFFTAG_SMINSAMPLEVALUE,tif->tif_dir.td_… in TIFFWriteDirectorySec()
582 …if (!TIFFWriteDirectoryTagSampleformatArray(tif,&ndir,dir,TIFFTAG_SMAXSAMPLEVALUE,tif->tif_dir.td_… in TIFFWriteDirectorySec()
587 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,TIFFTAG_IMAGEDEPTH,tif->tif_dir.td_imagedepth)) in TIFFWriteDirectorySec()
592 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,TIFFTAG_TILEDEPTH,tif->tif_dir.td_tiledepth)) in TIFFWriteDirectorySec()
597 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_HALFTONEHINTS,2,&tif->tif_dir.td_halfto… in TIFFWriteDirectorySec()
602 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_YCBCRSUBSAMPLING,2,&tif->tif_dir.td_ycb… in TIFFWriteDirectorySec()
607 …if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_YCBCRPOSITIONING,tif->tif_dir.td_ycbcrpositi… in TIFFWriteDirectorySec()
612 …if (!TIFFWriteDirectoryTagRationalArray(tif,&ndir,dir,TIFFTAG_REFERENCEBLACKWHITE,6,tif->tif_dir.t… in TIFFWriteDirectorySec()
617 if (!TIFFWriteDirectoryTagTransferfunction(tif,&ndir,dir)) in TIFFWriteDirectorySec()
622 …if (!TIFFWriteDirectoryTagAscii(tif,&ndir,dir,TIFFTAG_INKNAMES,tif->tif_dir.td_inknameslen,tif->ti… in TIFFWriteDirectorySec()
627 if (!TIFFWriteDirectoryTagSubifd(tif,&ndir,dir)) in TIFFWriteDirectorySec()
648 if (!TIFFWriteDirectoryTagAscii(tif,&ndir,dir,o->field_tag,pa,pb)) in TIFFWriteDirectorySec()
659 if (!TIFFWriteDirectoryTagShort(tif,&ndir,dir,o->field_tag,p)) in TIFFWriteDirectorySec()
670 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,o->field_tag,p)) in TIFFWriteDirectorySec()
682 if (!TIFFWriteDirectoryTagUndefinedArray(tif,&ndir,dir,o->field_tag,pa,pb)) in TIFFWriteDirectorySec()
699 …if (!TIFFWriteDirectoryTagAscii(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,tif-… in TIFFWriteDirectorySec()
703 …if (!TIFFWriteDirectoryTagUndefinedArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field… in TIFFWriteDirectorySec()
707 …if (!TIFFWriteDirectoryTagByteArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,… in TIFFWriteDirectorySec()
711 …if (!TIFFWriteDirectoryTagSbyteArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag… in TIFFWriteDirectorySec()
715 …if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag… in TIFFWriteDirectorySec()
719 …if (!TIFFWriteDirectoryTagSshortArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_ta… in TIFFWriteDirectorySec()
723 …if (!TIFFWriteDirectoryTagLongArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,… in TIFFWriteDirectorySec()
727 …if (!TIFFWriteDirectoryTagSlongArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag… in TIFFWriteDirectorySec()
731 …if (!TIFFWriteDirectoryTagLong8Array(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag… in TIFFWriteDirectorySec()
735 …if (!TIFFWriteDirectoryTagSlong8Array(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_ta… in TIFFWriteDirectorySec()
739 …if (!TIFFWriteDirectoryTagRationalArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_… in TIFFWriteDirectorySec()
743 …if (!TIFFWriteDirectoryTagSrationalArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field… in TIFFWriteDirectorySec()
747 …if (!TIFFWriteDirectoryTagFloatArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag… in TIFFWriteDirectorySec()
751 …if (!TIFFWriteDirectoryTagDoubleArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_ta… in TIFFWriteDirectorySec()
755 …if (!TIFFWriteDirectoryTagIfdArray(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_tag,t… in TIFFWriteDirectorySec()
759 …if (!TIFFWriteDirectoryTagIfdIfd8Array(tif,&ndir,dir,tif->tif_dir.td_customValues[m].info->field_t… in TIFFWriteDirectorySec()
767 if (dir!=NULL) in TIFFWriteDirectorySec()
769 dir=_TIFFmalloc(ndir*sizeof(TIFFDirEntry)); in TIFFWriteDirectorySec()
770 if (dir==NULL) in TIFFWriteDirectorySec()
807 for (na=0, nb=dir; ; na++, nb++) in TIFFWriteDirectorySec()
835 o=dir; in TIFFWriteDirectorySec()
871 o=dir; in TIFFWriteDirectorySec()
894 _TIFFfree(dir); in TIFFWriteDirectorySec()
895 dir=NULL; in TIFFWriteDirectorySec()
921 if (dir!=NULL) in TIFFWriteDirectorySec()
922 _TIFFfree(dir); in TIFFWriteDirectorySec()
929 TIFFWriteDirectoryTagSampleformatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagSampleformatArray() argument
949 ok = TIFFWriteDirectoryTagFloatArray(tif,ndir,dir,tag,count,(float*)conv); in TIFFWriteDirectoryTagSampleformatArray()
953 ok = TIFFWriteDirectoryTagDoubleArray(tif,ndir,dir,tag,count,value); in TIFFWriteDirectoryTagSampleformatArray()
961 ok = TIFFWriteDirectoryTagSbyteArray(tif,ndir,dir,tag,count,(int8*)conv); in TIFFWriteDirectoryTagSampleformatArray()
967 ok = TIFFWriteDirectoryTagSshortArray(tif,ndir,dir,tag,count,(int16*)conv); in TIFFWriteDirectoryTagSampleformatArray()
973 ok = TIFFWriteDirectoryTagSlongArray(tif,ndir,dir,tag,count,(int32*)conv); in TIFFWriteDirectoryTagSampleformatArray()
981 ok = TIFFWriteDirectoryTagByteArray(tif,ndir,dir,tag,count,(uint8*)conv); in TIFFWriteDirectoryTagSampleformatArray()
987 ok = TIFFWriteDirectoryTagShortArray(tif,ndir,dir,tag,count,(uint16*)conv); in TIFFWriteDirectoryTagSampleformatArray()
993 ok = TIFFWriteDirectoryTagLongArray(tif,ndir,dir,tag,count,(uint32*)conv); in TIFFWriteDirectoryTagSampleformatArray()
1006 TIFFWriteDirectoryTagSampleformatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, …
1012 return(TIFFWriteDirectoryTagFloatPerSample(tif,ndir,dir,tag,(float)value));
1014 return(TIFFWriteDirectoryTagDoublePerSample(tif,ndir,dir,tag,value));
1017 return(TIFFWriteDirectoryTagSbytePerSample(tif,ndir,dir,tag,(int8)value));
1019 return(TIFFWriteDirectoryTagSshortPerSample(tif,ndir,dir,tag,(int16)value));
1021 return(TIFFWriteDirectoryTagSlongPerSample(tif,ndir,dir,tag,(int32)value));
1024 return(TIFFWriteDirectoryTagBytePerSample(tif,ndir,dir,tag,(uint8)value));
1026 return(TIFFWriteDirectoryTagShortPerSample(tif,ndir,dir,tag,(uint16)value));
1028 return(TIFFWriteDirectoryTagLongPerSample(tif,ndir,dir,tag,(uint32)value));
1036 TIFFWriteDirectoryTagAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count, ch… in TIFFWriteDirectoryTagAscii() argument
1038 if (dir==NULL) in TIFFWriteDirectoryTagAscii()
1043 return(TIFFWriteDirectoryTagCheckedAscii(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagAscii()
1047 TIFFWriteDirectoryTagUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 … in TIFFWriteDirectoryTagUndefinedArray() argument
1049 if (dir==NULL) in TIFFWriteDirectoryTagUndefinedArray()
1054 return(TIFFWriteDirectoryTagCheckedUndefinedArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagUndefinedArray()
1059 TIFFWriteDirectoryTagByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 value) in TIFFWriteDirectoryTagByte() argument
1061 if (dir==NULL) in TIFFWriteDirectoryTagByte()
1066 return(TIFFWriteDirectoryTagCheckedByte(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagByte()
1071 TIFFWriteDirectoryTagByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count… in TIFFWriteDirectoryTagByteArray() argument
1073 if (dir==NULL) in TIFFWriteDirectoryTagByteArray()
1078 return(TIFFWriteDirectoryTagCheckedByteArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagByteArray()
1083 TIFFWriteDirectoryTagBytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 va…
1090 if (dir==NULL)
1103 o=TIFFWriteDirectoryTagCheckedByteArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1111 TIFFWriteDirectoryTagSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 value) in TIFFWriteDirectoryTagSbyte() argument
1113 if (dir==NULL) in TIFFWriteDirectoryTagSbyte()
1118 return(TIFFWriteDirectoryTagCheckedSbyte(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSbyte()
1123 TIFFWriteDirectoryTagSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagSbyteArray() argument
1125 if (dir==NULL) in TIFFWriteDirectoryTagSbyteArray()
1130 return(TIFFWriteDirectoryTagCheckedSbyteArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSbyteArray()
1135 TIFFWriteDirectoryTagSbytePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 va…
1142 if (dir==NULL)
1155 o=TIFFWriteDirectoryTagCheckedSbyteArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1162 TIFFWriteDirectoryTagShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 value) in TIFFWriteDirectoryTagShort() argument
1164 if (dir==NULL) in TIFFWriteDirectoryTagShort()
1169 return(TIFFWriteDirectoryTagCheckedShort(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagShort()
1173 TIFFWriteDirectoryTagShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagShortArray() argument
1175 if (dir==NULL) in TIFFWriteDirectoryTagShortArray()
1180 return(TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagShortArray()
1184 TIFFWriteDirectoryTagShortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 … in TIFFWriteDirectoryTagShortPerSample() argument
1191 if (dir==NULL) in TIFFWriteDirectoryTagShortPerSample()
1204 o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); in TIFFWriteDirectoryTagShortPerSample()
1211 TIFFWriteDirectoryTagSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int16 value) in TIFFWriteDirectoryTagSshort() argument
1213 if (dir==NULL) in TIFFWriteDirectoryTagSshort()
1218 return(TIFFWriteDirectoryTagCheckedSshort(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSshort()
1223 TIFFWriteDirectoryTagSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 cou… in TIFFWriteDirectoryTagSshortArray() argument
1225 if (dir==NULL) in TIFFWriteDirectoryTagSshortArray()
1230 return(TIFFWriteDirectoryTagCheckedSshortArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSshortArray()
1235 TIFFWriteDirectoryTagSshortPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int16 …
1242 if (dir==NULL)
1255 o=TIFFWriteDirectoryTagCheckedSshortArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1262 TIFFWriteDirectoryTagLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 value) in TIFFWriteDirectoryTagLong() argument
1264 if (dir==NULL) in TIFFWriteDirectoryTagLong()
1269 return(TIFFWriteDirectoryTagCheckedLong(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagLong()
1273 TIFFWriteDirectoryTagLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count… in TIFFWriteDirectoryTagLongArray() argument
1275 if (dir==NULL) in TIFFWriteDirectoryTagLongArray()
1280 return(TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagLongArray()
1285 TIFFWriteDirectoryTagLongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 v…
1292 if (dir==NULL)
1305 o=TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1313 TIFFWriteDirectoryTagSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32 value) in TIFFWriteDirectoryTagSlong() argument
1315 if (dir==NULL) in TIFFWriteDirectoryTagSlong()
1320 return(TIFFWriteDirectoryTagCheckedSlong(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSlong()
1325 TIFFWriteDirectoryTagSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagSlongArray() argument
1327 if (dir==NULL) in TIFFWriteDirectoryTagSlongArray()
1332 return(TIFFWriteDirectoryTagCheckedSlongArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSlongArray()
1337 TIFFWriteDirectoryTagSlongPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32 v…
1344 if (dir==NULL)
1357 o=TIFFWriteDirectoryTagCheckedSlongArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1365 TIFFWriteDirectoryTagLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint64 value) in TIFFWriteDirectoryTagLong8() argument
1367 if (dir==NULL) in TIFFWriteDirectoryTagLong8()
1372 return(TIFFWriteDirectoryTagCheckedLong8(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagLong8()
1377 TIFFWriteDirectoryTagLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 coun… in TIFFWriteDirectoryTagLong8Array() argument
1379 if (dir==NULL) in TIFFWriteDirectoryTagLong8Array()
1384 return(TIFFWriteDirectoryTagCheckedLong8Array(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagLong8Array()
1389 TIFFWriteDirectoryTagSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int64 value) in TIFFWriteDirectoryTagSlong8() argument
1391 if (dir==NULL) in TIFFWriteDirectoryTagSlong8()
1396 return(TIFFWriteDirectoryTagCheckedSlong8(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagSlong8()
1401 TIFFWriteDirectoryTagSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 cou… in TIFFWriteDirectoryTagSlong8Array() argument
1403 if (dir==NULL) in TIFFWriteDirectoryTagSlong8Array()
1408 return(TIFFWriteDirectoryTagCheckedSlong8Array(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSlong8Array()
1412 TIFFWriteDirectoryTagRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double value) in TIFFWriteDirectoryTagRational() argument
1414 if (dir==NULL) in TIFFWriteDirectoryTagRational()
1419 return(TIFFWriteDirectoryTagCheckedRational(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagRational()
1423 TIFFWriteDirectoryTagRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 c… in TIFFWriteDirectoryTagRationalArray() argument
1425 if (dir==NULL) in TIFFWriteDirectoryTagRationalArray()
1430 return(TIFFWriteDirectoryTagCheckedRationalArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagRationalArray()
1434 TIFFWriteDirectoryTagSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 … in TIFFWriteDirectoryTagSrationalArray() argument
1436 if (dir==NULL) in TIFFWriteDirectoryTagSrationalArray()
1441 return(TIFFWriteDirectoryTagCheckedSrationalArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagSrationalArray()
1445 static int TIFFWriteDirectoryTagFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, float… in TIFFWriteDirectoryTagFloat() argument
1447 if (dir==NULL) in TIFFWriteDirectoryTagFloat()
1452 return(TIFFWriteDirectoryTagCheckedFloat(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagFloat()
1456 static int TIFFWriteDirectoryTagFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, … in TIFFWriteDirectoryTagFloatArray() argument
1458 if (dir==NULL) in TIFFWriteDirectoryTagFloatArray()
1463 return(TIFFWriteDirectoryTagCheckedFloatArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagFloatArray()
1467 static int TIFFWriteDirectoryTagFloatPerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 t…
1474 if (dir==NULL)
1487 o=TIFFWriteDirectoryTagCheckedFloatArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1494 static int TIFFWriteDirectoryTagDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, doub… in TIFFWriteDirectoryTagDouble() argument
1496 if (dir==NULL) in TIFFWriteDirectoryTagDouble()
1501 return(TIFFWriteDirectoryTagCheckedDouble(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagDouble()
1505 static int TIFFWriteDirectoryTagDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag,… in TIFFWriteDirectoryTagDoubleArray() argument
1507 if (dir==NULL) in TIFFWriteDirectoryTagDoubleArray()
1512 return(TIFFWriteDirectoryTagCheckedDoubleArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagDoubleArray()
1516 static int TIFFWriteDirectoryTagDoublePerSample(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 …
1523 if (dir==NULL)
1536 o=TIFFWriteDirectoryTagCheckedDoubleArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m);
1543 TIFFWriteDirectoryTagIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count,… in TIFFWriteDirectoryTagIfdArray() argument
1545 if (dir==NULL) in TIFFWriteDirectoryTagIfdArray()
1550 return(TIFFWriteDirectoryTagCheckedIfdArray(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagIfdArray()
1555 TIFFWriteDirectoryTagIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count… in TIFFWriteDirectoryTagIfd8Array() argument
1557 if (dir==NULL) in TIFFWriteDirectoryTagIfd8Array()
1562 return(TIFFWriteDirectoryTagCheckedIfd8Array(tif,ndir,dir,tag,count,value)); in TIFFWriteDirectoryTagIfd8Array()
1567 TIFFWriteDirectoryTagShortLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 value) in TIFFWriteDirectoryTagShortLong() argument
1569 if (dir==NULL) in TIFFWriteDirectoryTagShortLong()
1575 return(TIFFWriteDirectoryTagCheckedShort(tif,ndir,dir,tag,(uint16)value)); in TIFFWriteDirectoryTagShortLong()
1577 return(TIFFWriteDirectoryTagCheckedLong(tif,ndir,dir,tag,value)); in TIFFWriteDirectoryTagShortLong()
1588 TIFFWriteDirectoryTagLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 … in TIFFWriteDirectoryTagLongLong8Array() argument
1598 if (dir==NULL) in TIFFWriteDirectoryTagLongLong8Array()
1606 return TIFFWriteDirectoryTagCheckedLong8Array(tif,ndir,dir, in TIFFWriteDirectoryTagLongLong8Array()
1633 o=TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagLongLong8Array()
1646 TIFFWriteDirectoryTagIfdIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 co… in TIFFWriteDirectoryTagIfdIfd8Array() argument
1656 if (dir==NULL) in TIFFWriteDirectoryTagIfdIfd8Array()
1664 return TIFFWriteDirectoryTagCheckedIfd8Array(tif,ndir,dir, in TIFFWriteDirectoryTagIfdIfd8Array()
1691 o=TIFFWriteDirectoryTagCheckedIfdArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagIfdIfd8Array()
1699 TIFFWriteDirectoryTagShortLongLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, ui… in TIFFWriteDirectoryTagShortLongLong8Array() argument
1706 if (dir==NULL) in TIFFWriteDirectoryTagShortLongLong8Array()
1734 o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagShortLongLong8Array()
1749 o=TIFFWriteDirectoryTagCheckedLongArray(tif,ndir,dir,tag,count,p); in TIFFWriteDirectoryTagShortLongLong8Array()
1755 o=TIFFWriteDirectoryTagCheckedLong8Array(tif,ndir,dir,tag,count,value); in TIFFWriteDirectoryTagShortLongLong8Array()
1761 TIFFWriteDirectoryTagColormap(TIFF* tif, uint32* ndir, TIFFDirEntry* dir) in TIFFWriteDirectoryTagColormap() argument
1767 if (dir==NULL) in TIFFWriteDirectoryTagColormap()
1782 o=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,TIFFTAG_COLORMAP,3*m,n); in TIFFWriteDirectoryTagColormap()
1788 TIFFWriteDirectoryTagTransferfunction(TIFF* tif, uint32* ndir, TIFFDirEntry* dir) in TIFFWriteDirectoryTagTransferfunction() argument
1795 if (dir==NULL) in TIFFWriteDirectoryTagTransferfunction()
1833 p=TIFFWriteDirectoryTagCheckedShortArray(tif,ndir,dir,TIFFTAG_TRANSFERFUNCTION,n*m,o); in TIFFWriteDirectoryTagTransferfunction()
1839 TIFFWriteDirectoryTagSubifd(TIFF* tif, uint32* ndir, TIFFDirEntry* dir) in TIFFWriteDirectoryTagSubifd() argument
1846 if (dir==NULL) in TIFFWriteDirectoryTagSubifd()
1872 n=TIFFWriteDirectoryTagCheckedIfdArray(tif,ndir,dir,TIFFTAG_SUBIFD,tif->tif_dir.td_nsubifd,o); in TIFFWriteDirectoryTagSubifd()
1876 …n=TIFFWriteDirectoryTagCheckedIfd8Array(tif,ndir,dir,TIFFTAG_SUBIFD,tif->tif_dir.td_nsubifd,tif->t… in TIFFWriteDirectoryTagSubifd()
1897 TIFFWriteDirectoryTagCheckedAscii(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 co… in TIFFWriteDirectoryTagCheckedAscii() argument
1900 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_ASCII,count,count,value)); in TIFFWriteDirectoryTagCheckedAscii()
1904 TIFFWriteDirectoryTagCheckedUndefinedArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, … in TIFFWriteDirectoryTagCheckedUndefinedArray() argument
1907 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_UNDEFINED,count,count,value)); in TIFFWriteDirectoryTagCheckedUndefinedArray()
1912 TIFFWriteDirectoryTagCheckedByte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint8 valu… in TIFFWriteDirectoryTagCheckedByte() argument
1915 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_BYTE,1,1,&value)); in TIFFWriteDirectoryTagCheckedByte()
1920 TIFFWriteDirectoryTagCheckedByteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3… in TIFFWriteDirectoryTagCheckedByteArray() argument
1923 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_BYTE,count,count,value)); in TIFFWriteDirectoryTagCheckedByteArray()
1928 TIFFWriteDirectoryTagCheckedSbyte(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int8 valu… in TIFFWriteDirectoryTagCheckedSbyte() argument
1931 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SBYTE,1,1,&value)); in TIFFWriteDirectoryTagCheckedSbyte()
1936 TIFFWriteDirectoryTagCheckedSbyteArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedSbyteArray() argument
1939 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SBYTE,count,count,value)); in TIFFWriteDirectoryTagCheckedSbyteArray()
1943 TIFFWriteDirectoryTagCheckedShort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 va… in TIFFWriteDirectoryTagCheckedShort() argument
1950 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SHORT,1,2,&m)); in TIFFWriteDirectoryTagCheckedShort()
1954 TIFFWriteDirectoryTagCheckedShortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedShortArray() argument
1960 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SHORT,count,count*2,value)); in TIFFWriteDirectoryTagCheckedShortArray()
1965 TIFFWriteDirectoryTagCheckedSshort(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int16 va… in TIFFWriteDirectoryTagCheckedSshort() argument
1972 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SSHORT,1,2,&m)); in TIFFWriteDirectoryTagCheckedSshort()
1977 TIFFWriteDirectoryTagCheckedSshortArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uin… in TIFFWriteDirectoryTagCheckedSshortArray() argument
1983 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SSHORT,count,count*2,value)); in TIFFWriteDirectoryTagCheckedSshortArray()
1987 TIFFWriteDirectoryTagCheckedLong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 val… in TIFFWriteDirectoryTagCheckedLong() argument
1994 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG,1,4,&m)); in TIFFWriteDirectoryTagCheckedLong()
1998 TIFFWriteDirectoryTagCheckedLongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3… in TIFFWriteDirectoryTagCheckedLongArray() argument
2004 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG,count,count*4,value)); in TIFFWriteDirectoryTagCheckedLongArray()
2009 TIFFWriteDirectoryTagCheckedSlong(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int32 val… in TIFFWriteDirectoryTagCheckedSlong() argument
2016 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG,1,4,&m)); in TIFFWriteDirectoryTagCheckedSlong()
2021 TIFFWriteDirectoryTagCheckedSlongArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedSlongArray() argument
2027 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG,count,count*4,value)); in TIFFWriteDirectoryTagCheckedSlongArray()
2032 TIFFWriteDirectoryTagCheckedLong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint64 va… in TIFFWriteDirectoryTagCheckedLong8() argument
2040 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG8,1,8,&m)); in TIFFWriteDirectoryTagCheckedLong8()
2045 TIFFWriteDirectoryTagCheckedLong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedLong8Array() argument
2052 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_LONG8,count,count*8,value)); in TIFFWriteDirectoryTagCheckedLong8Array()
2057 TIFFWriteDirectoryTagCheckedSlong8(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, int64 va… in TIFFWriteDirectoryTagCheckedSlong8() argument
2065 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG8,1,8,&m)); in TIFFWriteDirectoryTagCheckedSlong8()
2070 TIFFWriteDirectoryTagCheckedSlong8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uin… in TIFFWriteDirectoryTagCheckedSlong8Array() argument
2077 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SLONG8,count,count*8,value)); in TIFFWriteDirectoryTagCheckedSlong8Array()
2081 TIFFWriteDirectoryTagCheckedRational(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double… in TIFFWriteDirectoryTagCheckedRational() argument
2111 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_RATIONAL,1,8,&m[0])); in TIFFWriteDirectoryTagCheckedRational()
2115 TIFFWriteDirectoryTagCheckedRationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, u… in TIFFWriteDirectoryTagCheckedRationalArray() argument
2155 o=TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_RATIONAL,count,count*8,&m[0]); in TIFFWriteDirectoryTagCheckedRationalArray()
2161 TIFFWriteDirectoryTagCheckedSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, … in TIFFWriteDirectoryTagCheckedSrationalArray() argument
2217 o=TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_SRATIONAL,count,count*8,&m[0]); in TIFFWriteDirectoryTagCheckedSrationalArray()
2224 TIFFWriteDirectoryTagCheckedFloat(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, float val… in TIFFWriteDirectoryTagCheckedFloat() argument
2232 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_FLOAT,1,4,&m)); in TIFFWriteDirectoryTagCheckedFloat()
2237 TIFFWriteDirectoryTagCheckedFloatArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint… in TIFFWriteDirectoryTagCheckedFloatArray() argument
2244 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_FLOAT,count,count*4,value)); in TIFFWriteDirectoryTagCheckedFloatArray()
2249 TIFFWriteDirectoryTagCheckedDouble(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, double v… in TIFFWriteDirectoryTagCheckedDouble() argument
2257 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_DOUBLE,1,8,&m)); in TIFFWriteDirectoryTagCheckedDouble()
2262 TIFFWriteDirectoryTagCheckedDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uin… in TIFFWriteDirectoryTagCheckedDoubleArray() argument
2269 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_DOUBLE,count,count*8,value)); in TIFFWriteDirectoryTagCheckedDoubleArray()
2273 TIFFWriteDirectoryTagCheckedIfdArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32… in TIFFWriteDirectoryTagCheckedIfdArray() argument
2279 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_IFD,count,count*4,value)); in TIFFWriteDirectoryTagCheckedIfdArray()
2283 TIFFWriteDirectoryTagCheckedIfd8Array(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint3… in TIFFWriteDirectoryTagCheckedIfd8Array() argument
2290 return(TIFFWriteDirectoryTagData(tif,ndir,dir,tag,TIFF_IFD8,count,count*8,value)); in TIFFWriteDirectoryTagCheckedIfd8Array()
2294 TIFFWriteDirectoryTagData(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint16 datatype, … in TIFFWriteDirectoryTagData() argument
2301 assert(dir[m].tdir_tag!=tag); in TIFFWriteDirectoryTagData()
2302 if (dir[m].tdir_tag>tag) in TIFFWriteDirectoryTagData()
2310 dir[n]=dir[n-1]; in TIFFWriteDirectoryTagData()
2312 dir[m].tdir_tag=tag; in TIFFWriteDirectoryTagData()
2313 dir[m].tdir_type=datatype; in TIFFWriteDirectoryTagData()
2314 dir[m].tdir_count=count; in TIFFWriteDirectoryTagData()
2315 dir[m].tdir_offset.toff_long8 = 0; in TIFFWriteDirectoryTagData()
2317 _TIFFmemcpy(&dir[m].tdir_offset,data,datalength); in TIFFWriteDirectoryTagData()
2350 _TIFFmemcpy(&dir[m].tdir_offset,&o,4); in TIFFWriteDirectoryTagData()
2354 dir[m].tdir_offset.toff_long8 = na; in TIFFWriteDirectoryTagData()
2356 TIFFSwabLong8(&dir[m].tdir_offset.toff_long8); in TIFFWriteDirectoryTagData()