XY_SHIFT 46 modules/imgproc/src/drawing.cpp enum { XY_SHIFT = 16, XY_ONE = 1 << XY_SHIFT, DRAWING_STORAGE_BLOCK = (1<<12) - 256 }; XY_SHIFT 312 modules/imgproc/src/drawing.cpp size.width = ((size.width - 5) << XY_SHIFT) + 1; XY_SHIFT 313 modules/imgproc/src/drawing.cpp size.height = ((size.height - 5) << XY_SHIFT) + 1; XY_SHIFT 338 modules/imgproc/src/drawing.cpp y_step = (int) (((int64) dy << XY_SHIFT) / (ax | 1)); XY_SHIFT 340 modules/imgproc/src/drawing.cpp ecount = (pt2.x >> XY_SHIFT) - (pt1.x >> XY_SHIFT); XY_SHIFT 342 modules/imgproc/src/drawing.cpp pt1.y += (int) ((((int64) y_step) * j) >> XY_SHIFT) + (XY_ONE >> 1); XY_SHIFT 343 modules/imgproc/src/drawing.cpp slope = (y_step >> (XY_SHIFT - 5)) & 0x3f; XY_SHIFT 347 modules/imgproc/src/drawing.cpp i = (pt1.x >> (XY_SHIFT - 7)) & 0x78; XY_SHIFT 348 modules/imgproc/src/drawing.cpp j = (pt2.x >> (XY_SHIFT - 7)) & 0x78; XY_SHIFT 361 modules/imgproc/src/drawing.cpp x_step = (int) (((int64) dx << XY_SHIFT) / (ay | 1)); XY_SHIFT 364 modules/imgproc/src/drawing.cpp ecount = (pt2.y >> XY_SHIFT) - (pt1.y >> XY_SHIFT); XY_SHIFT 366 modules/imgproc/src/drawing.cpp pt1.x += (int) ((((int64) x_step) * j) >> XY_SHIFT) + (XY_ONE >> 1); XY_SHIFT 367 modules/imgproc/src/drawing.cpp slope = (x_step >> (XY_SHIFT - 5)) & 0x3f; XY_SHIFT 371 modules/imgproc/src/drawing.cpp i = (pt1.y >> (XY_SHIFT - 7)) & 0x78; XY_SHIFT 372 modules/imgproc/src/drawing.cpp j = (pt2.y >> (XY_SHIFT - 7)) & 0x78; XY_SHIFT 409 modules/imgproc/src/drawing.cpp ptr += (pt1.x >> XY_SHIFT) * 3; XY_SHIFT 413 modules/imgproc/src/drawing.cpp uchar *tptr = ptr + ((pt1.y >> XY_SHIFT) - 1) * step; XY_SHIFT 417 modules/imgproc/src/drawing.cpp int a, dist = (pt1.y >> (XY_SHIFT - 5)) & 31; XY_SHIFT 441 modules/imgproc/src/drawing.cpp ptr += (pt1.y >> XY_SHIFT) * step; XY_SHIFT 445 modules/imgproc/src/drawing.cpp uchar *tptr = ptr + ((pt1.x >> XY_SHIFT) - 1) * 3; XY_SHIFT 449 modules/imgproc/src/drawing.cpp int a, dist = (pt1.x >> (XY_SHIFT - 5)) & 31; XY_SHIFT 484 modules/imgproc/src/drawing.cpp ptr += (pt1.x >> XY_SHIFT); XY_SHIFT 488 modules/imgproc/src/drawing.cpp uchar *tptr = ptr + ((pt1.y >> XY_SHIFT) - 1) * step; XY_SHIFT 492 modules/imgproc/src/drawing.cpp int a, dist = (pt1.y >> (XY_SHIFT - 5)) & 31; XY_SHIFT 516 modules/imgproc/src/drawing.cpp ptr += (pt1.y >> XY_SHIFT) * step; XY_SHIFT 520 modules/imgproc/src/drawing.cpp uchar *tptr = ptr + ((pt1.x >> XY_SHIFT) - 1); XY_SHIFT 524 modules/imgproc/src/drawing.cpp int a, dist = (pt1.x >> (XY_SHIFT - 5)) & 31; XY_SHIFT 567 modules/imgproc/src/drawing.cpp ptr += (pt1.x >> XY_SHIFT) * 4; XY_SHIFT 571 modules/imgproc/src/drawing.cpp uchar *tptr = ptr + ((pt1.y >> XY_SHIFT) - 1) * step; XY_SHIFT 575 modules/imgproc/src/drawing.cpp int a, dist = (pt1.y >> (XY_SHIFT - 5)) & 31; XY_SHIFT 599 modules/imgproc/src/drawing.cpp ptr += (pt1.y >> XY_SHIFT) * step; XY_SHIFT 603 modules/imgproc/src/drawing.cpp uchar *tptr = ptr + ((pt1.x >> XY_SHIFT) - 1) * 4; XY_SHIFT 607 modules/imgproc/src/drawing.cpp int a, dist = (pt1.x >> (XY_SHIFT - 5)) & 31; XY_SHIFT 675 modules/imgproc/src/drawing.cpp y_step = (int) (((int64) dy << XY_SHIFT) / (ax | 1)); XY_SHIFT 676 modules/imgproc/src/drawing.cpp ecount = (pt2.x - pt1.x) >> XY_SHIFT; XY_SHIFT 689 modules/imgproc/src/drawing.cpp x_step = (int) (((int64) dx << XY_SHIFT) / (ay | 1)); XY_SHIFT 691 modules/imgproc/src/drawing.cpp ecount = (pt2.y - pt1.y) >> XY_SHIFT; XY_SHIFT 710 modules/imgproc/src/drawing.cpp ICV_PUT_POINT((pt2.x + (XY_ONE >> 1)) >> XY_SHIFT, XY_SHIFT 711 modules/imgproc/src/drawing.cpp (pt2.y + (XY_ONE >> 1)) >> XY_SHIFT); XY_SHIFT 715 modules/imgproc/src/drawing.cpp pt1.x >>= XY_SHIFT; XY_SHIFT 719 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x, pt1.y >> XY_SHIFT); XY_SHIFT 727 modules/imgproc/src/drawing.cpp pt1.y >>= XY_SHIFT; XY_SHIFT 731 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x >> XY_SHIFT, pt1.y); XY_SHIFT 751 modules/imgproc/src/drawing.cpp ICV_PUT_POINT((pt2.x + (XY_ONE >> 1)) >> XY_SHIFT, XY_SHIFT 752 modules/imgproc/src/drawing.cpp (pt2.y + (XY_ONE >> 1)) >> XY_SHIFT); XY_SHIFT 756 modules/imgproc/src/drawing.cpp pt1.x >>= XY_SHIFT; XY_SHIFT 760 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x, pt1.y >> XY_SHIFT); XY_SHIFT 768 modules/imgproc/src/drawing.cpp pt1.y >>= XY_SHIFT; XY_SHIFT 772 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x >> XY_SHIFT, pt1.y); XY_SHIFT 793 modules/imgproc/src/drawing.cpp ICV_PUT_POINT((pt2.x + (XY_ONE >> 1)) >> XY_SHIFT, XY_SHIFT 794 modules/imgproc/src/drawing.cpp (pt2.y + (XY_ONE >> 1)) >> XY_SHIFT); XY_SHIFT 798 modules/imgproc/src/drawing.cpp pt1.x >>= XY_SHIFT; XY_SHIFT 802 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x, pt1.y >> XY_SHIFT); XY_SHIFT 810 modules/imgproc/src/drawing.cpp pt1.y >>= XY_SHIFT; XY_SHIFT 814 modules/imgproc/src/drawing.cpp ICV_PUT_POINT(pt1.x >> XY_SHIFT, pt1.y); XY_SHIFT 993 modules/imgproc/src/drawing.cpp int delta = (std::max(axes.width,axes.height)+(XY_ONE>>1))>>XY_SHIFT; XY_SHIFT 1000 modules/imgproc/src/drawing.cpp PolyLine( img, &v[0], (int)v.size(), false, color, thickness, line_type, XY_SHIFT ); XY_SHIFT 1002 modules/imgproc/src/drawing.cpp FillConvexPoly( img, &v[0], (int)v.size(), color, line_type, XY_SHIFT ); XY_SHIFT 1007 modules/imgproc/src/drawing.cpp CollectPolyEdges( img, &v[0], (int)v.size(), edges, color, line_type, XY_SHIFT ); XY_SHIFT 1061 modules/imgproc/src/drawing.cpp p0.x <<= XY_SHIFT - shift; XY_SHIFT 1062 modules/imgproc/src/drawing.cpp p0.y <<= XY_SHIFT - shift; XY_SHIFT 1064 modules/imgproc/src/drawing.cpp assert( 0 <= shift && shift <= XY_SHIFT ); XY_SHIFT 1081 modules/imgproc/src/drawing.cpp p.x <<= XY_SHIFT - shift; XY_SHIFT 1082 modules/imgproc/src/drawing.cpp p.y <<= XY_SHIFT - shift; XY_SHIFT 1089 modules/imgproc/src/drawing.cpp pt0.x = p0.x >> XY_SHIFT; XY_SHIFT 1090 modules/imgproc/src/drawing.cpp pt0.y = p0.y >> XY_SHIFT; XY_SHIFT 1091 modules/imgproc/src/drawing.cpp pt1.x = p.x >> XY_SHIFT; XY_SHIFT 1092 modules/imgproc/src/drawing.cpp pt1.y = p.y >> XY_SHIFT; XY_SHIFT 1143 modules/imgproc/src/drawing.cpp xs <<= XY_SHIFT - shift; XY_SHIFT 1144 modules/imgproc/src/drawing.cpp xe = v[idx].x << (XY_SHIFT - shift); XY_SHIFT 1169 modules/imgproc/src/drawing.cpp int xx1 = (x1 + delta1) >> XY_SHIFT; XY_SHIFT 1170 modules/imgproc/src/drawing.cpp int xx2 = (x2 + delta2) >> XY_SHIFT; XY_SHIFT 1201 modules/imgproc/src/drawing.cpp pt0.x = (pt0.x + offset.x) << (XY_SHIFT - shift); XY_SHIFT 1212 modules/imgproc/src/drawing.cpp pt1.x = (pt1.x + offset.x) << (XY_SHIFT - shift); XY_SHIFT 1218 modules/imgproc/src/drawing.cpp t0.x = (pt0.x + (XY_ONE >> 1)) >> XY_SHIFT; XY_SHIFT 1219 modules/imgproc/src/drawing.cpp t1.x = (pt1.x + (XY_ONE >> 1)) >> XY_SHIFT; XY_SHIFT 1225 modules/imgproc/src/drawing.cpp t0.y = pt0.y << XY_SHIFT; XY_SHIFT 1226 modules/imgproc/src/drawing.cpp t1.y = pt1.y << XY_SHIFT; XY_SHIFT 1289 modules/imgproc/src/drawing.cpp if( y_max < 0 || y_min >= size.height || x_max < 0 || x_min >= (size.width<<XY_SHIFT) ) XY_SHIFT 1356 modules/imgproc/src/drawing.cpp x1 = (x1 + XY_ONE - 1) >> XY_SHIFT; XY_SHIFT 1357 modules/imgproc/src/drawing.cpp x2 = x2 >> XY_SHIFT; XY_SHIFT 1562 modules/imgproc/src/drawing.cpp p0.x <<= XY_SHIFT - shift; XY_SHIFT 1563 modules/imgproc/src/drawing.cpp p0.y <<= XY_SHIFT - shift; XY_SHIFT 1564 modules/imgproc/src/drawing.cpp p1.x <<= XY_SHIFT - shift; XY_SHIFT 1565 modules/imgproc/src/drawing.cpp p1.y <<= XY_SHIFT - shift; XY_SHIFT 1573 modules/imgproc/src/drawing.cpp p0.x = (p0.x + (XY_ONE>>1)) >> XY_SHIFT; XY_SHIFT 1574 modules/imgproc/src/drawing.cpp p0.y = (p0.y + (XY_ONE>>1)) >> XY_SHIFT; XY_SHIFT 1575 modules/imgproc/src/drawing.cpp p1.x = (p1.x + (XY_ONE>>1)) >> XY_SHIFT; XY_SHIFT 1576 modules/imgproc/src/drawing.cpp p1.y = (p1.y + (XY_ONE>>1)) >> XY_SHIFT; XY_SHIFT 1591 modules/imgproc/src/drawing.cpp thickness <<= XY_SHIFT - 1; XY_SHIFT 1608 modules/imgproc/src/drawing.cpp FillConvexPoly( img, pt, 4, color, line_type, XY_SHIFT ); XY_SHIFT 1618 modules/imgproc/src/drawing.cpp center.x = (p0.x + (XY_ONE>>1)) >> XY_SHIFT; XY_SHIFT 1619 modules/imgproc/src/drawing.cpp center.y = (p0.y + (XY_ONE>>1)) >> XY_SHIFT; XY_SHIFT 1620 modules/imgproc/src/drawing.cpp Circle( img, center, (thickness + (XY_ONE>>1)) >> XY_SHIFT, color, 1 ); XY_SHIFT 1645 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= shift && shift <= XY_SHIFT && thickness >= 0 ); XY_SHIFT 1670 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= shift && shift <= XY_SHIFT ); XY_SHIFT 1705 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= shift && shift <= XY_SHIFT ); XY_SHIFT 1730 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= shift && shift <= XY_SHIFT ); XY_SHIFT 1746 modules/imgproc/src/drawing.cpp 0 <= shift && shift <= XY_SHIFT ); XY_SHIFT 1753 modules/imgproc/src/drawing.cpp center.x <<= XY_SHIFT - shift; XY_SHIFT 1754 modules/imgproc/src/drawing.cpp center.y <<= XY_SHIFT - shift; XY_SHIFT 1755 modules/imgproc/src/drawing.cpp radius <<= XY_SHIFT - shift; XY_SHIFT 1774 modules/imgproc/src/drawing.cpp thickness <= MAX_THICKNESS && 0 <= shift && shift <= XY_SHIFT ); XY_SHIFT 1782 modules/imgproc/src/drawing.cpp center.x <<= XY_SHIFT - shift; XY_SHIFT 1783 modules/imgproc/src/drawing.cpp center.y <<= XY_SHIFT - shift; XY_SHIFT 1784 modules/imgproc/src/drawing.cpp axes.width <<= XY_SHIFT - shift; XY_SHIFT 1785 modules/imgproc/src/drawing.cpp axes.height <<= XY_SHIFT - shift; XY_SHIFT 1806 modules/imgproc/src/drawing.cpp Point center(cvRound(box.center.x*(1 << XY_SHIFT)), XY_SHIFT 1807 modules/imgproc/src/drawing.cpp cvRound(box.center.y*(1 << XY_SHIFT))); XY_SHIFT 1808 modules/imgproc/src/drawing.cpp Size axes(cvRound(box.size.width*(1 << (XY_SHIFT - 1))), XY_SHIFT 1809 modules/imgproc/src/drawing.cpp cvRound(box.size.height*(1 << (XY_SHIFT - 1)))); XY_SHIFT 1823 modules/imgproc/src/drawing.cpp CV_Assert( 0 <= shift && shift <= XY_SHIFT ); XY_SHIFT 1836 modules/imgproc/src/drawing.cpp CV_Assert( pts && npts && ncontours >= 0 && 0 <= shift && shift <= XY_SHIFT ); XY_SHIFT 1863 modules/imgproc/src/drawing.cpp 0 <= shift && shift <= XY_SHIFT ); XY_SHIFT 2108 modules/imgproc/src/drawing.cpp int view_x = org.x << XY_SHIFT; XY_SHIFT 2109 modules/imgproc/src/drawing.cpp int view_y = (org.y << XY_SHIFT) + base_line*vscale; XY_SHIFT 2133 modules/imgproc/src/drawing.cpp PolyLine( img, &pts[0], (int)pts.size(), false, buf, thickness, line_type, XY_SHIFT );