Home
last modified time | relevance | path

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

/external/opencv/cxcore/src/
Dcxdrawing.cpp43 #define XY_SHIFT 16 macro
44 #define XY_ONE (1 << XY_SHIFT)
321 size.width = ((size.width - 5) << XY_SHIFT) + 1; in icvLineAA()
322 size.height = ((size.height - 5) << XY_SHIFT) + 1; in icvLineAA()
347 y_step = (int) (((int64) dy << XY_SHIFT) / (ax | 1)); in icvLineAA()
349 ecount = (pt2.x >> XY_SHIFT) - (pt1.x >> XY_SHIFT); in icvLineAA()
351 pt1.y += (int) ((((int64) y_step) * j) >> XY_SHIFT) + (XY_ONE >> 1); in icvLineAA()
352 slope = (y_step >> (XY_SHIFT - 5)) & 0x3f; in icvLineAA()
356 i = (pt1.x >> (XY_SHIFT - 7)) & 0x78; in icvLineAA()
357 j = (pt2.x >> (XY_SHIFT - 7)) & 0x78; in icvLineAA()
[all …]