Commit Graph

4415 Commits

Author SHA1 Message Date
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
heckflosse
119fbfcd0b Updated dcraw.patch file 2016-05-29 22:35:15 +02:00
Beep6581
7040b6e5b1 Merge branch 'master' into gtk3 2016-05-26 10:30:08 +02:00
heckflosse
d0cef55aad Fix wrong crop for Samsung NX1 and NX500 2016-05-24 19:06:41 +02:00
heckflosse
f86a0811aa treat black levels > 0xffff in camconst.json as absolute level & 0xffff 2016-05-24 18:14:09 +02:00
heckflosse
18243db5ba Update to dcraw 9.27 2016-05-22 21:57:52 +02:00
heckflosse
023e7d3695 Copied poke255_uc implementation from gtk3 into master 2016-05-22 14:35:53 +02:00
Beep6581
20fc105cf8 Merge branch 'master' into gtk3 2016-05-22 14:08:41 +02:00
Beep6581
f490c64682 Updated camconst.json, #3298 2016-05-22 14:08:30 +02:00
Beep6581
e737365597 Merge branch 'master' into gtk3 2016-05-22 13:13:04 +02:00
Flössie
c556771843 Prevent narrowing conversion when building for PowerPC 2016-05-18 21:16:27 +02:00
Flössie
53f03bd00c Fix ODR violation
When building with LTO, the compiler warns about a violation of the ODR.
This commit fixes the two competing places by moving the structs into
anonymous namespaces.
2016-05-18 20:57:46 +02:00
Flössie
68a77f26f6 Fix std::out_of_range exception with empty HaldCLUT basename
User jgschaefer [reported an error on pixls.us](https://discuss.pixls.us/t/rt-build-from-git-crash-on-launch-debian-testing-64-bit/1425)
which could be traced down to an empty basename for a HaldCLUT. The
original implementation did not throw an exception due to the use of
`std::string::substr()` instead of `std::string::erase()`, but silently
assigned the first working profile to `profile_name`.
2016-05-17 20:51:14 +02:00
heckflosse
89a7ebac16 fix wrong condition in Color::transitred 2016-05-16 19:13:35 +02:00
heckflosse
20aec5b129 Cleanup and small improvements for ciecam02 2016-05-16 18:20:42 +02:00
heckflosse
b23778eebc Speedup for flatcurves and NURBS curves getval() functions 2016-05-15 16:07:23 +02:00
heckflosse
80f86c7189 Histogram of working space does not show 'gray2C' for gray regions, fixes #3283, fixes #3213, kudos to mmmtok for providing the patch 2016-05-14 19:29:26 +02:00
heckflosse
e8d90698cf Fix copy/paste bugs 2016-05-14 14:26:56 +02:00
heckflosse
56804fca69 use LUTf.makeIdentity() 2016-05-14 13:17:17 +02:00
heckflosse
9da7de4080 Fixed a bug I introduced with last commit and changed argument order of Ciecam02::curveJfloat 2016-05-14 12:04:02 +02:00
Ingo Weyrich
298a8f417f Merge pull request #3282 from Floessie/dedusting-haldclut-fix
HaldCLUT cleanups after the dust (#3154) has settled
2016-05-14 11:57:56 +02:00
heckflosse
74447dff99 cleanup for Ciecam02::curveJfloat(..) 2016-05-13 21:52:49 +02:00
heckflosse
c601e05422 Fix non OpenMP build and astyled improcfun.cc 2016-05-13 15:40:21 +02:00
Flössie
aa29125316 Read-ahead of getClutValues() is only one pixel now 2016-05-12 21:44:20 +02:00
Flössie
e8595890c5 Final cleanups 2016-05-12 20:21:17 +02:00
Ingo Weyrich
6e102351e0 Merge pull request #3281 from Beep6581/retinexgain
Retinexgain
2016-05-12 13:40:11 +02:00
heckflosse
1265679651 Retinex: some small improvements and some cleanup 2016-05-11 21:04:32 +02:00
Flössie
f4d5c645de Add Ingo's clutstore_no_mmx.patch
Ingo has provided a solution for the strange Windows crash with
`_mm_cvtpu16_ps()`: It was not an alignment problem, but the use of
MMX instructions which led to the SEGV.

Now Ingo's solutions omits MMX instructions altogether and is
nevertheless faster than the `_mm_set_ps()` workaround.

Many thanks to @heckflosse!
2016-05-11 20:01:17 +02:00
heckflosse
aa2beb4c72 Floessie suggested some C++11 related improvements which I add with this commit 2016-05-11 00:04:11 +02:00
Flössie
1edfb0c6f7 Switch getClutValue to vfloat2 and load/store source[RGB] unaligned
Ingo had some cleanup suggestions in #3154 which I tried to realize with
this commit. Although switching to `vfloat2` is a clever idea, I can see
no further speedup.
2016-05-10 20:39:20 +02:00
heckflosse
721de446f4 Fix crash caused by uninitialized variables when using ciecam02 on files without exif data, fixes #3084 2016-05-09 20:00:12 +02:00
heckflosse
5c14573be7 cleaned code a bit, also added a small speedup 2016-05-08 23:16:23 +02:00
heckflosse
01ddba2397 remove CLIP() from index when accessing gamma2curve LUT because gamma2curve LUT already clips internally 2016-05-07 22:11:39 +02:00