if( (dx -= itx) < 0 ) dx += 1; \
if( (dy -= ity) < 0 ) dy += 1; \
int c0 = itx+0, c1 = itx+1, r0 = ity+0, r1 = ity+1; \
typ *r0p = r0>=in_min_y && r0<in_max_y ? ((typ**)interp_rows)[r0] : 0; \
typ *r1p = r1>=in_min_y && r1<in_max_y ? ((typ**)interp_rows)[r1] : 0
if( (dx -= itx) < 0 ) dx += 1; \
if( (dy -= ity) < 0 ) dy += 1; \
int c0 = itx+0, c1 = itx+1, r0 = ity+0, r1 = ity+1; \
typ *r0p = r0>=in_min_y && r0<in_max_y ? ((typ**)interp_rows)[r0] : 0; \
typ *r1p = r1>=in_min_y && r1<in_max_y ? ((typ**)interp_rows)[r1] : 0