Author: post
Date: 2011-07-10 10:55:43 +0200 (Sun, 10 Jul 2011)
New Revision: 368
Modified:
RawSpeed/OrfDecoder.cpp
Log:
One more minor optimization for ORF.
Modified: RawSpeed/OrfDecoder.cpp
===================================================================
--- RawSpeed/OrfDecoder.cpp 2011-07-10 08:54:06 UTC (rev 367)
+++ RawSpeed/OrfDecoder.cpp 2011-07-10 08:55:43 UTC (rev 368)
@@ -168,7 +168,7 @@
// Check if sign is different, and one is not zero
if (((leftMinusNw) ^ (upMinusNw)) < 0 && (upMinusNw * leftMinusNw)) {
if (abs(leftMinusNw) > 32 || abs(upMinusNw) > 32)
- pred = left0 + up - nw0;
+ pred = left0 + upMinusNw;
else
pred = (left0 + up) >> 1;
} else
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit