Commit Graph

500 Commits

Author SHA1 Message Date
Flössie
f639cd6b82 Use Image16 instead of Imagefloat for CLUT
Gain speed and reduce memory by using Image16 instead of Imagefloat for
the CLUT.
2016-04-23 22:55:28 +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
heckflosse
e61e488346 small speedup for lut += operator 2016-04-23 22:45:40 +02:00
heckflosse
d153b55493 Reduce default strength of raw ca-auto-correction 2016-04-23 20:31:35 +02:00
heckflosse
a79e4bc24b small correction to last commit 2016-04-22 13:25:52 +02:00
heckflosse
e0e52fbffc replace all __attribute__ ((aligned (16))) with ALIGNED16 2016-04-22 12:54:53 +02:00
heckflosse
58fb7af2bb Unstable output w/ same PP3 and RAW CA auto-correction when image height % 2 == 1, fixes #3258 2016-04-21 20:51:47 +02:00
heckflosse
f7af57d11e Allow lcp vignetting correction for lenses without focal length information (e.g. lenses without chip) 2016-04-12 13:38:45 +02:00
heckflosse
8e4c4be6d6 Allow lcp distortion correction for lenses without focal length information (e.g. lenses without chip) 2016-04-12 13:38:27 +02:00
heckflosse
44b9fdaae8 Fix crash and freeze opening files with GMCY cfa (e.g. Canon Powershot G1) 2016-04-11 17:06:54 +02:00
Desmis
324b54bb46 extend the limit of the tint slider to 10 for IR 2016-04-10 07:26:51 +02:00
heckflosse
86d7d9063f correction for LUT += operator, fixes #3245 2016-04-08 12:46:08 +02:00
Ingo Weyrich
f64e3deea4 Merge pull request #3242 from Beep6581/ris_speedup
Speedup for getAutoExpHistogram and getAutoWBMultipliers. += operator for lookup tables (handy to sum up per thread built histograms)
2016-04-07 18:45:04 +02:00
heckflosse
1eb37d7730 LUT.h: new += operator to sum up per thread histograms; RawImageSource::getRAWHistogram: very small speedup 2016-04-07 18:34:39 +02:00
Ingo Weyrich
05aed401da Merge pull request #3239 from Beep6581/xtransnew
Merge xtrans speedups into master
2016-04-03 18:28:08 +02:00
heckflosse
4858315e24 xtrans_interpolate: removed benchmark code and astyled 2016-04-03 18:24:40 +02:00
heckflosse
d629006252 Speedup for getAutoExpHistogram and getAutoWBMultipliers 2016-04-03 17:40:03 +02:00
heckflosse
a053f38059 11% speedup for xtrans demosaic 2016-03-24 13:40:16 +01:00
heckflosse
f6cb2579d0 fix possible buffer overrun in raw ca correction 2016-03-22 17:46:30 +01:00
heckflosse
bfc0505320 xtrans demosaic: 4% speedup and disabled CLIP 2016-03-22 17:29:48 +01:00
Ingo Weyrich
71dd6a6e59 Merge pull request #3228 from Beep6581/xtransnew
Speedup for xtrans demosaic
2016-03-20 01:45:01 +01:00
heckflosse
db275b1f91 removed benchamrk code from xtrans demosaic 2016-03-20 01:32:10 +01:00
heckflosse
636d0be314 about 4% speedup for xtrans demosaic 2016-03-15 19:21:07 +01:00
heckflosse
703b3edb0a Don't demosaic again when changing 'False Colour Suppression Steps 2016-03-14 17:40:19 +01:00
Ingo Weyrich
bc38a58297 Merge pull request #3215 from Beep6581/falsecoloursuppression
Speedups for raw false colour suppression
2016-03-13 23:25:36 +01:00
heckflosse
6434460efb removed benchmark code from raw false colour suppression 2016-03-13 23:23:32 +01:00
heckflosse
c200c266c0 5% speedup for raw false colour suppression 2016-03-13 17:15:31 +01:00
heckflosse
9b2e197172 Fixed copy/paste bug in processFalseColorCorrectionThread 2016-03-13 14:25:33 +01:00
heckflosse
13b49f8a54 Use fabs instead of fabsf in LinEqSolve 2016-03-13 14:02:08 +01:00
heckflosse
8c4c8ac175 One less operation in MIDDLE4OF6 2016-03-13 13:49:46 +01:00
heckflosse
a55167bde8 24% speedup for raw false colour suppression 2016-03-12 23:32:25 +01:00
heckflosse
4fdcfbd8df 10% speedup for raw false colour suppression 2016-03-12 00:11:21 +01:00
heckflosse
dadbd71e58 Speedup for xtrans demosaic 2016-03-09 23:57:37 +01:00
heckflosse
1d64c651cf Raw false colour suppression: additional 25% speedup 2016-03-06 17:34:45 +01:00
heckflosse
2f2421442b Raw false colour suppression: additional 38% speedup 2016-03-06 01:14:35 +01:00
heckflosse
8619fd8a0b 25% speedup for raw false colour suppression 2016-03-05 18:50:26 +01:00
Adam Reichold
72283f867d Fix #3191 which was due to a typo when calling atan2 during polar coordinate conversion. 2016-03-02 22:04:48 +01:00
Ingo Weyrich
c9b89f3d19 Merge pull request #3189 from Beep6581/cacorrect
Speedup and code review for raw ca correction
2016-03-02 17:11:43 +01:00
heckflosse
1ddd7b6e3f Small optimization for ca correction 2016-03-02 17:10:02 +01:00
heckflosse
d00c895b3d Hide new auto ca-correction strength slider to merge the ca-correction speedups into master 2016-03-01 22:07:41 +01:00
Ingo Weyrich
4df5e64056 Merge pull request #3188 from Beep6581/cbdlbw
Adapt Cbdl to B&W tools
2016-03-01 20:31:14 +01:00
heckflosse
9df905aa14 Set default method for cbdl to 'before b&w' 2016-03-01 20:21:51 +01:00
heckflosse
755f7568bb removed big block of inactive code which I forgot to remove in last commit 2016-03-01 19:30:48 +01:00
heckflosse
51de80b558 Fixed bug with combination of cbdl and ciecam, cleaned code, made SSE version for lab2rgb 2016-03-01 19:16:34 +01:00
heckflosse
777b08f7f6 Futher speedup for auto ca correction and cleaned code 2016-03-01 00:51:19 +01:00
heckflosse
cbc88a5804 Additional Speedup for CA-Correction, also included a prototype to allow strength of Auto-CA-correction 2016-02-28 22:08:07 +01:00
Ingo Weyrich
5788dabf0d Merge pull request #3172 from Beep6581/lut-and-init-cleanup
Reduce start time and memory usage by removing redundant lookup tables and filling remaining lookup tables in parallel. Also replaced all x^(1/3) with std::cbrt
2016-02-27 15:07:19 +01:00
heckflosse
6b5db692e1 Reduce cache conflicts in correction pass of raw CA correction 2016-02-26 22:29:48 +01:00
heckflosse
84f58da6ff Eliminate all pow() calls in CA_correct_RT.cc 2016-02-26 22:08:33 +01:00
heckflosse
f0113b8f57 Removed benchmark code and made Color::gammatabThumb a LUTuc 2016-02-25 19:14:00 +01:00