int lastpix = sptr[pstep * (w - 1)]; \
/* add up the contributions for the -1 pixel */ \
for(j=0; j<rad; j++) { \
sum += sptr[pstep * j]; \
} \
/* first part adding sptr[rad] and subtracting sptr[0] */ \
int lastpix = sptr[pstep * (w - 1)]; \
/* add up the contributions for the -1 pixel */ \
for(j=0; j<rad; j++) { \
sum += sptr[pstep * j]; \
} \
/* first part adding sptr[rad] and subtracting sptr[0] */ \