Commit Graph

169 Commits

Author SHA1 Message Date
Ingo Weyrich
a801d768ea fixed lookup of camera matrices for DNG files always prefer our matrices in camconst.json over the embedded ones if available, patch taken from ART 2020-03-10 22:13:48 +01:00
Ingo Weyrich
5732500e2f Do not use Standard light A if D65 does not exist 2020-03-10 16:42:47 +01:00
Ingo Weyrich
a356306728 Silence some warnings 2020-03-03 19:51:43 +01:00
Ingo Weyrich
562b19bb5c Silence -Wunused-macros warning in dcraw.cc, #3558 2020-02-12 21:08:03 +01:00
Ingo Weyrich
8f291c3ff2 Be -Wunused-macros clean 2020-02-07 20:18:35 +01:00
Ingo Weyrich
4221fdf31e fix regression in Canon sRAW/mRAW black level computation, taken from ART, fixes #5638 2020-02-07 13:52:25 +01:00
Flössie
bd6088837c Fix crash on DCraw::data_error (fixes #5571) 2019-12-20 13:34:37 +01:00
Ingo Weyrich
614458c3c6 added support for Sony A7rIV 16-shot pixel-shift files, ported from ART, thanks to @agriggio 2019-11-22 17:26:44 +01:00
Ingo Weyrich
0d9df36b88 raw crop for Canon EOS R 2019-11-19 20:11:36 +01:00
Ingo Weyrich
0cf3f16dfa Basic Canon CR3 support. Only decoding, still no CR3 exif support. Ported from ART. Kudos to agriggio and libraw 2019-11-19 19:19:49 +01:00
Ingo Weyrich
2da0990433 make own compilation unit for panasonic decoders 2019-11-06 23:07:41 +01:00
Ingo Weyrich
e12b58cfcf Decode standard Panasonic DC-S1 and DC-S1R files (pixelshift files are not supported yet), #5204 2019-11-06 14:40:05 +01:00
Ingo Weyrich
284fe57159 Further reduction of include dependencies 2019-10-31 13:29:12 +01:00
Andreas Hoenselaar
1bffb54977 Calculate the initial predictor only once. 2019-10-19 21:25:36 -08:00
Andreas Hoenselaar
de1c04b633 Use the same predictor for all Hasselblad files. 2019-10-19 11:22:06 -08:00
Andreas Hoenselaar
7885e113b8 Stop right-shifting of predictor value for Hasselblad pixelshift and align math with lossless JPEG predictor 5 2019-10-05 21:47:06 -08:00
Ingo Weyrich
8d5c999ad8 hasselblad_load_raw: fix warning 2019-09-23 16:44:55 +02:00
Ingo Weyrich
eae86cbd35 Merge pull request #5464 from Beep6581/hasselblad_load_review
Improve readability of hasselblad_load_raw() code, #5434
2019-09-23 14:23:15 +02:00
Ingo Weyrich
c83b577dc7 hasselblad_load_raw: apply changes requested by @Floessie in code review 2019-09-23 14:22:14 +02:00
Ingo Weyrich
27ba217d5b Merge pull request #5420 from shlyakpavel/patch-1
dcraw.cc: replace memcpy with memmove
2019-09-21 23:55:57 +02:00
Ingo Weyrich
a0c6c1569c Fix indentations 2019-09-16 21:43:03 +02:00
Ingo Weyrich
0c1c215262 Improve readability of hasselblad_load_raw() code, #5434 2019-09-15 21:57:17 +02:00
Ingo Weyrich
e93ce86067 DNG with 'Embed Fast Load Data' not rendered the same as plain DNG or NEF, fixes #4695 2019-08-21 19:03:51 +02:00
Pavel Shlyak
147d6b36f6 dcraw.cc: replace memcpy with memmove
Memcpy does not support overlapping. It can cause problems in specific situations.
2019-08-21 04:22:04 +03:00
Ingo Weyrich
17f343f682 add -Wcast-qual switch and fix all related warnings 2019-07-25 17:45:43 +02:00
heckflosse
3c0b0ffd33 Small speedup for loading unpacked 16 bit raw files 2019-06-04 17:01:05 +02:00
heckflosse
f18724e016 Silence some warnings 2019-06-04 16:30:22 +02:00
heckflosse
d46a043add basic support for Fujifilm GFX 100 2019-06-04 14:17:38 +02:00
luz.paz
ba840dd260 Misc. typos and whitespace fixes
Found via `codespell -q 3 -I ../rawtherapy-whitelist.txt -S ./rtdata` 
`rawtherapy-whitelist.txt` consists of:
```
adn
amin
autor
ba
byteorder
cas
childs
developpement
dum
foto
fro
inbetween
interm
ist
iten
ith
lonly
nd
ois
optio
preserv
skipp
som
spred
substracted
tbe
tim
uint
unselect
```
2019-03-22 06:38:00 -04:00
heckflosse
94926b8315 Support for Nikon Z7 uncompressed NEF files, fixes #4801 2019-02-14 20:40:49 +01:00
heckflosse
6292b4e994 Panasonic DC-GH5S raw support. Thanks to @agriggio for the patch, fixes #4675 2019-02-14 15:46:19 +01:00
Flössie
37027e46bd Fix non-OpenMP build 2019-02-06 06:54:31 +01:00
heckflosse
033b021b9b removed useless #if 2018-12-08 01:45:55 +01:00
heckflosse
04d5ba3f91 reduce silencing of warnings for dcraw code 2018-12-08 01:30:09 +01:00
heckflosse
831e18ca45 Add override keyword. Thanks @Floessie 2018-11-22 16:19:16 +01:00
Alberto Griggio
655bdfd7e7 merged branch 'floatdng' 2018-11-22 08:50:35 +01:00
Alberto Griggio
f8fc658d71 Fixes for Nikon Z raw decoding
Fix to curve decoding ported from rawspeed

See #4998
2018-11-19 22:02:03 +01:00
Alberto Griggio
e0b4f85e09 DNG: protect from ill-formed BaselineExposure values 2018-11-19 09:29:21 +01:00
heckflosse
074560def0 Merge branch 'dev' into floatdng 2018-11-18 11:38:09 +01:00
heckflosse
2973247948 lossless_dnglj92_load_raw(), don't use malloc/free 2018-11-14 14:42:25 +01:00
Roel Baars
83975938ef Don't use boolean logic to increment value directly 2018-11-11 12:34:12 +01:00
heckflosse
0f50e738e4 Disabled timing code 2018-11-10 01:12:14 +01:00
heckflosse
f7109eec21 Improved check for lj92 compressed dng files, #4285 2018-11-09 17:36:13 +01:00
heckflosse
3a51bcd00a Use linearization table for Blackmagic DNG files, #4285 2018-11-09 14:45:38 +01:00
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
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
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
Alberto Griggio
632c1362c8 DNG: honour the BaselineExposure tag 2018-10-28 17:32:15 +01:00