Author: post
Date: 2010-01-31 12:47:34 +0100 (Sun, 31 Jan 2010)
New Revision: 3145

Modified:
   trunk/plugins/lensfun/lensfun.c
Log:
Lensfun: Don't use SSE2 if input pixelsize isn't 4.

Modified: trunk/plugins/lensfun/lensfun.c
===================================================================
--- trunk/plugins/lensfun/lensfun.c     2010-01-31 11:40:05 UTC (rev 3144)
+++ trunk/plugins/lensfun/lensfun.c     2010-01-31 11:47:34 UTC (rev 3145)
@@ -344,6 +344,9 @@
 
        gboolean sse2_available = !!(rs_detect_cpu_features() & 
RS_CPU_FLAG_SSE2) && is_sse2_compiled();
 
+       if (t->input->pixelsize != 4)
+               sse2_available = FALSE;
+
        if (t->stage == 3) 
        {
                /* Do TCA and distortion */


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

Reply via email to