|
LibTIFF 4.7.2
TIFF library public API and implementation reference
|
Describe a field's file type and internal argument contract. More...
#include <tif_dir.h>
Data Fields | |
| uint32_t | field_tag |
| Tag identifier in this schema namespace. | |
| short | field_readcount |
| Fixed getter count or TIFF_VARIABLE/TIFF_VARIABLE2/TIFF_SPP rule. | |
| short | field_writecount |
| Fixed setter count or variable/sample-count sentinel. | |
| TIFFDataType | field_type |
| On-disk TIFFDataType, distinct from the argument representation. | |
| uint32_t | field_anonymous |
| Nonzero for an automatically created unknown-tag descriptor. | |
| TIFFSetGetFieldType | set_get_field_type |
| Internal storage/count representation for tag access and conversion. | |
| unsigned short | field_bit |
| FIELD_* presence index; FIELD_CUSTOM shares storage through the custom list. | |
| unsigned char | field_oktochange |
| Nonzero to permit changes after writing starts; ImageLength is separately exempt. | |
| unsigned char | field_passcount |
| Nonzero for an explicit count argument; tag-specific exceptions still apply. | |
| const char * | field_name |
| Borrowed or anonymous-owned null-terminated name; must remain live while used. | |
| TIFFFieldArray * | field_subfields |
| Borrowed child-directory schema, or NULL; not recursively freed here. | |
Describe a field's file type and internal argument contract.
Built-in descriptors/names are static. Ordinary merged descriptors/names remain borrowed; anonymous descriptors own generated names and are freed by field-table cleanup. Legacy compatibility descriptors are handle-owned and freed at each TIFFDefaultDirectory() call; their names remain borrowed. Do not mutate a registered descriptor: sorted lookup and stored values rely on it.
| uint32_t _TIFFField::field_anonymous |
Nonzero for an automatically created unknown-tag descriptor.
Definition at line 1013 of file tif_dir.h.
Referenced by _TIFFCreateAnonField(), TIFFFieldIsAnonymous(), and TIFFMergeFieldInfo().
| unsigned short _TIFFField::field_bit |
FIELD_* presence index; FIELD_CUSTOM shares storage through the custom list.
Definition at line 1023 of file tif_dir.h.
Referenced by _TIFFCreateAnonField(), _TIFFPrintFieldInfo(), _TIFFSetupFields(), _TIFFVGetField(), _TIFFVSetField(), JPEGVSetField(), OJPEGVSetField(), TIFFCleanup(), TIFFMergeFieldInfo(), TIFFReadCustomDirectory(), TIFFReadDirectory(), TIFFUnsetField(), TIFFVGetField(), and TIFFWriteDirectorySec().
| const char* _TIFFField::field_name |
Borrowed or anonymous-owned null-terminated name; must remain live while used.
Definition at line 1038 of file tif_dir.h.
Referenced by _TIFFCreateAnonField(), _TIFFFindFieldByName(), _TIFFPrintField(), _TIFFPrintFieldInfo(), _TIFFSetupFields(), _TIFFVGetField(), _TIFFVSetField(), CheckDirCount(), OkToChangeTag(), tagNameCompare(), TIFFCleanup(), TIFFFetchNormalTag(), TIFFFetchStripThing(), TIFFFieldName(), TIFFMergeFieldInfo(), TIFFPrintDirectory(), TIFFReadCustomDirectory(), TIFFReadDirectory(), TIFFReadDirEntryPersampleShort(), and TIFFWriteDirectorySec().
| unsigned char _TIFFField::field_oktochange |
Nonzero to permit changes after writing starts; ImageLength is separately exempt.
Definition at line 1028 of file tif_dir.h.
Referenced by _TIFFCreateAnonField(), _TIFFPrintFieldInfo(), OkToChangeTag(), and TIFFMergeFieldInfo().
| unsigned char _TIFFField::field_passcount |
Nonzero for an explicit count argument; tag-specific exceptions still apply.
Definition at line 1033 of file tif_dir.h.
Referenced by _TIFFCreateAnonField(), _TIFFPrintFieldInfo(), _TIFFVGetField(), _TIFFVSetField(), TIFFFetchNormalTag(), TIFFFieldPassCount(), TIFFMergeFieldInfo(), TIFFPrintDirectory(), and TIFFWriteDirectorySec().
| short _TIFFField::field_readcount |
Fixed getter count or TIFF_VARIABLE/TIFF_VARIABLE2/TIFF_SPP rule.
Definition at line 1001 of file tif_dir.h.
Referenced by _TIFFCreateAnonField(), _TIFFPrintFieldInfo(), _TIFFVGetField(), TIFFFetchNormalTag(), TIFFFieldReadCount(), TIFFMergeFieldInfo(), TIFFPrintDirectory(), TIFFReadCustomDirectory(), and TIFFWriteDirectorySec().
| TIFFFieldArray* _TIFFField::field_subfields |
Borrowed child-directory schema, or NULL; not recursively freed here.
Definition at line 1043 of file tif_dir.h.
Referenced by _TIFFCreateAnonField(), and TIFFMergeFieldInfo().
| uint32_t _TIFFField::field_tag |
Tag identifier in this schema namespace.
Definition at line 995 of file tif_dir.h.
Referenced by _TIFFCreateAnonField(), _TIFFPrintField(), _TIFFPrintFieldInfo(), _TIFFVGetField(), _TIFFVSetField(), tagCompare(), TIFFFetchNormalTag(), TIFFFieldTag(), TIFFFindField(), TIFFGetTagListEntry(), TIFFMergeFieldInfo(), TIFFPrintDirectory(), TIFFReadCustomDirectory(), TIFFReadDirectoryFindFieldInfo(), TIFFUnsetField(), and TIFFWriteDirectorySec().
| TIFFDataType _TIFFField::field_type |
On-disk TIFFDataType, distinct from the argument representation.
Definition at line 1009 of file tif_dir.h.
Referenced by _TIFFCreateAnonField(), _TIFFFindFieldByName(), _TIFFPrettyPrintField(), _TIFFPrintField(), _TIFFPrintFieldInfo(), _TIFFVGetField(), _TIFFVSetField(), tagCompare(), tagNameCompare(), TIFFFieldDataType(), TIFFFindField(), TIFFMergeFieldInfo(), TIFFPrintDirectory(), TIFFReadCustomDirectory(), and TIFFWriteDirectorySec().
| short _TIFFField::field_writecount |
Fixed setter count or variable/sample-count sentinel.
Definition at line 1003 of file tif_dir.h.
Referenced by _TIFFCreateAnonField(), _TIFFPrintFieldInfo(), _TIFFVSetField(), TIFFFieldWriteCount(), and TIFFMergeFieldInfo().
| TIFFSetGetFieldType _TIFFField::set_get_field_type |
Internal storage/count representation for tag access and conversion.
Definition at line 1018 of file tif_dir.h.
Referenced by _TIFFCreateAnonField(), TIFFFetchNormalTag(), TIFFFieldSetGetCountSize(), TIFFFieldSetGetSize(), TIFFMergeFieldInfo(), TIFFReadCustomDirectory(), and TIFFWriteDirectorySec().