int xp, yp, i;  i = 0; for( xp = x; xp < ( x + w); xp++ ) for( yp = y; yp < (y + h); yp++ )
for (int xp = x; xp < (x + w); xp++) for (int yp = y; yp < (y + h); yp++)
    public void filterRGBPixels(int x,				int y,				int w,				int h,				int[] pixels,				int off,				int scansize)    {	int xp, yp, i;	i = 0;	for( xp = x; xp < ( x + w); xp++ )	    for( yp = y; yp < (y + h); yp++ )	    {		pixels[i] = filterRGB( xp, yp, pixels[i] );		i++;		}	}