heckflosse
0f2fc65168
Fix accidently broken 'Blackmagic Pocket Cinema Camera 4K' decoding, #4285
2018-11-09 12:54:37 +01:00
heckflosse
afb3026b70
Decode Magic Lantern CinemaDNG files, #4285
2018-11-09 12:07:14 +01:00
George Hilliard
aa9647954a
Merge remote-tracking branch 'origin/dev' into memory-errors
2018-11-08 15:25:27 -06:00
heckflosse
a29a3b19a9
multithreaded decoding of LJ92 encoded DNG files (for example Blackmagic native DNG files), #4285
2018-11-08 21:03:09 +01:00
heckflosse
2833417133
First version of blackmagic native dng support, #4285
2018-11-08 17:16:32 +01:00
George Hilliard
6cd50adc54
Revert "ImageData: Use terser emplace_back to add unique_ptr to vector"
...
This reverts commit b4813273d2
.
2018-11-08 09:57:02 -06:00
heckflosse
2502312242
Small speedup for dehaze, closes #4944
2018-11-08 14:35:03 +01:00
George Hilliard
b4813273d2
ImageData: Use terser emplace_back to add unique_ptr to vector
2018-11-07 12:16:45 -06:00
George Hilliard
a63cd8a87c
Fix mismatched malloc/delete leak, take 2 with cJSON_Delete
...
From the Valgrind report:
```
Mismatched free() / delete / delete []
at 0x4838EAB: operator delete(void*) (vg_replace_malloc.c:576)
by 0xBC5C87: std::default_delete<cJSON>::operator()(cJSON*) const (unique_ptr.h:81)
by 0xBC4ACA: std::unique_ptr<cJSON, std::default_delete<cJSON> >::~unique_ptr() (unique_ptr.h:274)
by 0xBBB755: (anonymous namespace)::getAliases(Glib::ustring const&) (dcp.cc:422)
by 0xBC1CCA: rtengine::DCPStore::init(Glib::ustring const&, bool) (dcp.cc:1846)
by 0xC3ED4F: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) [clone ._omp_fn.0] (init.cc:81)
by 0x89743FF: GOMP_parallel_sections (sections.c:158)
by 0xC3E906: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) (init.cc:52)
by 0x9CE10E: Options::load(bool) (options.cc:2358)
by 0x982CD6: main (main.cc:603)
Address 0xd62d700 is 0 bytes inside a block of size 64 alloc'd
at 0x483777F: malloc (vg_replace_malloc.c:299)
by 0xE97390: cJSON_New_Item (cJSON.c:205)
by 0xE98718: cJSON_ParseWithOpts (cJSON.c:1020)
by 0xE9886F: cJSON_Parse (cJSON.c:1083)
by 0xBBB4D3: (anonymous namespace)::getAliases(Glib::ustring const&) (dcp.cc:422)
by 0xBC1CCA: rtengine::DCPStore::init(Glib::ustring const&, bool) (dcp.cc:1846)
by 0xC3ED4F: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) [clone ._omp_fn.0] (init.cc:81)
by 0x89743FF: GOMP_parallel_sections (sections.c:158)
by 0xC3E906: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) (init.cc:52)
by 0x9CE10E: Options::load(bool) (options.cc:2358)
by 0x982CD6: main (main.cc:603)
```
2018-11-07 12:11:43 -06:00
George Hilliard
7cbf198db8
Revert "Fix mismatched malloc/delete leak"
...
This reverts commit 77eccdf13d
.
2018-11-07 11:55:02 -06:00
heckflosse
b8af63bb04
Use vclampf(value, low, high) whereever possible, #4942
2018-11-05 19:50:24 +01:00
heckflosse
8a31f0368c
Use vsqrtf instead of _mm_sqrt_ps
2018-11-05 16:02:32 +01:00
heckflosse
0983817434
SSE: Review usage of vminf, vmaxf functions, #4942
2018-11-05 15:59:41 +01:00
heckflosse
fa91103aec
Better fix for #4934
2018-11-05 09:43:45 +01:00
heckflosse
56e45087cf
Segfault when using Tonemapping on completely black data, fixes #4934
2018-11-05 08:17:02 +01:00
heckflosse
fb0d231cb2
use double precision gaussian blur if sigma >= 25, #4928
2018-11-03 14:26:39 +01:00
Hombre
7474598ebc
Fix a crash that can occure when creating the thumbnail (no issue)
2018-11-03 13:59:04 +01:00
Alberto Griggio
0c488eadaf
DR Compression: updated defaults and renamed "Threshold" to "Detail" in the GUI
...
Fixes #4912
2018-11-03 02:36:30 +01:00
heckflosse
240f1eac65
Colortoning lab regions: vectorized last loop, #4914
2018-11-02 23:05:40 +01:00
Ingo Weyrich
d07d06a885
Merge pull request #4919 from Beep6581/labregions-speedup
...
Labregions speedup, closes #4914
2018-11-02 21:42:40 +01:00
heckflosse
64af0e7602
Colortoning lab regions: Disabled timing code and removed double declaration of c_factor, #4914
2018-11-02 21:06:38 +01:00
heckflosse
e199d1ea10
Colortoning lab regions: Move guid fill into main loop, #4914
2018-11-02 19:02:05 +01:00
Alberto Griggio
e611efd6b4
fixed segfault (out of range LUT access) in shadows/highlights
...
Fixes #4922
2018-11-02 12:01:24 +01:00
Alberto Griggio
4186c2b139
L*a*b* grid color toning: fixed scaling bug introduced in 74a467fb4e
2018-11-02 13:47:09 +01:00
George Hilliard
ec814dbf05
FramesData: Don't leak allocated frames, and remove unused functions
...
Valgrind report:
```
14,960 (11,544 direct, 3,416 indirect) bytes in 37 blocks are definitely lost in loss record 20,483 of 20,540
at 0x4837DEF: operator new(unsigned long) (vg_replace_malloc.c:334)
by 0xC06963: rtengine::FramesData::FramesData(Glib::ustring const&, std::unique_ptr<rtengine::RawMetaDataLocation, std::default_delete<rtengine::RawMetaDataLocation> >, bool) (imagedata.cc:1121)
by 0xBD774F: rtengine::DFManager::addFileInfo(Glib::ustring const&, bool) (dfmanager.cc:380)
by 0xBD6E90: rtengine::DFManager::init(Glib::ustring) (dfmanager.cc:303)
by 0xC3EC5D: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) [clone ._omp_fn.0] (init.cc:93)
by 0x897CABD: gomp_thread_start (team.c:120)
by 0x89B7A9C: start_thread (in /usr/lib/libpthread-2.28.so)
by 0x8ACCB22: clone (in /usr/lib/libc-2.28.so)
```
2018-11-02 03:07:07 -05:00
George Hilliard
5081c85f26
Fix leak of heap-allocated mutexes
2018-11-02 03:07:07 -05:00
George Hilliard
77eccdf13d
Fix mismatched malloc/delete leak
...
From the Valgrind report:
```
Mismatched free() / delete / delete []
at 0x4838EAB: operator delete(void*) (vg_replace_malloc.c:576)
by 0xBC5C87: std::default_delete<cJSON>::operator()(cJSON*) const (unique_ptr.h:81)
by 0xBC4ACA: std::unique_ptr<cJSON, std::default_delete<cJSON> >::~unique_ptr() (unique_ptr.h:274)
by 0xBBB755: (anonymous namespace)::getAliases(Glib::ustring const&) (dcp.cc:422)
by 0xBC1CCA: rtengine::DCPStore::init(Glib::ustring const&, bool) (dcp.cc:1846)
by 0xC3ED4F: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) [clone ._omp_fn.0] (init.cc:81)
by 0x89743FF: GOMP_parallel_sections (sections.c:158)
by 0xC3E906: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) (init.cc:52)
by 0x9CE10E: Options::load(bool) (options.cc:2358)
by 0x982CD6: main (main.cc:603)
Address 0xd62d700 is 0 bytes inside a block of size 64 alloc'd
at 0x483777F: malloc (vg_replace_malloc.c:299)
by 0xE97390: cJSON_New_Item (cJSON.c:205)
by 0xE98718: cJSON_ParseWithOpts (cJSON.c:1020)
by 0xE9886F: cJSON_Parse (cJSON.c:1083)
by 0xBBB4D3: (anonymous namespace)::getAliases(Glib::ustring const&) (dcp.cc:422)
by 0xBC1CCA: rtengine::DCPStore::init(Glib::ustring const&, bool) (dcp.cc:1846)
by 0xC3ED4F: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) [clone ._omp_fn.0] (init.cc:81)
by 0x89743FF: GOMP_parallel_sections (sections.c:158)
by 0xC3E906: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) (init.cc:52)
by 0x9CE10E: Options::load(bool) (options.cc:2358)
by 0x982CD6: main (main.cc:603)
```
2018-11-02 03:06:59 -05:00
heckflosse
47d6ee44f8
Removed accidently committed file
2018-11-01 22:31:12 +01:00
heckflosse
906cf63ecd
Colortoning Lab regions: some vectorized precalculations in first loop, #4914
2018-11-01 22:30:26 +01:00
heckflosse
dd635de72c
Colortoning Lab regions: move some calculations outside last loop, #4914
2018-11-01 20:09:30 +01:00
heckflosse
41b802bdd3
Colortoning Lab regions: use xlogf and xexpf from sleef.c, #4914
2018-11-01 18:51:17 +01:00
Alberto Griggio
5e30b5ac58
merged 'colortoning-labregions' into 'dev'
2018-11-01 15:18:11 +01:00
Alberto Griggio
e9f0b6ac60
L*a*b* regions: some code cleanups
2018-11-01 13:34:10 +01:00
heckflosse
72787cd990
Set Post-Resize Sharpening Contrast Threshold to 15, fixes #4909
2018-11-01 12:12:01 +01:00
Alberto Griggio
86b282fc68
procparams: call DehazeParams::operator== in ProcParams::operator==
2018-11-01 05:42:45 +01:00
Alberto Griggio
be03d1061a
L*a*b* regions: allow for a bit more latitude in corrections
2018-11-01 00:18:59 +01:00
Ingo Weyrich
0bb5d26ed0
Merge pull request #4908 from Beep6581/getridoffeahistogramcache
...
Get rid of aehistogram files in RT cache.
Merged to get more tests. Issue and pr stay open for a while
2018-10-31 21:56:00 +01:00
Alberto Griggio
fb97eeaa5a
guided filter: fixed bug due to overlapping input and output arrays
2018-10-31 17:53:47 +01:00
Alberto Griggio
7090730063
Merge pull request #4898 from Beep6581/dehaze
...
Dehaze
2018-10-31 13:26:08 -05:00
heckflosse
f6c864d477
Get rid of aehistogram files in RT cache, fixes #4904
2018-10-31 15:02:53 +01:00
Morgan Hardwood
cef5d12779
AllowUpscaling=false for old PP3s
...
PP3s from before the Allow Upscaling option's introduction to the Resize
tool should defaut to not allow upscaling.
Closes #4643
2018-10-30 21:18:21 +01:00
Alberto Griggio
74a467fb4e
labgrid: work on [0,1] values
2018-10-30 21:12:44 +01:00
heckflosse
1dcf92322d
RT crashes with wrong value in profile (curves), fixes #4398
2018-10-30 19:36:37 +01:00
Alberto Griggio
6877360913
DNG: use embedded black and white levels also from files generated by Adobe
...
We only override the colour matrix for Adobe DNG Converter (to ensure a consistent look between dng an native raw)
2018-10-30 14:36:56 +01:00
heckflosse
894fb8d9b3
vng4 demosaic: another small speedup, #4633
2018-10-30 13:45:44 +01:00
heckflosse
13abcd0f6c
vng4 demosaic: another very small speedup, #4633
2018-10-28 20:37:34 +01:00
Alberto Griggio
50c623802a
set LabRegions as the default color toning method
2018-10-28 18:38:55 +01:00
Alberto Griggio
632c1362c8
DNG: honour the BaselineExposure tag
2018-10-28 17:32:15 +01:00
Alberto Griggio
c63633a76d
support for uncompressed 32-bit float DNGs
2018-10-28 10:15:59 +01:00
Alberto Griggio
ce4377d7e5
Initial support for uncompressed 16-bit float DNGs
2018-10-28 09:39:57 +01:00