pike.git
/
src
/
modules
/
Image
/
match.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/Image/match.h:186:
} \ imgi[i+(nys/2)*xs+(nxs/2)].r=\ (int)(255.99/(1.0+((((float)scale) * SCALE_MODIFY((float)sum))))); \ }\ } #define AVOID_IS_TOO_BIG ((haystack_avoidi[i].r)>(foo)) if (type==1)
-
DOUBLE_LOOP(0,1,1, , , )
+
DOUBLE_LOOP(0,1,1,
*1
,
*1
,
*1
)
else if (type==2) DOUBLE_LOOP(0, haystack_certi[j], needle_certi[ny*nxs+nx],.r,.g,.b) else if (type==3)
-
DOUBLE_LOOP(AVOID_IS_TOO_BIG,1,1, , , )
+
DOUBLE_LOOP(AVOID_IS_TOO_BIG,1,1,
*1
,
*1
,
*1
)
else if (type==4) DOUBLE_LOOP(AVOID_IS_TOO_BIG, haystack_certi[j], needle_certi[ny*nxs+nx],.r,.g,.b) #undef NORMCODE #undef AVOID_IS_TOO_BIG #undef PIXEL_VALUE_DISTANCE #undef DOUBLE_LOOP THREADS_DISALLOW(); } push_object(o); } #undef NAME #undef INAME