Commit Graph

1626 Commits

Author SHA1 Message Date
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
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