Merge pull request #3256 from Floessie/haldclut-revision

HaldCLUT revision and speedup (kudos to Floessie for this great work)
This commit is contained in:
Ingo Weyrich
2016-05-01 21:49:16 +02:00
11 changed files with 708 additions and 560 deletions

View File

@@ -861,7 +861,7 @@ IImage16* processImage (ProcessingJob* pjob, int& errorCode, ProgressListener* p
// if clut was used and size of clut cache == 1 we free the memory used by the clutstore (default clut cache size = 1 for 32 bit OS)
if ( params.filmSimulation.enabled && !params.filmSimulation.clutFilename.empty() && options.clutCacheSize == 1) {
clutStore.clearCache();
CLUTStore::getInstance().clearCache();
}
// freeing up some memory