Update of /cvsroot/ufraw/ufraw
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv5103
Modified Files:
dcraw_api.cc
Log Message:
Fix artifacts in shadows of Canon 40D files.
Index: dcraw_api.cc
===================================================================
RCS file: /cvsroot/ufraw/ufraw/dcraw_api.cc,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- dcraw_api.cc 5 Dec 2009 02:40:02 -0000 1.64
+++ dcraw_api.cc 9 Dec 2009 03:07:42 -0000 1.65
@@ -635,7 +635,7 @@
int cc;
for (cc=0; cc<4; cc++)
h->raw.image[i][cc] = MIN(MAX(
- (gint64)(h->raw.image[i][cc] - black) *
+ ((gint64)h->raw.image[i][cc] - black) *
rgbWB[cc] / 0x10000, 0), 0xFFFF);
}
}
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
ufraw-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs