Lines Matching defs:ap
90 setExtraSamples(TIFFDirectory* td, va_list ap, uint32* v)
98 *v = (uint16) va_arg(ap, uint16_vap);
101 va = va_arg(ap, uint16*);
156 _TIFFVSetField(TIFF* tif, uint32 tag, va_list ap)
179 td->td_subfiletype = (uint32) va_arg(ap, uint32);
182 td->td_imagewidth = (uint32) va_arg(ap, uint32);
185 td->td_imagelength = (uint32) va_arg(ap, uint32);
188 td->td_bitspersample = (uint16) va_arg(ap, uint16_vap);
212 v = (uint16) va_arg(ap, uint16_vap);
233 td->td_photometric = (uint16) va_arg(ap, uint16_vap);
236 td->td_threshholding = (uint16) va_arg(ap, uint16_vap);
239 v = (uint16) va_arg(ap, uint16_vap);
245 v = (uint16) va_arg(ap, uint16_vap);
252 v = (uint16) va_arg(ap, uint16_vap);
258 v32 = (uint32) va_arg(ap, uint32);
268 td->td_minsamplevalue = (uint16) va_arg(ap, uint16_vap);
271 td->td_maxsamplevalue = (uint16) va_arg(ap, uint16_vap);
275 _TIFFsetDoubleArray(&td->td_sminsamplevalue, va_arg(ap, double*), td->td_samplesperpixel);
277 setDoubleArrayOneValue(&td->td_sminsamplevalue, va_arg(ap, double), td->td_samplesperpixel);
281 _TIFFsetDoubleArray(&td->td_smaxsamplevalue, va_arg(ap, double*), td->td_samplesperpixel);
283 setDoubleArrayOneValue(&td->td_smaxsamplevalue, va_arg(ap, double), td->td_samplesperpixel);
286 td->td_xresolution = (float) va_arg(ap, double);
289 td->td_yresolution = (float) va_arg(ap, double);
292 v = (uint16) va_arg(ap, uint16_vap);
298 td->td_xposition = (float) va_arg(ap, double);
301 td->td_yposition = (float) va_arg(ap, double);
304 v = (uint16) va_arg(ap, uint16_vap);
310 td->td_pagenumber[0] = (uint16) va_arg(ap, uint16_vap);
311 td->td_pagenumber[1] = (uint16) va_arg(ap, uint16_vap);
314 td->td_halftonehints[0] = (uint16) va_arg(ap, uint16_vap);
315 td->td_halftonehints[1] = (uint16) va_arg(ap, uint16_vap);
319 _TIFFsetShortArray(&td->td_colormap[0], va_arg(ap, uint16*), v32);
320 _TIFFsetShortArray(&td->td_colormap[1], va_arg(ap, uint16*), v32);
321 _TIFFsetShortArray(&td->td_colormap[2], va_arg(ap, uint16*), v32);
324 if (!setExtraSamples(td, ap, &v))
328 td->td_extrasamples = (((uint16) va_arg(ap, uint16_vap)) != 0);
335 v32 = (uint32) va_arg(ap, uint32);
346 v32 = (uint32) va_arg(ap, uint32);
357 v32 = (uint32) va_arg(ap, uint32);
363 v = (uint16) va_arg(ap, uint16_vap);
374 v = (uint16) va_arg(ap, uint16_vap);
391 td->td_imagedepth = (uint32) va_arg(ap, uint32);
395 td->td_nsubifd = (uint16) va_arg(ap, uint16_vap);
396 _TIFFsetLong8Array(&td->td_subifd, (uint64*) va_arg(ap, uint64*),
406 td->td_ycbcrpositioning = (uint16) va_arg(ap, uint16_vap);
409 td->td_ycbcrsubsampling[0] = (uint16) va_arg(ap, uint16_vap);
410 td->td_ycbcrsubsampling[1] = (uint16) va_arg(ap, uint16_vap);
416 va_arg(ap, uint16*), 1L<<td->td_bitspersample);
420 _TIFFsetFloatArray(&td->td_refblackwhite, va_arg(ap, float*), 6);
423 v = (uint16) va_arg(ap, uint16_vap);
424 s = va_arg(ap, char*);
433 v = (uint16) va_arg(ap, uint16_vap);
522 ma=(uint32)va_arg(ap,uint32);
523 mb=(char*)va_arg(ap,char*);
527 mb=(char*)va_arg(ap,char*);
537 tv->count = (uint32) va_arg(ap, uint32);
539 tv->count = (int) va_arg(ap, int);
575 v[0] = (uint16)va_arg(ap, int);
576 v[1] = (uint16)va_arg(ap, int);
585 _TIFFmemcpy(tv->value, va_arg(ap, void *),
595 uint8 v = (uint8)va_arg(ap, int);
601 int8 v = (int8)va_arg(ap, int);
607 uint16 v = (uint16)va_arg(ap, int);
613 int16 v = (int16)va_arg(ap, int);
620 uint32 v = va_arg(ap, uint32);
626 int32 v = va_arg(ap, int32);
633 uint64 v = va_arg(ap, uint64);
639 int64 v = va_arg(ap, int64);
647 float v = (float)va_arg(ap, double);
653 double v = va_arg(ap, double);
674 va_end(ap);
683 va_end(ap);
693 va_end(ap);
742 va_list ap;
745 va_start(ap, tag);
746 status = TIFFVSetField(tif, tag, ap);
747 va_end(ap);
799 TIFFVSetField(TIFF* tif, uint32 tag, va_list ap)
802 (*tif->tif_tagmethods.vsetfield)(tif, tag, ap) : 0;
806 _TIFFVGetField(TIFF* tif, uint32 tag, va_list ap)
825 *va_arg(ap, uint32*) = td->td_subfiletype;
828 *va_arg(ap, uint32*) = td->td_imagewidth;
831 *va_arg(ap, uint32*) = td->td_imagelength;
834 *va_arg(ap, uint16*) = td->td_bitspersample;
837 *va_arg(ap, uint16*) = td->td_compression;
840 *va_arg(ap, uint16*) = td->td_photometric;
843 *va_arg(ap, uint16*) = td->td_threshholding;
846 *va_arg(ap, uint16*) = td->td_fillorder;
849 *va_arg(ap, uint16*) = td->td_orientation;
852 *va_arg(ap, uint16*) = td->td_samplesperpixel;
855 *va_arg(ap, uint32*) = td->td_rowsperstrip;
858 *va_arg(ap, uint16*) = td->td_minsamplevalue;
861 *va_arg(ap, uint16*) = td->td_maxsamplevalue;
865 *va_arg(ap, double**) = td->td_sminsamplevalue;
874 *va_arg(ap, double*) = v;
879 *va_arg(ap, double**) = td->td_smaxsamplevalue;
888 *va_arg(ap, double*) = v;
892 *va_arg(ap, float*) = td->td_xresolution;
895 *va_arg(ap, float*) = td->td_yresolution;
898 *va_arg(ap, uint16*) = td->td_planarconfig;
901 *va_arg(ap, float*) = td->td_xposition;
904 *va_arg(ap, float*) = td->td_yposition;
907 *va_arg(ap, uint16*) = td->td_resolutionunit;
910 *va_arg(ap, uint16*) = td->td_pagenumber[0];
911 *va_arg(ap, uint16*) = td->td_pagenumber[1];
914 *va_arg(ap, uint16*) = td->td_halftonehints[0];
915 *va_arg(ap, uint16*) = td->td_halftonehints[1];
918 *va_arg(ap, uint16**) = td->td_colormap[0];
919 *va_arg(ap, uint16**) = td->td_colormap[1];
920 *va_arg(ap, uint16**) = td->td_colormap[2];
925 *va_arg(ap, uint64**) = td->td_stripoffset;
930 *va_arg(ap, uint64**) = td->td_stripbytecount;
933 *va_arg(ap, uint16*) =
938 *va_arg(ap, uint16*) = td->td_extrasamples;
939 *va_arg(ap, uint16**) = td->td_sampleinfo;
942 *va_arg(ap, uint32*) = td->td_tilewidth;
945 *va_arg(ap, uint32*) = td->td_tilelength;
948 *va_arg(ap, uint32*) = td->td_tiledepth;
953 *va_arg(ap, uint16*) = DATATYPE_UINT;
956 *va_arg(ap, uint16*) = DATATYPE_INT;
959 *va_arg(ap, uint16*) = DATATYPE_IEEEFP;
962 *va_arg(ap, uint16*) = DATATYPE_VOID;
967 *va_arg(ap, uint16*) = td->td_sampleformat;
970 *va_arg(ap, uint32*) = td->td_imagedepth;
973 *va_arg(ap, uint16*) = td->td_nsubifd;
974 *va_arg(ap, uint64**) = td->td_subifd;
977 *va_arg(ap, uint16*) = td->td_ycbcrpositioning;
980 *va_arg(ap, uint16*) = td->td_ycbcrsubsampling[0];
981 *va_arg(ap, uint16*) = td->td_ycbcrsubsampling[1];
984 *va_arg(ap, uint16**) = td->td_transferfunction[0];
986 *va_arg(ap, uint16**) = td->td_transferfunction[1];
987 *va_arg(ap, uint16**) = td->td_transferfunction[2];
991 *va_arg(ap, float**) = td->td_refblackwhite;
994 *va_arg(ap, char**) = td->td_inknames;
1033 *va_arg(ap, uint32*) = (uint32)tv->count;
1035 *va_arg(ap, uint16*) = (uint16)tv->count;
1036 *va_arg(ap, void **) = tv->value;
1044 *va_arg(ap, uint16*) = ((uint16 *)tv->value)[0];
1045 *va_arg(ap, uint16*) = ((uint16 *)tv->value)[1];
1053 *va_arg(ap, void **) = tv->value;
1061 *va_arg(ap, uint8*) =
1066 *va_arg(ap, int8*) =
1071 *va_arg(ap, uint16*) =
1076 *va_arg(ap, int16*) =
1082 *va_arg(ap, uint32*) =
1087 *va_arg(ap, int32*) =
1093 *va_arg(ap, uint64*) =
1098 *va_arg(ap, int64*) =
1105 *va_arg(ap, float*) =
1110 *va_arg(ap, double*) =
1135 va_list ap;
1137 va_start(ap, tag);
1138 status = TIFFVGetField(tif, tag, ap);
1139 va_end(ap);
1150 TIFFVGetField(TIFF* tif, uint32 tag, va_list ap)
1154 (*tif->tif_tagmethods.vgetfield)(tif, tag, ap) : 0);