Commit Graph

1626 Commits

Author SHA1 Message Date
Flössie
8d01bef05a Remove unused rtengine/colorclip.h 2016-07-10 11:00:29 +02:00
Morgan Hardwood
040962c1b7 Merge branch 'master' into gtk3 2016-07-09 23:49:31 +02:00
Flössie
e129510b62 Partly revert rtengine/dcraw.cc and astyle again
Also recreate `dcraw.patch` as suggested by Ingo.
2016-07-09 17:42:59 +02:00
Flössie
2e9f3fb9dc Applied clang-tidy on rtengine/FTblockDN.cc
- Applied `clang-tidy` 3.8 with these checks and `-fix`:
  google-readability-casting,modernize-redundant-void-arg,
  modernize-use-bool-literals,modernize-use-nullptr,
  modernize-use-override,readability-braces-around-statements,
  readability-container-size-empty,
  readability-inconsistent-declaration-parameter-name,
  readability-redundant-control-flow,readability-redundant-string-cstr,
  readability-redundant-string-init,readability-simplify-boolean-expr,
  readability-static-definition-in-anonymous-namespace
- Renamed last occurrences of `ULIM` to `median`
- Removed double include of `median.h` from `rtengine/rawimagesource.cc`
  (found by Ingo)
2016-07-09 12:52:59 +02:00
Flössie
7f66eb5ec4 Move common code out of switch in ImProcFunctions::Median_Denoise()
- Move suggested by @heckflosse
- Use switch/case
- astyle `FTblockDN.cc`
- Whitespace cleanups
- Apply `median()` on `ffmanager.cc`
2016-07-09 11:47:47 +02:00
Flössie
c0c82abb32 Merge branch 'master' into median-rework 2016-07-08 18:11:22 +02:00
Flössie
719b405076 Remove vectorized medians < 25 from ImProcFunctions::Median_Denoise()
- But keep those versions in `median.h` for consistency
- Remove stopwatch
2016-07-08 17:28:27 +02:00
Ingo Weyrich
3b734e4a7a Merge pull request #3376 from Beep6581/small_camconst_speedup
Improve processing time to read camconst.json by almost factor 2. Additionally make it future-proof by reducing O(n²) copying amount in reallocate phase to O(n)
2016-07-08 12:43:40 +02:00
Ingo Weyrich
36f2c4db59 Merge pull request #3375 from Beep6581/fix_all_cppcheck_performance_hints
Fix cppcheck performance hints
2016-07-08 12:42:34 +02:00
heckflosse
b744eae46d Fix a bug reported by cppcheck and an OOB access, kudos to Floessie 2016-07-08 12:41:38 +02:00
heckflosse
ed7ee02150 Added change suggested by Floessie 2016-07-07 22:31:04 +02:00
heckflosse
f76211509f Improve processing time to read camconst.json by almost factor 2. Additionally make it future-proof by reducing O(n²) copying amount in reallocate phase to O(n) 2016-07-07 21:44:44 +02:00
Beep6581
7a70601f59 Merge pull request #3372 from Beep6581/helpman
Updated help and man page, #3369
2016-07-07 11:23:20 +02:00
heckflosse
f241caf8cb Canon EOS-1D mkII raw files are rendered as flat black, fixes #3373 2016-07-06 14:46:10 +02:00
heckflosse
c8779c04f5 Fix all - 2 cppcheck performance hints 2016-07-06 13:04:24 +02:00
Morgan Hardwood
3d6f9407a2 Updated help and man page, #3369 2016-07-05 23:07:58 +02:00
heckflosse
a991d53bf3 Fix segfault when adding files to the currently watched folder, kudos to Floessie for the fix 2016-07-05 16:48:30 +02:00
heckflosse
1bf2f87cdc Exif lost when saving compressed tiff from raw on windows builds, fixes #3370 2016-07-05 15:05:03 +02:00
heckflosse
1a0b96b223 Remove some top level tags when saving to uncompressed tiff, also simplified generation of 'Software' tag 2016-07-04 19:28:04 +02:00
heckflosse
87e1914b9d Fix buffer overrun writing uncompressed tiff 2016-07-03 16:06:07 +02:00
heckflosse
2710bcdcec Fix a warning and a crash 2016-07-02 23:03:58 +02:00
Morgan Hardwood
93360770e1 Merge branch 'master' into gtk3 2016-07-02 19:51:15 +02:00
heckflosse
b8c5ee7e47 Disabled StopWatch 2016-07-01 15:04:34 +02:00
heckflosse
58e560b88e Added further speedups and astyles the changed files 2016-06-30 19:48:44 +02:00
Flössie
1f63ab85fa Vectorize 49 and 81 in ImProcFunctions::Median_Denoise() (#3346) 2016-06-30 18:18:13 +02:00
Flössie
e2deb16403 Fix apparent OOB access in ImProcFunctions::Median_Denoise() (#3346) 2016-06-30 18:02:19 +02:00
Flössie
406d1b7fb1 Vectorize some medians in ImProcFunctions::Median_Denoise() (#3346)
- Vectorize with Ingo's scheme
- Make loads more cache friendly
2016-06-30 17:58:02 +02:00
heckflosse
ba71bfe4fd Speedup for getAutoExpHistogram(..) 2016-06-29 14:48:37 +02:00
heckflosse
fe0743e471 Reduce size of badpixels bitmap by factor 8 2016-06-29 14:47:23 +02:00
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