From 19681f8ee5f94ac380d42c0d0f133ceb3612434a Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 18 Nov 2012 00:07:09 +0000 Subject: Add comment git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1760 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- editor/pnmconvol.c | 8 ++++++-- 1 file 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; -- cgit 1.4.1