Fixed arw2 indentification bug

This commit is contained in:
torger 2013-12-16 15:39:24 +01:00
parent 89cbebf521
commit 489d6bfd83
2 changed files with 3 additions and 3 deletions

View File

@ -7023,7 +7023,7 @@ void CLASS adobe_coeff (const char *make, const char *model)
} }
break; break;
} }
if (strcmp(make, "Sony") == 0 && table[i].black > 0 && table[i].black < 400) { // RT: arw2 scale fix if (load_raw == &CLASS sony_arw2_load_raw) { // RT: arw2 scale fix
black <<= 2; black <<= 2;
} }
{ /* Check for RawTherapee table overrides and extensions */ { /* Check for RawTherapee table overrides and extensions */

View File

@ -1,5 +1,5 @@
--- dcraw.c 2013-11-07 16:47:20.881721251 +0100 --- dcraw.c 2013-11-07 16:47:20.881721251 +0100
+++ dcraw.cc 2013-11-18 11:32:46.856425587 +0100 +++ dcraw.cc 2013-12-16 15:36:08.177247923 +0100
@@ -1,3 +1,15 @@ @@ -1,3 +1,15 @@
+/*RT*/#include <glib.h> +/*RT*/#include <glib.h>
+/*RT*/#include <glib/gstdio.h> +/*RT*/#include <glib/gstdio.h>
@ -797,7 +797,7 @@
} }
break; break;
} }
+ if (strcmp(make, "Sony") == 0 && table[i].black > 0 && table[i].black < 400) { // RT: arw2 scale fix + if (load_raw == &CLASS sony_arw2_load_raw) { // RT: arw2 scale fix
+ black <<= 2; + black <<= 2;
+ } + }
+ { /* Check for RawTherapee table overrides and extensions */ + { /* Check for RawTherapee table overrides and extensions */