13 Commits

Author SHA1 Message Date
Flössie
29fe23e517 Move film_simulation_strength calculation into HaldCLUT::getRGB()
- Moved `film_simulation_strength` calculation into `HaldCLUT::getRGB()`
- Removed unneeded base class `CLUT`
- Used `_MM_SHUFFLE`
2016-04-29 17:26:56 +02:00
Flössie
e495093b18 Clean up clutstore.* and add LRU cache
This commit adds a true LRU cache to `rtengine` which is used in the new
`CLUTStore` class. The code in `clutstore.*` was cleaned up with C++11
features and small optimizations taken from my `clutbench` project.
The `CLUTStore` class was converted to a true singleton.
2016-04-23 22:55:28 +02:00
Adam Reichold
a2eea7c265 Finally fully remove the safegtk module. 2016-02-21 10:26:11 +01:00
Adam Reichold
5499974ffa Fix #3121 by asking the user if a slow CLUT scan should be cancelled. 2016-01-27 21:18:50 +01:00
Adam Reichold
75e605012a Fix logic error in extension checks for loading ICC and CLUT files. 2016-01-17 16:21:57 +01:00
Adam Reichold
250e06884d Only notify the user once if the parseDir method of the film simulation is slow. 2016-01-12 17:31:13 +01:00
Adam Reichold
bf2c24a48f Limit CLUT file search by wall time instead of number of directories and files. 2016-01-11 23:42:59 +01:00
Adam Reichold
93d497573a Only sort those CLUT file names which are actually regular files. 2016-01-11 22:57:32 +01:00
Adam Reichold
cc585058ab Limit the recusrion depth, direction and file count of the search for CLUT files. 2016-01-11 20:58:36 +01:00
Adam Reichold
b8aa69c8d5 Fix SIGSEGV on startup if ClutsDirectory is empty by always creating a model. 2016-01-11 18:57:45 +01:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
DrSlony
effb46c3e1 Line endings 2015-08-11 11:53:44 +02:00
torger
d5ca351c20 Issue 2134: removed obsolete raw highlight preservation setting from GUI (still left in procparams for backwards compatilibility) 2015-07-10 12:00:36 +02:00