about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-11-18 00:07:09 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-11-18 00:07:09 +0000
commit19681f8ee5f94ac380d42c0d0f133ceb3612434a (patch)
tree94ec92a5a3a129a477ff4b5649fc4b5820e9d8c2
parent26a0ed5b0aab2b4f6cf6b786379b465bf09c9ffb (diff)
downloadnetpbm-mirror-19681f8ee5f94ac380d42c0d0f133ceb3612434a.tar.gz
netpbm-mirror-19681f8ee5f94ac380d42c0d0f133ceb3612434a.tar.xz
netpbm-mirror-19681f8ee5f94ac380d42c0d0f133ceb3612434a.zip
Add comment
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1760 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--editor/pnmconvol.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/editor/pnmconvol.c b/editor/pnmconvol.c
index e5c05ebc..105f4644 100644
--- a/editor/pnmconvol.c
+++ b/editor/pnmconvol.c
@@ -786,7 +786,11 @@ copyWeight(float **       const srcWeight,
            unsigned int   const width,
            unsigned int   const height, 
            float ***      const dstWeightP) {
-
+/*----------------------------------------------------------------------------
+   Make a copy, in dynamically allocated memory, of the weight matrix
+   'srcWeight', whose dimensions are 'width' by 'height'.  Return the
+   new matrix as *dstWeightP.
+-----------------------------------------------------------------------------*/
     unsigned int row;
     float ** dstWeight;
 
@@ -1048,7 +1052,7 @@ writeUnconvolvedBottom(struct pam *              const outpamP,
   Write out the bottom part that we can't convolve because the convolution
   kernel runs off the bottom of the image.
 
-  Assume the 'windowHeight' rows at the bottom of the image is in the row
+  Assume the 'windowHeight' rows at the bottom of the image are in the row
   buffer, mapped by 'circMap' such that the top of the window is circMap[0].
 -----------------------------------------------------------------------------*/
     unsigned int row;