diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-02-26 21:33:44 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-02-26 21:33:44 +0000 |
commit | 47670ebbd8d38209568ce0e57b86d7f40fa14819 (patch) | |
tree | 4c8d351961211fa3f3f27b0b1f08ab6840c96db7 /other | |
parent | 3d45ad346a067a54376d33f082ec53de63f23cfb (diff) | |
download | netpbm-mirror-47670ebbd8d38209568ce0e57b86d7f40fa14819.tar.gz netpbm-mirror-47670ebbd8d38209568ce0e57b86d7f40fa14819.tar.xz netpbm-mirror-47670ebbd8d38209568ce0e57b86d7f40fa14819.zip |
whitespace
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4278 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other')
-rw-r--r-- | other/pambayer.c | 15 |
1 files changed, 9 insertions, 6 deletions
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 <diaxen AT free DOT fr> - + 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; } + + + |