31 Commits

Author SHA1 Message Date
Flössie
6819b32be7 Mute some warnings (#6563) 2022-08-26 11:54:12 +02:00
Lawrence Lee
59a36d8f8a
Fix CR3 decoding crash
Fix buffer size.

Closes #6450.
2022-03-28 21:34:29 -07:00
Thanatomanic
07ed31922c
Incorporate changes to CR3 decoder (from ART, LibRaw): read compressed RAW (CRAW) (#6434)
* Incorporate changes to CR3 decoder (from ART, LibRaw). Enables reading of compressed RAW (CRAW) files.
* Fix LGTM alerts, some trailing spaces (accidentally took over another minor edit, already pushed to dev)
2022-03-26 11:59:25 +01:00
Flössie
2e0137d542 Move libc overloads in myfile.h to rtengine:: (fixes #6324) 2021-08-07 13:06:02 +02:00
Adam Reichold
fae40a137a
A few more minor fixes geared towards lgtm.com alerts (#6127)
* Remove unfilled formatting placeholders in KLT parser.
* Fix presumably unintentionally missing reference on PlanatPtr and ChunkyPtr call operators.
* Fix catching pointer and make use-after-free of workimg easier to spot.
Make sure all of our thrown exceptions derive from std::exception and then catch
by reference instead of by pointer.
* Fix mismatch between array form new and non-array form delete.
* Simplify memory management of embedded color profiles by unifying allocation to use operator new.
2021-03-17 08:37:19 +01:00
Kevin Murray
38d214ed62
CR3 bbp fix & camconst entries for Canon EOS R5/R6 and Nikon Z7
Fix, matrices and DCP files courtesy of ART (Alberto Griggio <agriggio@users.noreply.github.com>)
2020-09-10 11:12:20 +02:00
Ingo Weyrich
86471c88e0 Canon EOS R5 CR3 pegs cpu at 100% with no GUI, #5882 2020-08-24 14:04:47 +02:00
Flössie
1d66bdc002 Fix leak in crxFreeImageData() (by Danny Heijl), fixes #5758 2020-05-17 09:55:41 +02:00
Morgan Hardwood
d35dc3f93b Fix copyright references for the CR3 decoder
Closes #5634
2020-02-05 23:27:04 +01:00
Flössie
b1bce98c06 supportsPartial is bool 2019-12-07 09:38:18 +01:00
Ingo Weyrich
743827c7c8 Fix cppcheck warnings 2019-12-06 12:21:19 +01:00
Flössie
b0e52b3202 Whitespace corrections 2019-12-06 09:28:34 +01:00
Flössie
03c094a42b Fix fseek()/ftell() issue 2019-12-06 09:18:16 +01:00
Flössie
8f82a8362a Finalize const/bool cleanup 2019-12-06 08:18:17 +01:00
Flössie
49f5833002 More bool and const (WIP) 2019-12-04 10:25:52 +01:00
Flössie
c4fe355fbb Fix formatting and use bool (WIP) 2019-11-29 14:57:14 +01:00
Flössie
c5168038e8 Add missing include 2019-11-28 10:37:18 +01:00
Flössie
4529999f49 C++-style casts (clang-tidy) 2019-11-28 09:11:56 +01:00
Flössie
85abe54a16 Replace defines 2019-11-28 08:54:38 +01:00
Flössie
97960f335f Fix silly error and with it the Clang build 2019-11-27 10:32:43 +01:00
Flössie
4f153a6d72 Fix warnings 2019-11-27 09:49:13 +01:00
Flössie
e89b6be76e DCraw::parseCR3() cleanup 2019-11-26 09:52:51 +01:00
Flössie
2ae5f198d7 Cleanups for the first few lines 2019-11-22 10:40:01 +01:00
Flössie
319ed6cdd5 Style with uncrustify, astyle, and clang-tidy 2019-11-21 09:57:29 +01:00
Flössie
d986a56c50 Fix LGTM warnings 2019-11-21 08:48:33 +01:00
Flössie
fb01435e3f Consider side effects of get2() 2019-11-20 16:05:24 +01:00
Flössie
6039f1e300 Tackle warnings 2019-11-20 15:52:25 +01:00
Flössie
f42efdb2e0 Use better endianness check (by @heckflosse) 2019-11-20 14:58:46 +01:00
Flössie
5e393f2052 Fix CR3 decoding on big endian platforms and some warnings from cppcheck 2019-11-20 11:35:59 +01:00
Ingo Weyrich
c21d142098 canon_cr3_decoder: enabled multithreaded decode 2019-11-19 21:39:24 +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