Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 75 → Rev 76

/trunk/process.c
136,7 → 136,8
return userCanceledErr;
}else
// find base pointer to selection image data
image_ptr = (unsigned char*)pb->inData + (long)pb->inRowBytes*(pb->filterRect.top - pb->inRect.top)
image_ptr = (unsigned char*)pb->inData
+ (long)pb->inRowBytes*(pb->filterRect.top - pb->inRect.top)
+ (long)nplanes*(pb->filterRect.left - pb->inRect.left);
 
// j indexes scaled output rows
144,9 → 145,7
j < outPiece->bottom ; ++j, outrow += outRowBytes, y += zoom )
{
var['y'] = y; // index of corresponding *input* row, top of selection == 0
inrow = (unsigned char*)pb->inData
+ ((long)y + pb->filterRect.top - pb->inRect.top)*pb->inRowBytes
+ (long)nplanes*(pb->filterRect.left - pb->inRect.left);
inrow = image_ptr + (long)y*pb->inRowBytes;
 
// i indexes scaled output columns
for( outp = outrow, i = outPiece->left, x = filterPiece->left - pb->filterRect.left ;