Home
last modified time | relevance | path

Searched refs:XY_ONE (Results 1 – 2 of 2) sorted by relevance

/external/opencv/cxcore/src/
Dcxdrawing.cpp44 #define XY_ONE (1 << XY_SHIFT) macro
315 pt1.x -= XY_ONE*2; in icvLineAA()
316 pt1.y -= XY_ONE*2; in icvLineAA()
317 pt2.x -= XY_ONE*2; in icvLineAA()
318 pt2.y -= XY_ONE*2; in icvLineAA()
346 x_step = XY_ONE; in icvLineAA()
348 pt2.x += XY_ONE; in icvLineAA()
350 j = -(pt1.x & (XY_ONE - 1)); in icvLineAA()
351 pt1.y += (int) ((((int64) y_step) * j) >> XY_SHIFT) + (XY_ONE >> 1); in icvLineAA()
371 y_step = XY_ONE; in icvLineAA()
[all …]
/external/opencv3/modules/imgproc/src/
Ddrawing.cpp46 enum { XY_SHIFT = 16, XY_ONE = 1 << XY_SHIFT, DRAWING_STORAGE_BLOCK = (1<<12) - 256 }; enumerator
306 pt1.x -= XY_ONE*2; in LineAA()
307 pt1.y -= XY_ONE*2; in LineAA()
308 pt2.x -= XY_ONE*2; in LineAA()
309 pt2.y -= XY_ONE*2; in LineAA()
337 x_step = XY_ONE; in LineAA()
339 pt2.x += XY_ONE; in LineAA()
341 j = -(pt1.x & (XY_ONE - 1)); in LineAA()
342 pt1.y += (int) ((((int64) y_step) * j) >> XY_SHIFT) + (XY_ONE >> 1); in LineAA()
362 y_step = XY_ONE; in LineAA()
[all …]