32 Commits

Author SHA1 Message Date
Flössie
e6e4bfa350 Merge branch 'dev' into procparams-cleanup 2017-12-05 18:23:48 +01:00
heckflosse
80fca667e2 Fix crash bug in raw ca correction when width is odd, also fix two overruns detected by adress sanitizer, fixes #4202 2017-11-29 23:06:53 +01:00
Flössie
b98a3944a6 Merge branch 'dev' into procparams-cleanup 2017-11-20 20:40:57 +01:00
Flössie
e0f7c1358b procparams.h cleanup - Part 2
TODO:
- Add c'tors and find all defaults
- Remove `setDefaults()` in favour of c'tors
- Add `operator ==()` to `struct`s
2017-11-17 17:05:46 +01:00
heckflosse
c8ac93676e Make compilation unit rtengine/demosaic_algos.cc -Wextra clean, #4155 2017-10-21 22:01:42 +02:00
heckflosse
040065e55f lmmse_interpolate_omp() : use makeIdentity() 2017-04-21 11:56:34 +02:00
heckflosse
936e62fee9 Fix integer rounding relicts, no issue 2017-04-21 11:41:47 +02:00
heckflosse
9b5f429602 Fixed another bunch of warnings 2017-04-03 21:01:28 +02:00
heckflosse
071d960035 Fix all warnings in demosaic_algos.cc 2017-03-31 19:07:58 +02:00
heckflosse
f9a536fd0b new gtk3 version of pixelshift 2017-03-11 22:30:36 +01:00
Flössie
e2b8ccd38b Whitespace correction (#3719) 2017-02-28 21:16:10 +01:00
heckflosse
5e5ca6eee4 disabled timing code in dcb_demosaic 2017-02-28 20:05:36 +01:00
U-coolermaster2\cuniek
66382743cd Improved DCB, less macroblicking on diagonals, much faster code 2017-02-27 19:41:23 +01:00
heckflosse
bd492e0ece pixelshift: optionally select lmmse for motion in high iso files 2017-02-01 19:35:36 +01:00
heckflosse
3a346d919d hphd demosaic : left quarter is not demosaiced correctly, fixes #3485 2016-10-27 13:40:30 +02:00
Flössie
0731975ff0 Apply modernize-use-nullptr
Setup:
- `mkdir tidy; cd tidy`
- `cmake .. -DCMAKE_BUILD_TYPE=debug -DPROC_TARGET_NUMBER=1 -DCACHE_NAME_SUFFIX=4 -DBINDIR=. -DDATADIR=. -DBUILD_BUNDLE=ON -DWITH_LTO=OFF -DOPTION_OMP=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`
- `cd ..`
- `find -name '*.cc' -exec clang-tidy-3.8 -header-filter=.* -p=tidy -fix-errors -checks=modernize-use-nullptr {} \;`
2016-10-12 17:48:40 +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
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
2dd2f5ca17 Speedup for thumbnail processing 2016-05-01 00:16:06 +02:00
heckflosse
4858315e24 xtrans_interpolate: removed benchmark code and astyled 2016-04-03 18:24:40 +02:00
heckflosse
a053f38059 11% speedup for xtrans demosaic 2016-03-24 13:40:16 +01:00
heckflosse
bfc0505320 xtrans demosaic: 4% speedup and disabled CLIP 2016-03-22 17:29:48 +01:00
heckflosse
db275b1f91 removed benchamrk code from xtrans demosaic 2016-03-20 01:32:10 +01:00
heckflosse
636d0be314 about 4% speedup for xtrans demosaic 2016-03-15 19:21:07 +01:00
heckflosse
dadbd71e58 Speedup for xtrans demosaic 2016-03-09 23:57:37 +01:00
heckflosse
1b220543f3 Replace all x^(1/3) with std::cbrt(x) 2016-02-25 16:50:21 +01:00
heckflosse
583dd8ea8c Fix wrong initialization in xtrans demosaic 3-pass 2016-02-17 18:19:41 +01:00
Adam Reichold
7d8fac214a Fix leaking an array of arrays by freeing it using freeArray2 and introduce a jagged array helper class to use for temporary buffers. 2016-02-07 17:28:46 +01:00
Morgan Hardwood
d8945607d5 astyle modified code on dehaze 2015-09-08 09:56:30 +02:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
torger
d5ca351c20 Issue 2134: removed obsolete raw highlight preservation setting from GUI (still left in procparams for backwards compatilibility) 2015-07-10 12:00:36 +02:00