]> granicus.if.org Git - imagemagick/commitdiff
cosmetic and typos in resize.c comments
authornicolas <nicolas@git.imagemagick.org>
Mon, 27 Sep 2010 23:42:08 +0000 (23:42 +0000)
committernicolas <nicolas@git.imagemagick.org>
Mon, 27 Sep 2010 23:42:08 +0000 (23:42 +0000)
libtool
magick/resize.c

diff --git a/libtool b/libtool
index 180a2a209d87b81b4428c5d66b6e62e14cf9c562..8f754d088efb07f4b8393f66c03387da46a9d716 100755 (executable)
--- a/libtool
+++ b/libtool
@@ -95,7 +95,7 @@ NM="/usr/bin/nm -B"
 LN_S="ln -s"
 
 # What is the maximum length of a command?
-max_cmd_len=3458764513820540925
+max_cmd_len=1572864
 
 # Object file suffix (normally "o").
 objext=o
index fd24db1e5249f3b13c70c795d75b330370663d14..528efeb81189ebaff99cab4105c86cd9741dd3c4 100644 (file)
@@ -181,7 +181,7 @@ static MagickRealType Box(const MagickRealType magick_unused(x),
   const ResizeFilter *magick_unused(resize_filter))
 {
   /*
-    A Box filter is a equal weighting function (all weights tha same).
+    A Box filter is a equal weighting function (all weights equal).
     DO NOT LIMIT results by support or resize point sampling will work
     as it requests points beyond its normal 0.0 support size.
   */
@@ -233,7 +233,7 @@ static MagickRealType Gaussian(const MagickRealType x,
   const ResizeFilter *magick_unused(resize_filter))
 {
   /*
-     1D Gaussian with sigma=1/2
+    1D Gaussian with sigma=1/2:
       exp(-2 x^2)/sqrt(pi/2))
   */
   /*const MagickRealType alpha = (MagickRealType) (2.0/MagickSQ2PI);*/
@@ -244,7 +244,8 @@ static MagickRealType Hanning(const MagickRealType x,
   const ResizeFilter *magick_unused(resize_filter))
 {
   /*
-    Cosine window function: .5 + .5 cos(pi x).
+    Cosine window function:
+      .5+.5cos(pi x).
   */
   const MagickRealType cospix = cos((double) (MagickPIL*x));
   return(0.5+0.5*cospix);
@@ -254,7 +255,8 @@ static MagickRealType Hamming(const MagickRealType x,
   const ResizeFilter *magick_unused(resize_filter))
 {
   /*
-    Offset cosine window function: .54 + .46 cos(pi x).
+    Offset cosine window function:
+     .54 + .46 cos(pi x).
   */
   const MagickRealType cospix = cos((double) (MagickPIL*x));
   return(0.54+0.46*cospix);
@@ -328,7 +330,7 @@ static MagickRealType Sinc(const MagickRealType x,
   const ResizeFilter *magick_unused(resize_filter))
 {
   /*
-    Scaled sinc(x) function using a trig call
+    Scaled sinc(x) function using a trig call:
       sinc(x) == sin(pi x)/(pi x).
   */
   if (x != 0.0)