Home
last modified time | relevance | path

Searched refs:tifftype (Results 1 – 17 of 17) sorted by relevance

/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/include/OpenImageIO/
H A Dtiffutils.h138 OIIO_API TypeDesc tiff_datatype_to_typedesc (TIFFDataType tifftype, size_t tiffcount=1);
145 OIIO_API size_t tiff_data_size (TIFFDataType tifftype);
178 int &tifftype, int &count);
228 : tifftag(tag), name(name), tifftype(type), tiffcount(count), in tifftag()
233 TIFFDataType tifftype = TIFF_NOTYPE; // Data type that TIFF wants member
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/include/OpenImageIO/
H A Dtiffutils.h138 OIIO_API TypeDesc tiff_datatype_to_typedesc (TIFFDataType tifftype, size_t tiffcount=1);
145 OIIO_API size_t tiff_data_size (TIFFDataType tifftype);
178 int &tifftype, int &count);
228 : tifftag(tag), name(name), tifftype(type), tiffcount(count), in tifftag()
233 TIFFDataType tifftype = TIFF_NOTYPE; // Data type that TIFF wants member
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/libOpenImageIO/
H A Dxmp.cpp307 int tag = -1, tifftype = -1, count = 0; in add_attrib() local
309 && (exif_tag_lookup(xmlname, tag, tifftype, count) in add_attrib()
310 || exif_tag_lookup(xmlname.substr(5), tag, tifftype, count))) { in add_attrib()
312 if (tifftype == TIFF_SHORT && count == 1) in add_attrib()
314 else if (tifftype == TIFF_LONG && count == 1) in add_attrib()
316 else if ((tifftype == TIFF_RATIONAL || tifftype == TIFF_SRATIONAL) in add_attrib()
320 } else if (tifftype == TIFF_ASCII) in add_attrib()
322 else if (tifftype == TIFF_BYTE && count == 1) in add_attrib()
324 else if (tifftype == TIFF_NOTYPE) in add_attrib()
H A Dexif-canon.cpp973 encode_indexed_tag (int tifftag, TIFFDataType tifftype, // TIFF tag and type in encode_indexed_tag() argument
993 append_tiff_dir_entry (dirs, data, tifftag, tifftype, in encode_indexed_tag()
1012 if (t.tifftype == TIFF_ASCII) { in encode_canon_makernote()
1018 append_tiff_dir_entry (makerdirs, data, t.tifftag, t.tifftype, in encode_canon_makernote()
H A Dexif.cpp91 TagMap::tifftype(int tag) const in tifftype() function in TagMap
94 return i == m_impl->m_tagmap.end() ? TIFF_NOTYPE : i->second->tifftype; in tifftype()
155 tiff_data_size(TIFFDataType tifftype) in tiff_data_size() argument
160 int dir_index = (int)tifftype; in tiff_data_size()
179 tiff_datatype_to_typedesc(TIFFDataType tifftype, size_t tiffcount) in tiff_datatype_to_typedesc() argument
183 switch (tifftype) { in tiff_datatype_to_typedesc()
885 else if (taginfo->tifftype != TIFF_NOTYPE) in read_exif_tag()
939 TIFFDataType type = tagmap.tifftype(tag); in encode_exif_entry()
1462 exif_tag_lookup(string_view name, int& tag, int& tifftype, int& count) in exif_tag_lookup() argument
1469 tifftype = e->tifftype; in exif_tag_lookup()
H A Dexif.h83 TIFFDataType tifftype (int tag) const;
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/libOpenImageIO/
H A Dxmp.cpp307 int tag = -1, tifftype = -1, count = 0; in add_attrib() local
309 && (exif_tag_lookup(xmlname, tag, tifftype, count) in add_attrib()
310 || exif_tag_lookup(xmlname.substr(5), tag, tifftype, count))) { in add_attrib()
312 if (tifftype == TIFF_SHORT && count == 1) in add_attrib()
314 else if (tifftype == TIFF_LONG && count == 1) in add_attrib()
316 else if ((tifftype == TIFF_RATIONAL || tifftype == TIFF_SRATIONAL) in add_attrib()
320 } else if (tifftype == TIFF_ASCII) in add_attrib()
322 else if (tifftype == TIFF_BYTE && count == 1) in add_attrib()
324 else if (tifftype == TIFF_NOTYPE) in add_attrib()
H A Dexif-canon.cpp973 encode_indexed_tag (int tifftag, TIFFDataType tifftype, // TIFF tag and type in encode_indexed_tag() argument
993 append_tiff_dir_entry (dirs, data, tifftag, tifftype, in encode_indexed_tag()
1012 if (t.tifftype == TIFF_ASCII) { in encode_canon_makernote()
1018 append_tiff_dir_entry (makerdirs, data, t.tifftag, t.tifftype, in encode_canon_makernote()
H A Dexif.cpp91 TagMap::tifftype(int tag) const in tifftype() function in TagMap
94 return i == m_impl->m_tagmap.end() ? TIFF_NOTYPE : i->second->tifftype; in tifftype()
155 tiff_data_size(TIFFDataType tifftype) in tiff_data_size() argument
160 int dir_index = (int)tifftype; in tiff_data_size()
179 tiff_datatype_to_typedesc(TIFFDataType tifftype, size_t tiffcount) in tiff_datatype_to_typedesc() argument
183 switch (tifftype) { in tiff_datatype_to_typedesc()
885 else if (taginfo->tifftype != TIFF_NOTYPE) in read_exif_tag()
939 TIFFDataType type = tagmap.tifftype(tag); in encode_exif_entry()
1462 exif_tag_lookup(string_view name, int& tag, int& tifftype, int& count) in exif_tag_lookup() argument
1469 tifftype = e->tifftype; in exif_tag_lookup()
H A Dexif.h83 TIFFDataType tifftype (int tag) const;
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/tiff.imageio/
H A Dtiffoutput.cpp847 int tag, tifftype, count; in write_exif_data() local
848 if (exif_tag_lookup(p.name(), tag, tifftype, count) in write_exif_data()
849 && tifftype != TIFF_NOTYPE) { in write_exif_data()
880 int tag, tifftype, count; in write_exif_data() local
881 if (exif_tag_lookup(p.name(), tag, tifftype, count) in write_exif_data()
882 && tifftype != TIFF_NOTYPE) { in write_exif_data()
887 if (tifftype == TIFF_ASCII) { in write_exif_data()
889 } else if ((tifftype == TIFF_SHORT || tifftype == TIFF_LONG) in write_exif_data()
892 } else if ((tifftype == TIFF_SHORT || tifftype == TIFF_LONG) in write_exif_data()
895 } else if ((tifftype == TIFF_RATIONAL || tifftype == TIFF_SRATIONAL) in write_exif_data()
[all …]
H A Dtiffinput.cpp48 TIFFDataType tifftype; // Data type that TIFF wants member
219 return TIFFFindField(m_tif, tifftag, tifftype); in find_field()
225 return TIFFFindFieldInfo(m_tif, tifftag, tifftype); in find_field()
363 auto info = find_field(tifftag, tifftype); in find_tag()
369 if (tifftype == TIFF_ASCII) in find_tag()
371 else if (tifftype == TIFF_SHORT) in find_tag()
373 else if (tifftype == TIFF_LONG) in find_tag()
375 else if (tifftype == TIFF_RATIONAL || tifftype == TIFF_SRATIONAL in find_tag()
376 || tifftype == TIFF_FLOAT || tifftype == TIFF_DOUBLE) in find_tag()
1041 find_tag(tag.tifftag, tag.tifftype, tag.name); in readspec()
[all …]
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/tiff.imageio/
H A Dtiffoutput.cpp847 int tag, tifftype, count; in write_exif_data() local
848 if (exif_tag_lookup(p.name(), tag, tifftype, count) in write_exif_data()
849 && tifftype != TIFF_NOTYPE) { in write_exif_data()
880 int tag, tifftype, count; in write_exif_data() local
881 if (exif_tag_lookup(p.name(), tag, tifftype, count) in write_exif_data()
882 && tifftype != TIFF_NOTYPE) { in write_exif_data()
887 if (tifftype == TIFF_ASCII) { in write_exif_data()
889 } else if ((tifftype == TIFF_SHORT || tifftype == TIFF_LONG) in write_exif_data()
892 } else if ((tifftype == TIFF_SHORT || tifftype == TIFF_LONG) in write_exif_data()
895 } else if ((tifftype == TIFF_RATIONAL || tifftype == TIFF_SRATIONAL) in write_exif_data()
[all …]
H A Dtiffinput.cpp48 TIFFDataType tifftype; // Data type that TIFF wants member
219 return TIFFFindField(m_tif, tifftag, tifftype); in find_field()
225 return TIFFFindFieldInfo(m_tif, tifftag, tifftype); in find_field()
363 auto info = find_field(tifftag, tifftype); in find_tag()
369 if (tifftype == TIFF_ASCII) in find_tag()
371 else if (tifftype == TIFF_SHORT) in find_tag()
373 else if (tifftype == TIFF_LONG) in find_tag()
375 else if (tifftype == TIFF_RATIONAL || tifftype == TIFF_SRATIONAL in find_tag()
376 || tifftype == TIFF_FLOAT || tifftype == TIFF_DOUBLE) in find_tag()
1041 find_tag(tag.tifftag, tag.tifftype, tag.name); in readspec()
[all …]
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/raw.imageio/
H A Drawinput.cpp248 exif_parser_cb(ImageSpec* spec, int tag, int tifftype, int len, in exif_parser_cb() argument
258 TypeDesc type = tiff_datatype_to_typedesc(TIFFDataType(tifftype), in exif_parser_cb()
268 size_t size = tiff_data_size(TIFFDataType(tifftype)) * len; in exif_parser_cb()
293 dir.tdir_type = uint16_t(tifftype); in exif_parser_cb()
300 if (taginfo->tifftype == TIFF_NOTYPE) in exif_parser_cb()
302 if (tifftype == TIFF_RATIONAL || tifftype == TIFF_SRATIONAL) { in exif_parser_cb()
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/raw.imageio/
H A Drawinput.cpp248 exif_parser_cb(ImageSpec* spec, int tag, int tifftype, int len, in exif_parser_cb() argument
258 TypeDesc type = tiff_datatype_to_typedesc(TIFFDataType(tifftype), in exif_parser_cb()
268 size_t size = tiff_data_size(TIFFDataType(tifftype)) * len; in exif_parser_cb()
293 dir.tdir_type = uint16_t(tifftype); in exif_parser_cb()
300 if (taginfo->tifftype == TIFF_NOTYPE) in exif_parser_cb()
302 if (tifftype == TIFF_RATIONAL || tifftype == TIFF_SRATIONAL) { in exif_parser_cb()
/dports/graphics/py-imageio/imageio-2.9.0/imageio/plugins/
H A D_tifffile.py1185 tifftype = TIFF.DATA_DTYPES[dtype]
1209 ifdentry = [pack('HH', code, tifftype),