You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
6 years ago
..
bugfixes Add support for Exif.Canon.AF tags to be read from images 6 years ago
tiff_test [testsuite] Addapt tests to new test suite structure 7 years ago
__init__.py Added replacement for the current regression test suite 8 years ago
doc.md [testsuite] Add option to run all commands under valgrind 7 years ago
runner.py [testsuite] Add option to run tests from a single file only 7 years ago
suite.conf Tests: increase timeout 7 years ago
system_tests.py [testsuite] Add support for binary output to check_no_ASAN_UBSAN_errors 7 years ago
writing_tests.md [testsuite] Adapt documentation to recent changes 7 years ago