Commit Graph

1792 Commits

Author SHA1 Message Date
Floessie
29a72d1580 Merge pull request #3720 from Beep6581/variadic_min_max
Variadic template version of `rtengine::(min|max)()`
2017-03-02 07:40:34 +01:00
Flössie
6e7712831a Break min() and max() parameter dependencies
Also convert most functions in `rt_math.h` to `constexpr` by
implementing `min()` and `max()` natively. `constexpr` indeed has a
positive impact on the generated assembly.
2017-03-01 18:13:16 +01:00
Flössie
e2b8ccd38b Whitespace correction (#3719) 2017-02-28 21:16:10 +01:00
Flössie
d72d931c9e Variadic template version of rtengine::(min|max)()
This change allows for an arbitrary number of arguments to `min()` and
`max()` by using recursion on variadic template functions. The
disassembly of GCC 6.3 was carefully checked for regressions, but
nothing was found other than the flipping of arguments (recursion is
now `(((a,b),c),d)` and was `(d,(c,(a,b)))` before).

I also unified the common type `_Tp` to to the even more common `T`.
2017-02-28 20:57:19 +01:00
heckflosse
5e5ca6eee4 disabled timing code in dcb_demosaic 2017-02-28 20:05:36 +01:00
Ingo Weyrich
37f69bed5b Merge pull request #3719 from cuniek/dev
Improved DCB, less macroblocking on diagonals, much faster code
2017-02-28 19:31:16 +01:00
U-coolermaster2\cuniek
66382743cd Improved DCB, less macroblicking on diagonals, much faster code 2017-02-27 19:41:23 +01:00
Hombre
6162cbd77d Adding more profiles to the Output color profile combobox in ICM
You can now select output profiles of the "OUTPUT" device class, but
only if they have an RGB color-space.
2017-02-27 01:12:40 +01:00
Ingo Weyrich
bc3003bc0d Merge pull request #3713 from Beep6581/lcpvignette_speedup
Speedup for lcp vignette correction
2017-02-23 21:41:00 +01:00
Alberto Griggio
d3a5a8ee96 started working on support for dynamic processing profiles 2017-02-22 18:47:00 +01:00
heckflosse
7d9e5765ba Removed unused function and stopwatch 2017-02-22 14:50:10 +01:00
heckflosse
8e205afeed Revert "Further cleanup and astyled lcp.*"
This reverts commit 1348ea06e4.
2017-02-22 14:43:41 +01:00
heckflosse
1348ea06e4 Further cleanup and astyled lcp.* 2017-02-22 01:53:22 +01:00
Flössie
99309aa4ac Preliminary cleanup for LCPModelCommon 2017-02-21 21:10:33 +01:00
Flössie
d2b4fe5e54 Merge branch 'std_cpp11-dev' into dev (fixes #3635) 2017-02-21 20:37:21 +01:00
heckflosse
87a280f8ca Additional speedup for lcp vignette correction 2017-02-21 19:11:54 +01:00
heckflosse
94129861f5 Speedup for lcp vignetting correction 2017-02-19 20:36:45 +01:00
Ingo Weyrich
ac882d2ff2 Merge pull request #3703 from Beep6581/lcpvignette_fix
LCP vignetting correction only works with undemosaiced raw files. fix…
2017-02-19 17:39:01 +01:00
Ingo Weyrich
7f84cb3b5d Merge pull request #3700 from agriggio/lossy-dng
re-enable dcraw code for reading lossy DNG files.
2017-02-19 17:38:34 +01:00
Flössie
6daf5f6011 Merge branch 'imdim_cleanup-dev' into dev 2017-02-19 12:32:52 +01:00
heckflosse
ef754f7593 LCP vignetting correction only works with undemosaiced raw files. fixes #3702 2017-02-18 16:01:41 +01:00
Alberto Griggio
8889d626bf use RT's jpeg_memory_src instead of jpeg_mem_src from jpegib
jpeg_mem_src was introduced in libjpeg8, so it might not be available
2017-02-17 21:43:33 +01:00
Ingo Weyrich
66b5f05ceb Merge pull request #3689 from agriggio/awb-temp-bias
Added "Auto White Balance temperature bias" feature and fixed wrong display of Temperature and Tint when opening an image which uses Auto White Balance
2017-02-17 17:34:06 +01:00
Alberto Griggio
7398a7e607 re-enabled loading of lossy DNG files 2017-02-17 09:05:00 +01:00
Alberto Griggio
7a57e5276a merged with autowbfix branch 2017-02-16 14:12:03 +01:00
heckflosse
974c3ff467 Cleanup for autowb fix 2017-02-15 17:54:29 +01:00
heckflosse
54d1533a7d Fix autowb issues, fixes #3690 2017-02-15 01:30:41 +01:00
Hombre
2392701119 Merge branch 'dev' into rt-cli 2017-02-14 23:50:20 +01:00
Flössie
e9b5f42a9f Sanitize ImageDimensions base class
- Make `width` and `height` private
- Drop `getW()` and `getH()`
- Clean `PreviewProps`
2017-02-14 21:23:54 +01:00
Flössie
88336cb897 Make RT build without __USE_MISC and __USE_XOPEN 2017-02-14 21:02:39 +01:00
Flössie
9b5ffaf4aa Some minor cleanups 2017-02-14 20:49:10 +01:00
Flössie
6bcac40306 Allow relative CLUT paths (#3639) by @agriggio
Kudos to Alberto Griggio for this contribution! 👍
2017-02-14 20:19:00 +01:00
Hombre
fe83cc8134 Merge branch 'dev' into rt-cli 2017-02-14 00:15:23 +01:00
Hombre
a04b3eefba Adding rawtherapee-cli.exe, '-q' (quick start mode) added
Standard rawtherapee.exe now has almost no command line options left.
Use '-h' to see options for each executables.
2017-02-13 23:38:05 +01:00
heckflosse
67ad3ee248 small speedup for fuji_compressed_load_raw() 2017-02-13 15:39:51 +01:00
heckflosse
3bf98847f2 Added camconst entry for FUJIFILM GFX 50S 2017-02-13 15:04:45 +01:00
heckflosse
3329899b37 Added support for compressed fuji bayer files 2017-02-12 21:27:11 +01:00
Alberto Griggio
dca0e41f35 added "Auto White Balance temperature bias" feature
This new slider in the White Balance tools allows to alter the computation of
the "auto white balance" by "biasing" it towards warmer or cooler
temperatures. The bias is expressed as a percentage of the computed
temperature, so that the resuling temperature is given by
"computedTemp + computedTemp * bias".
2017-02-12 17:39:52 +01:00
heckflosse
307d5b3a2f astyled xtranscompressed.cc and cleaned code a bit 2017-02-12 16:08:27 +01:00
heckflosse
d8baa48e13 fixed compile issue in xtranscompressed 2017-02-11 21:17:22 +01:00
heckflosse
f2bef65be1 small cleanup 2017-02-11 18:28:52 +01:00
heckflosse
d5d8747e5a decode compressed xtrans files 2017-02-11 17:48:59 +01:00
Flössie
5202f45137 Protect all Crop accesses with cropMutex (fixes #3306) 2017-02-10 20:06:35 +01:00
heckflosse
f9bd9956c0 Removed clang related restriction. Should give a speedup for some parts of rt (denoise for example) when clang is used to build rt 2017-02-10 01:29:02 +01:00
heckflosse
281982f329 DNG files from HdrMerge are decoded incorrectly when zlib 1.2.11 is used. fixes #3674 2017-02-07 21:43:10 +01:00
heckflosse
2feb43f5d5 Fix display of raw values in navigator for xtrans 2017-02-06 16:43:49 +01:00
heckflosse
c0cb0966f4 Merge branch 'gtk2' into pixelshift 2017-02-06 15:47:29 +01:00
heckflosse
d570459f1e Fixed bug in last commit when image was rotated 2017-02-05 19:03:34 +01:00
heckflosse
b720a67328 getRawValues: round instead of truncate 2017-02-05 16:28:25 +01:00
heckflosse
812bf40d17 Show raw values in navigator when demosaic 'none' is used 2017-02-05 16:06:57 +01:00