basecurve tool: stand clearly we suppose the JPEG file is sRGB
basecurve tool: add tentative tonecurve support, still incomplete
basecurve tool: allow easy compilation of optimized binary
Exposure IOP: Deflicker (port from Magic Lantern)
basecurve tool: make some functions static, move usage to own function
basecurve tool: single exit point in main to avoid leaks in error paths
basecurve tool: add license header
basecurve tool: add gnuplot script for tonecurve
basecurve tool: make it easier to add tonecurve presets
basecurve tool: print sqlite command for inserting the preset
basecurve tool: output a valid script on stdout
basecurve tool: cleanup hexify
basecurve tool: move BE detection to own function
basecurve tool: explicit the modules' param version
basecurve tool: factor curve resolution in define
basecurve tool: compute ab channels too, for now not working
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