basecurve tool: switch to getopt for options
Mark internal functions as static
basecurve tool: add support for a save state, to average over several shots
basecurve tool: fixes and more checks
basecurve tool: mistaken local include, use system header
basecurve tool: add support for reading Maker and Model from specified file's exif
basecurve tool: improve help message
interpolation: OpenCL implementation of interpolation_resample

implementation with naive 1:1 copy of CPU code. as to be expected this is
slow as hell combined with a huge workload on the gpu
Merge branch 'master' into interpolation
basecurve tool: print a*b* channels too, and switch to Lab D50 just like DT pipe
basecurve tool: compute and save bot basecurve and tonecurve in one run
basecurve tool: fit a* and b*
basecurve tool: remove unused define
Merge branch 'master' into interpolation
opencl, interpolation: a bit less naive implementation
opencl, interpolation: make better use of local memory

speed wise this should now be ahead of the CPU code
opencl, interpolation: small fix and some added comments
basecurve tool: fix test for ab scaling
basecurve tool: add an helper script to use embedded JPEG files from Nikon/Canon RAWs
Bug 9807: Correct Olympus Focus Distance

Originally the Focus Distance seems to be stored in a Rational (Fractional) format.

There seems to be some confusion about where the stored value is in centimeters versus millimeters.

This confusion seems to stem from the fact that some implementations seem to ignore the denominator of 10,
using the numerator directly (and incorrectly).

Exiv2's toFloat function properly divides the numerator by the denominator when outputting a Float (as centimeters).

So we need to divide by 100 to get meters.
(cherry picked from commit e32e81be92e8cfba9b728b272828da2173e8b3fc)