exiv2/tests
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
..
bugfixes Add support for Exif.Canon.AF tags to be read from images 2019-09-14 11:28:18 +02:00
tiff_test [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
__init__.py Added replacement for the current regression test suite 2018-01-05 00:42:45 +01:00
doc.md [testsuite] Add option to run all commands under valgrind 2018-08-30 16:26:56 +02:00
runner.py [testsuite] Add option to run tests from a single file only 2018-08-27 23:28:03 +02:00
suite.conf Tests: increase timeout 2018-11-11 12:27:26 +01:00
system_tests.py [testsuite] Add support for binary output to check_no_ASAN_UBSAN_errors 2018-09-13 11:18:29 +02:00
writing_tests.md [testsuite] Adapt documentation to recent changes 2018-04-23 10:17:17 +02:00