Revision: 32754
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32754
Author:   campbellbarton
Date:     2010-10-28 14:40:25 +0200 (Thu, 28 Oct 2010)

Log Message:
-----------
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r32752:32753

Modified Paths:
--------------
    branches/render25/source/blender/nodes/intern/CMP_util.c

Modified: branches/render25/source/blender/nodes/intern/CMP_util.c
===================================================================
--- branches/render25/source/blender/nodes/intern/CMP_util.c    2010-10-28 
12:29:59 UTC (rev 32753)
+++ branches/render25/source/blender/nodes/intern/CMP_util.c    2010-10-28 
12:40:25 UTC (rev 32754)
@@ -1303,7 +1303,7 @@
 void IIR_gauss(CompBuf* src, float sigma, int chan, int xy)
 {
        double q, q2, sc, cf[4], tsM[9], tsu[3], tsv[3];
-       float *X, *Y, *W;
+       double *X, *Y, *W;
        int i, x, y, sz;
 
        // <0.5 not valid, though can have a possibly useful sort of sharpening 
effect
@@ -1367,9 +1367,9 @@
 
        // intermediate buffers
        sz = MAX2(src->x, src->y);
-       X = MEM_callocN(sz*sizeof(float), "IIR_gauss X buf");
-       Y = MEM_callocN(sz*sizeof(float), "IIR_gauss Y buf");
-       W = MEM_callocN(sz*sizeof(float), "IIR_gauss W buf");
+       X = MEM_callocN(sz*sizeof(double), "IIR_gauss X buf");
+       Y = MEM_callocN(sz*sizeof(double), "IIR_gauss Y buf");
+       W = MEM_callocN(sz*sizeof(double), "IIR_gauss W buf");
        if (xy & 1) {   // H
                for (y=0; y<src->y; ++y) {
                        const int yx = y*src->x;


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to