Source position: agg_span_image_resample_gray.pas line 30
const downscale_shift = image_filter_shift;