• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/tiff/

Lines Matching defs:tag

121 _TIFFVSetField(TIFF* tif, ttag_t tag, va_list ap)
132 switch (tag) {
222 "Bad value %ld for \"%s\" tag ignored",
223 v, _TIFFFieldWithTag(tif, tag)->field_name);
486 const TIFFFieldInfo* fip = _TIFFFindFieldInfo(tif, tag, TIFF_ANY);
493 * global tag information table may then have tags
495 * If the client tries to set a tag that is not valid
505 tif->tif_name, isPseudoTag(tag) ? "pseudo-" : "",
506 _TIFFFieldWithTag(tif, tag)->field_name);
554 * Set custom value ... save a copy of the custom tag value.
598 TIFFSetFieldBit(tif, _TIFFFieldWithTag(tif, tag)->field_bit);
607 tif->tif_name, v, _TIFFFieldWithTag(tif, tag)->field_name);
612 tif->tif_name, v32, _TIFFFieldWithTag(tif, tag)->field_name);
617 tif->tif_name, d, _TIFFFieldWithTag(tif, tag)->field_name);
624 * it is permissible to set the tag's value.
627 * Any other tag may not be altered once writing
632 OkToChangeTag(TIFF* tif, ttag_t tag)
634 const TIFFFieldInfo* fip = _TIFFFindFieldInfo(tif, tag, TIFF_ANY);
635 if (!fip) { /* unknown tag */
637 tif->tif_name, isPseudoTag(tag) ? "pseudo-" : "", tag);
640 if (tag != TIFFTAG_IMAGELENGTH && (tif->tif_flags & TIFF_BEENWRITING) &&
643 * Consult info table to see if tag can be changed
649 "%s: Cannot modify tag \"%s\" while writing",
664 TIFFSetField(TIFF* tif, ttag_t tag, ...)
669 va_start(ap, tag);
670 status = TIFFVSetField(tif, tag, ap);
682 TIFFVSetField(TIFF* tif, ttag_t tag, va_list ap)
684 return OkToChangeTag(tif, tag) ?
685 (*tif->tif_tagmethods.vsetfield)(tif, tag, ap) : 0;
689 _TIFFVGetField(TIFF* tif, ttag_t tag, va_list ap)
694 switch (tag) {
937 const TIFFFieldInfo* fip = _TIFFFindFieldInfo(tif, tag, TIFF_ANY);
943 * global tag information table may then have tags
945 * If the client tries to get a tag that is not valid
952 tif->tif_name, isPseudoTag(tag) ? "pseudo-" : "",
953 _TIFFFieldWithTag(tif, tag)->field_name);
966 if( tv->info->field_tag != tag )
998 TIFFGetField(TIFF* tif, ttag_t tag, ...)
1003 va_start(ap, tag);
1004 status = TIFFVGetField(tif, tag, ap);
1016 TIFFVGetField(TIFF* tif, ttag_t tag, va_list ap)
1018 const TIFFFieldInfo* fip = _TIFFFindFieldInfo(tif, tag, TIFF_ANY);
1019 return (fip && (isPseudoTag(tag) || TIFFFieldSet(tif, fip->field_bit)) ?
1020 (*tif->tif_tagmethods.vgetfield)(tif, tag, ap) : 0);
1075 /* Cleanup custom tag values */
1151 * tag extensions & methods, prior to compression overloads.
1281 * the SubIFD tag (e.g. thumbnail images).
1391 * 'IGNORE' state - or return TRUE/FALSE for the requested tag such that
1408 { /* Do not add duplicate tag */