Home
last modified time | relevance | path

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

/external/opencv/cv/src/
Dcvapprox.cpp526 CvPoint start_pt = {INT_MIN, INT_MIN}, end_pt = {0, 0}, pt = {0,0}; in icvApproxPolyDP_32s() local
553 start_pt = *(CvPoint*)cvGetSeqElem( src_contour, -1 ); in icvApproxPolyDP_32s()
555 if( start_pt.x != end_pt.x || start_pt.y != end_pt.y ) in icvApproxPolyDP_32s()
577 CV_READ_SEQ_ELEM( start_pt, reader ); /* read the first point */ in icvApproxPolyDP_32s()
584 dx = pt.x - start_pt.x; in icvApproxPolyDP_32s()
585 dy = pt.y - start_pt.y; in icvApproxPolyDP_32s()
614 CV_WRITE_SEQ_ELEM( start_pt, writer ); in icvApproxPolyDP_32s()
626 CV_READ_SEQ_ELEM( start_pt, reader ); in icvApproxPolyDP_32s()
632 dx = end_pt.x - start_pt.x; in icvApproxPolyDP_32s()
633 dy = end_pt.y - start_pt.y; in icvApproxPolyDP_32s()
[all …]
/external/opencv3/modules/imgproc/src/
Dapprox.cpp502 PT start_pt((T)-1000000, (T)-1000000), end_pt(0, 0), pt(0,0); in approxPolyDP_() local
518 start_pt = src_contour[count-1]; in approxPolyDP_()
520 if( start_pt.x != end_pt.x || start_pt.y != end_pt.y ) in approxPolyDP_()
542 READ_PT(start_pt, pos); in approxPolyDP_()
549 dx = pt.x - start_pt.x; in approxPolyDP_()
550 dy = pt.y - start_pt.y; in approxPolyDP_()
574 WRITE_PT(start_pt); in approxPolyDP_()
583 READ_PT(start_pt, pos); in approxPolyDP_()
589 dx = end_pt.x - start_pt.x; in approxPolyDP_()
590 dy = end_pt.y - start_pt.y; in approxPolyDP_()
[all …]