From d96809ecab85e74940e2589781627f0e99f8e885 Mon Sep 17 00:00:00 2001 From: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com> Date: Mon, 1 Jan 2024 16:33:54 -0800 Subject: [PATCH] Copy missing camera constants from dcraw to LibRaw Update white level for Fujifilm HS20EXR/HS22EXR and add constants for Panasonic DMC-TZ82. --- rtengine/libraw/src/tables/colordata.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rtengine/libraw/src/tables/colordata.cpp b/rtengine/libraw/src/tables/colordata.cpp index fc9f100f7..1926943b1 100644 --- a/rtengine/libraw/src/tables/colordata.cpp +++ b/rtengine/libraw/src/tables/colordata.cpp @@ -402,7 +402,7 @@ int LibRaw::adobe_coeff(unsigned make_idx, const char *t_model, { LIBRAW_CAMERAMAKER_Fujifilm, "HS10", 0, 0xf68, { 12440,-3954,-1183,-1123,9674,1708,-83,1614,4086 } }, - { LIBRAW_CAMERAMAKER_Fujifilm, "HS2", 0, 0, // HS20EXR/HS22EXR + { LIBRAW_CAMERAMAKER_Fujifilm, "HS2", 0, 0xfef, // HS20EXR/HS22EXR { 13690,-5358,-1474,-3369,11600,1998,-132,1554,4395 } }, { LIBRAW_CAMERAMAKER_Fujifilm, "HS3", 0, 0, // HS30EXR/HS33EXR/HS35EXR { 13690,-5358,-1474,-3369,11600,1998,-132,1554,4395 } }, @@ -1388,6 +1388,9 @@ int LibRaw::adobe_coeff(unsigned make_idx, const char *t_model, { LIBRAW_CAMERAMAKER_Panasonic, "DC-GX9", -15, 0, { 7564,-2263,-606,-3148,11239,2177,-540,1435,4853 } }, + { LIBRAW_CAMERAMAKER_Panasonic, "DMC-TZ82", -15, 0, + { 8550,-2908,-842,-3195,11529,1881,-338,1603,4631 } }, + { LIBRAW_CAMERAMAKER_Panasonic, "DMC-ZS100", -15, 0, { 7790,-2736,-755,-3452,11870,1769,-628,1647,4898 } }, { LIBRAW_CAMERAMAKER_Panasonic, "DC-ZS200", -15, 0,