From 47670ebbd8d38209568ce0e57b86d7f40fa14819 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 26 Feb 2022 21:33:44 +0000 Subject: whitespace git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4278 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- other/pambayer.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'other') diff --git a/other/pambayer.c b/other/pambayer.c index 2d1879f0..c6c4c847 100644 --- a/other/pambayer.c +++ b/other/pambayer.c @@ -18,7 +18,7 @@ USA Copyright Alexandre Becoulet - + Completely rewritten for Netpbm by Bryan Henderson August 2005. */ @@ -127,7 +127,7 @@ calc_4(const struct pam * const pamP, (even/odd is with respect to ('xoffset', 'yoffset')). -----------------------------------------------------------------------------*/ unsigned int row; - + /* Do the even rows -- the even column pixels get copied from the input, while the odd column pixels get the mean of adjacent even ones */ @@ -146,7 +146,7 @@ calc_4(const struct pam * const pamP, for (row = yoffset; row + 2 < pamP->height; row += 2) { unsigned int col; for (col = xoffset; col < pamP->width; ++col) { - outtuples[row + 1][col][plane] = + outtuples[row + 1][col][plane] = noInterpolation ? 0 : (outtuples[row][col][plane] + @@ -409,11 +409,11 @@ main(int argc, const char **argv) { tuple ** outtuples; pm_proginit(&argc, argv); - + parseCommandLine(argc, argv, &cmdline); - + ifP = pm_openr(cmdline.inputFilespec); - + intuples = pnm_readpam(ifP, &inpam, PAM_STRUCT_SIZE(tuple_type)); makeOutputPam(&inpam, &outpam, !!cmdline.subchannel); @@ -433,3 +433,6 @@ main(int argc, const char **argv) { return 0; } + + + -- cgit 1.4.1