exiv2/src
clanmills 90f9f0bc19
Add support for Exif.Canon.AF tags to be read from images
This PR (and fix981_canonAutoFocus2) use a decoder listed in TiffMappingInfo to
decode Exif.Canon.AFInfo. The decoding function "manufactures" Exif tags such as
Exif.Canon.AFNumPoints from the data in Exif.Canon.AFInfo. These tags must never
be written to file and are removed from the metadata in
exif.cpp/ExifParser::encode().

Three of the tags created (AFPointsInFocus,AFPointsSelected, AFPrimaryPoint) are
bitmasks. As the camera can have up to 64 focus points, the tags are a 64 bit
mask to say which points are active. The function printBitmask() reports data
such as 1,2,3 or (none).

This decoding function decodeCanonAFInfo() added to TiffMappingInfo manufactures
the new tags. Normally, tags are processed by the binary tag decoder and that
approach was taken in branch fix981_canonAf. However, the binary tag decoder
cannot deal with AFInfo because the size of some metadata arrays cannot be
determined at compile time.
2019-09-14 11:28:18 +02:00
..
actions.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
actions.hpp cleanup header inclusions in API 2019-01-11 15:55:25 +01:00
asfvideo.cpp cleanup header inclusions in API 2019-01-11 15:55:25 +01:00
basicio.cpp Add bounds check to MemIo::seek(). (#944) 2019-07-28 12:43:06 +02:00
bigtiffimage.cpp cleanup header inclusions in API 2019-01-11 15:55:25 +01:00
bmpimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
canonmn_int.cpp Add support for Exif.Canon.AF tags to be read from images 2019-09-14 11:28:18 +02:00
canonmn_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
casiomn_int.cpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
casiomn_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
CMakeLists.txt Pushing very helpful suggestion by @lantw44 2019-07-17 22:30:18 +02:00
convert.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
cr2header_int.cpp Fix bug in Cr2Header::read 2018-05-26 18:19:40 +02:00
cr2header_int.hpp Add explicit to constructors with 1 argument 2018-11-07 23:17:26 +01:00
cr2image.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
crwimage_int.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
crwimage_int.hpp Throw an exception if the data location is invalid. (#842) 2019-05-15 11:12:02 +02:00
crwimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
datasets.cpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
doxygen.hpp.in Add README-SAMPLES.md and remove exiv2samples.1 (#921) 2019-06-25 23:06:39 +02:00
easyaccess.cpp Fix #561. Use proper counter for the idx variable 2018-11-26 16:39:00 +01:00
enforce.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
epsimage.cpp Remove deprecated code from version source files 2018-09-14 07:43:21 +02:00
error.cpp Pushing very helpful suggestion by @lantw44 2019-07-17 22:30:18 +02:00
exif.cpp Add support for Exif.Canon.AF tags to be read from images 2019-09-14 11:28:18 +02:00
exiv2.1 Update man page src/exiv2.1 to clarify overwrite policy with command rename 2019-06-04 09:49:54 -04:00
exiv2.cpp Fix 547: option -pR only available in Debug mode. 2018-11-22 18:19:08 +01:00
exiv2app.hpp Include unistd.h only where it is needed 2018-11-11 12:27:26 +01:00
fff.h #1149. Added fff.h (from plir.com) and code strengthening. 2016-01-10 19:02:38 +00:00
fujimn_int.cpp Update fujiColor tag with descriptions for new Fujifilm monochrome modes 2018-11-07 12:56:23 +01:00
fujimn_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
futils.cpp Updated following code review. 2019-06-10 22:02:51 +01:00
getopt.cpp Fix -vVg loops 2018-11-16 13:10:43 +01:00
getopt.hpp Changes for cross-platform getopt 2018-09-01 20:19:45 +02:00
gifimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
helper_functions.cpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
helper_functions.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
http.cpp Avoid null pointer exception due to NULL return value from strchr. 2019-05-04 15:45:10 +02:00
i18n.h Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
image_int.cpp Add missing inclusions of cstdio and cstdarg 2018-11-11 12:27:26 +01:00
image_int.hpp Fix compilation in clang 2018-11-07 23:17:26 +01:00
image.cpp Fix #531 2018-12-09 18:54:40 +01:00
ini.cpp Add explicit to constructors with 1 argument 2018-11-07 23:17:26 +01:00
iptc.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
jp2image.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
jpgimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
localtime.c Fix: https://github.com/Exiv2/exiv2/issues/571 2018-11-30 14:18:17 +01:00
makernote_int.cpp fix646_NikonAF22 2019-06-18 21:29:55 +02:00
makernote_int.hpp fix646_NikonAF22 2019-06-18 21:29:55 +02:00
matroskavideo.cpp cleanup header inclusions in API 2019-01-11 15:55:25 +01:00
metadatum.cpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
minoltamn_int.cpp Fix: https://github.com/Exiv2/exiv2/issues/577 2018-12-09 18:54:40 +01:00
minoltamn_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
mrwimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
nikonmn_int.cpp add ID for Sigma APO MACRO 180mm F3.5 EX DG (nikon) 2019-08-28 13:53:06 +02:00
nikonmn_int.hpp fix646_NikonAF22 2019-06-18 21:29:55 +02:00
olympusmn_int.cpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
olympusmn_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
orfimage_int.cpp add _int suffix to all the internal files 2017-11-28 17:36:08 +01:00
orfimage_int.hpp Add explicit to constructors with 1 argument 2018-11-07 23:17:26 +01:00
orfimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
panasonicmn_int.cpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
panasonicmn_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
pentaxmn_int.cpp Reduce the scope of variables 2018-11-07 23:17:26 +01:00
pentaxmn_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
pgfimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
pngchunk_int.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
pngchunk_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
pngimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
preview.cpp Add bounds check. (#840) 2019-05-15 08:58:38 +02:00
private.h Remove obsolete svn revision 2017-11-19 11:17:11 +01:00
properties.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
psdimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
quicktimevideo.cpp cleanup header inclusions in API 2019-01-11 15:55:25 +01:00
rafimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
riffvideo.cpp cleanup header inclusions in API 2019-01-11 15:55:25 +01:00
rw2image_int.cpp add _int suffix to all the internal files 2017-11-28 17:36:08 +01:00
rw2image_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
rw2image.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
safe_op.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
samsungmn_int.cpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
samsungmn_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
sigmamn_int.cpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
sigmamn_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
sonymn_int.cpp Add support for FocusPosition in Sony RAW files (#906) 2019-06-26 21:36:59 +02:00
sonymn_int.hpp Add support for FocusPosition in Sony RAW files (#906) 2019-06-26 21:36:59 +02:00
ssh.cpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
tags_int.cpp Add support for Exif.Canon.AF tags to be read from images 2019-09-14 11:28:18 +02:00
tags_int.hpp Add support for Exif.Canon.AF tags to be read from images 2019-09-14 11:28:18 +02:00
tags.cpp Initialize variable in constructor initialization list 2018-11-07 23:17:26 +01:00
tgaimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
tiffcomposite_int.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
tiffcomposite_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
tifffwd_int.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
tiffimage_int.cpp Add support for Exif.Canon.AF tags to be read from images 2019-09-14 11:28:18 +02:00
tiffimage_int.hpp Add explicit to constructors with 1 argument 2018-11-07 23:17:26 +01:00
tiffimage.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
tiffvisitor_int.cpp Add support for Exif.Canon.AF tags to be read from images 2019-09-14 11:28:18 +02:00
tiffvisitor_int.hpp Add support for Exif.Canon.AF tags to be read from images 2019-09-14 11:28:18 +02:00
timegm.h Add back localtime.c implementation for MinGW 2018-10-30 15:26:23 +01:00
TODO typo (GNU compliant) 2010-04-20 09:01:57 +00:00
types.cpp bindtextdomain point to relative path to bin directory 2018-11-11 12:27:26 +01:00
tzfile.h Remove obsolete svn revision 2017-11-19 11:17:11 +01:00
unused.h Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
utils.cpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
utils.hpp Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
utilsvideo.cpp removinf usage of EXIV2_DEPRECATED macro 2019-02-02 09:52:39 +01:00
value.cpp Add missing inclusions of cstdio and cstdarg 2018-11-11 12:27:26 +01:00
version.cpp DLL information depends now on proper definition 2019-06-15 14:07:51 +02:00
webpimage.cpp Fix integer overflow by checking size against header_size 2019-07-15 22:35:51 +02:00
xmp.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00
xmpsidecar.cpp Replace DEBUG with EXIV2_DEBUG_MESSAGES 2019-07-12 11:14:35 +02:00