Author: post
Date: 2009-09-22 22:33:00 +0200 (Tue, 22 Sep 2009)
New Revision: 2647

Modified:
   trunk/plugins/demosaic/demosaic.c
Log:
Demosaic: Copy Correct CFA data in border.

Modified: trunk/plugins/demosaic/demosaic.c
===================================================================
--- trunk/plugins/demosaic/demosaic.c   2009-09-22 20:20:39 UTC (rev 2646)
+++ trunk/plugins/demosaic/demosaic.c   2009-09-22 20:33:00 UTC (rev 2647)
@@ -528,7 +528,7 @@
                if (first == 1) {
                        /* Green first, then red or blue */
                        /* Copy non-green to this and pixel below */
-                       dest[second] = dest[second+ors] = dest[second+ops];
+                       dest[second] = dest[second+ors] = src[1];
                        /* Copy green down */
                        dest[1+ors] = *src;
                        for(col=0 ; col < col_end; col += 2)


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to