]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authornicolas <nicolas@git.imagemagick.org>
Sun, 24 Oct 2010 20:11:54 +0000 (20:11 +0000)
committernicolas <nicolas@git.imagemagick.org>
Sun, 24 Oct 2010 20:11:54 +0000 (20:11 +0000)
magick/resize.c

index 16c7b976ca43eea3a783cfa01c41910847511ccc..5a128a0dc8b9622906b095a252e97875a9755968 100644 (file)
@@ -221,8 +221,10 @@ static MagickRealType CubicBC(const MagickRealType x,
        Q0 + Q1*x + Q2*x^2 + Q3*x^3      1 <= x < 2
 
     which ensures function is continuous in value and derivative
-    (slope).  This implies that P1 is always zero; for this reason, it
-    is skipped.
+    (slope).
+
+    P1 is always zero; for this reason, it is skipped:
+    coeff[0]=P0, coeff[1]=P2.
   */
   if (x < 1.0)
     return(resize_filter->coeff[0]+x*(x*