Commit Graph

2547 Commits

Author SHA1 Message Date
Flössie
5cbff43191 Finalize median.h
- Added median 13, 49, and 81
- Integrated Ingo's SSE optimization for "5x5 strong"
- Converted `MIDDLE4OF6`
- Refactored `enum mediantype`
2016-06-28 21:49:07 +02:00
Flössie
a3bfd035fa Fix bug found by @heckflosse (#3346) 2016-06-27 21:00:18 +02:00
Flössie
1275659a91 Removed another pixSort() and improved two places (#3346) 2016-06-26 15:28:04 +02:00
Flössie
787a892737 Make further use of median() and replace ULIM and ULIMV (#3346) 2016-06-26 15:14:45 +02:00
heckflosse
cb05456746 Fix broken decode for files from Sony DSC-RX1RM2, fixes #3358 2016-06-24 14:47:46 +02:00
Flössie
d82956bbe5 Add optimized median25 and kill old macros (#3346) 2016-06-21 20:50:42 +02:00
heckflosse
e4a7287650 Removed StopWatches and cleaned code 2016-06-18 16:04:54 +02:00
heckflosse
aab8bad391 Let the compiler optimize instead of using handwritten SSSE3 code, same speed 2016-06-18 14:04:00 +02:00
heckflosse
88685c66f6 SSS3 code to speedup save to 8bit formats (mainly for 8bit tiff and jpeg) 2016-06-17 17:56:34 +02:00
Ingo Weyrich
da9e760403 Merge pull request #3345 from Beep6581/cr2_decode_speedup
Speedup for cr2 decode
2016-06-17 17:08:15 +02:00
heckflosse
d4f8c1f9d1 Removed StopWatch and updated dcraw.patch file 2016-06-17 16:59:14 +02:00
heckflosse
05d7abb5e0 Fix merge conflicts 2016-06-17 16:11:47 +02:00
heckflosse
b8b98e0924 Disabled StopWatch 2016-06-17 15:55:20 +02:00
Flössie
45a572e65b Add general 7-arguments-median (#3346)
This was found on http://www.cs.hut.fi/~cessu/selection/, tested,
inlined, and optimized. Needs at most 10 compares.
2016-06-15 21:30:08 +02:00
Morgan Hardwood
ed4f439f94 Merge branch 'master' into gtk3 2016-06-15 11:09:57 +02:00
Flössie
2fa1ad138e Start median rework (#3346)
- Added basic algorithms to `rtengine/median.h`
- Converted first occurrences
2016-06-14 22:08:03 +02:00
heckflosse
5703eb5ebc Fix some compiler warnings 2016-06-12 21:03:44 +02:00
heckflosse
c11465e46a Fix segfault when Flatfield blur radius == 0 2016-06-12 20:56:55 +02:00
heckflosse
f794cf684b Speedup for cr2 decode 2016-06-12 18:13:01 +02:00
heckflosse
a32e13400b Removed stopwatches 2016-06-12 13:32:08 +02:00
heckflosse
4a1fb9ae4a removed wrong comment 2016-06-12 12:55:54 +02:00
Flössie
97dae796c6 Additional cleanups for dcp.* (#3343) 2016-06-12 12:08:34 +02:00
heckflosse
65306973b1 Speedup for Flat-Field correction, fixes #3253, also introduces changed formatting to switch statements caused by new astyle profile 2016-06-11 22:18:59 +02:00
Morgan Hardwood
038f53aded Merge branch 'master' into gtk3 2016-06-11 16:55:53 +02:00
heckflosse
b8749f8484 dcp speedup cleanup 2016-06-10 18:30:07 +02:00
Flössie
49a6af275e Add some omitted std:: prefixes in dcp.cc
Those could hinder Marcin's SUSE builds.
2016-06-10 16:19:55 +02:00
heckflosse
a889396e44 Fix compile bug, fixes #3340 2016-06-10 01:38:24 +02:00
heckflosse
eedb9f39bc Another 'small' speedup for dcp 2016-06-10 00:20:03 +02:00
heckflosse
3aa9947a37 Forgot to add dcp.cc with last commit 2016-06-09 23:43:55 +02:00
heckflosse
c086177032 Speedup for DCPProfile::apply 2016-06-09 23:42:32 +02:00
Beep6581
ca71a0b7d2 Merge branch 'master' into gtk3 2016-06-09 23:36:02 +02:00
Beep6581
3da7d84ba9 Revert "Merged master into gtk3, fixed three conflicts."
This reverts commit c857bba95e.
2016-06-09 23:24:55 +02:00
Beep6581
c857bba95e Merged master into gtk3, fixed three conflicts. 2016-06-09 22:36:59 +02:00
heckflosse
b50de693a0 Replace expensive dcp srgb gamma calculations by access to lookup table => no difference in output and much faster 2016-06-09 21:49:13 +02:00
Flössie
47aa3402ae Finalize dcp.* cleanup (#3304)
- Introduce DCPProfile::Triple and DCPProfile::Matrix
- Hide DCPProfile::ApplyState internals
- Refactor the rest
2016-06-09 19:08:46 +02:00
Flössie
8ee8eb4ed6 Another bunch of cleanups
- DCPProfile::apply()
- DCPProfile::makeHueSatMap()
- DCPProfile::hsdApply()
- Refactoring

More to come...
2016-06-07 21:04:12 +02:00
Floessie
2abd641c06 Refactor DCPProfile::DCPProfile()
- Rename members
- Styling
- C++11

Still to come:
- All the rest of DCPProfile
2016-06-05 21:30:51 +02:00
Floessie
e0ca8ecdff First round of cleanups for rtengine/dcp.*
- Sorted functions and methods
- Moved local functions to anonymous namespace
- Slightly modernized local functions
- Reworked `DCPStore` and fixed memory leak

Still coming:
- Rework `DCPProfile`
2016-06-04 22:43:09 +02:00
Floessie
a520c93775 Add Ingo's patch for #3304 2016-06-04 21:07:41 +02:00
heckflosse
8e3c9bfdaf Fix broken dcp tonecurve and lookup table 2016-06-04 12:15:06 +02:00
Desmis
564bf62268 Fixed special handling of chroma=-100 2016-06-03 08:42:26 +02:00
heckflosse
d719dd385e Fix possible issues when building with clang 2016-06-02 23:10:57 +02:00
Beep6581
10f4bf3109 Merged master into rgbcurvesspeedup. 2016-06-02 22:33:34 +02:00
heckflosse
ba53481750 Disable #pragma omp simd statement for clang builds, fixes #3324 2016-06-02 18:15:55 +02:00
heckflosse
f885b17439 Small speedup for bilinear resize (used for thumbnails) 2016-06-02 15:25:08 +02:00
heckflosse
c63cd8dd76 Apply white balance for thumbnails in float precision => more accurate and also faster than before with int precision 2016-06-01 22:30:48 +02:00
heckflosse
b31225672a Some new improvements to speed of curve generation (mainly to speedup thumb processing in file browser) 2016-05-31 23:47:01 +02:00
heckflosse
d57eec1628 Update for camconst.json, kudos to Ilias 2016-05-30 13:46:08 +02:00
Desmis
6dba58e26e fixed special handling of chroma = -100 2016-05-30 09:11:07 +02:00
Ingo Weyrich
fe8c8bfc99 Merge pull request #3316 from Beep6581/dcrawupdate
Update to dcraw 9.27
2016-05-29 22:39:56 +02:00