Home
last modified time | relevance | path

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

/external/opencv/cv/src/
Dcvsubdivision2d.cpp47 CvSubdiv2D *subdiv = 0; in cvCreateSubdiv2D() local
56 if( header_size < (int)sizeof( *subdiv ) || in cvCreateSubdiv2D()
61 subdiv = (CvSubdiv2D *) cvCreateGraph( subdiv_type, header_size, in cvCreateSubdiv2D()
67 return subdiv; in cvCreateSubdiv2D()
76 cvSubdiv2DMakeEdge( CvSubdiv2D * subdiv ) in cvSubdiv2DMakeEdge() argument
85 if( !subdiv ) in cvSubdiv2DMakeEdge()
88 edge = (CvQuadEdge2D*)cvSetNew( (CvSet*)subdiv->edges ); in cvSubdiv2DMakeEdge()
99 subdiv->quad_edges++; in cvSubdiv2DMakeEdge()
109 cvSubdiv2DAddPoint( CvSubdiv2D * subdiv, CvPoint2D32f pt, int is_virtual ) in cvSubdiv2DAddPoint() argument
113 subdiv_point = (CvSubdiv2DPoint*)cvSetNew( (CvSet*)subdiv ); in cvSubdiv2DAddPoint()
[all …]
/external/opencv3/samples/cpp/
Ddelaunay2.cpp24 static void draw_subdiv( Mat& img, Subdiv2D& subdiv, Scalar delaunay_color ) in draw_subdiv() argument
28 subdiv.getTriangleList(triangleList); in draw_subdiv()
43 subdiv.getEdgeList(edgeList); in draw_subdiv()
54 static void locate_point( Mat& img, Subdiv2D& subdiv, Point2f fp, Scalar active_color ) in locate_point() argument
58 subdiv.locate(fp, e0, vertex); in locate_point()
66 if( subdiv.edgeOrg(e, &org) > 0 && subdiv.edgeDst(e, &dst) > 0 ) in locate_point()
69 e = subdiv.getEdge(e, Subdiv2D::NEXT_AROUND_LEFT); in locate_point()
78 static void paint_voronoi( Mat& img, Subdiv2D& subdiv ) in paint_voronoi() argument
82 subdiv.getVoronoiFacetList(vector<int>(), facets, centers); in paint_voronoi()
113 Subdiv2D subdiv(rect); in main() local
[all …]
/external/opencv/cvaux/src/
Dcvsubdiv2.cpp45 icvSubdiv2DCheck( CvSubdiv2D* subdiv ) in icvSubdiv2DCheck() argument
47 int i, j, total = subdiv->edges->total; in icvSubdiv2DCheck()
54 if( !subdiv ) in icvSubdiv2DCheck()
59 CvQuadEdge2D* edge = (CvQuadEdge2D*)cvGetSetElem(subdiv->edges,i); in icvSubdiv2DCheck()
107 draw_subdiv_facet( CvSubdiv2D * subdiv, IplImage * dst, IplImage * src, CvSubdiv2DEdge edge ) in draw_subdiv_facet() argument
120 while( t != edge && count < subdiv->quad_edges * 4 ); in draw_subdiv_facet()
164 icvDrawMosaic( CvSubdiv2D * subdiv, IplImage * src, IplImage * dst ) in icvDrawMosaic() argument
166 int i, total = subdiv->edges->total; in icvDrawMosaic()
168 cvCalcSubdivVoronoi2D( subdiv ); in icvDrawMosaic()
173 CvQuadEdge2D *edge = (CvQuadEdge2D *) cvGetSetElem( subdiv->edges, i ); in icvDrawMosaic()
[all …]
Ddecomppoly.cpp529 CvSubdiv2D** subdiv,
550 *subdiv = ( CvSubdiv2D* )0;
574 *subdiv = cvCreateSubdiv2D( CV_SEQ_KIND_SUBDIV2D,
584 pntsPtrs[ i ] = cvSubdiv2DAddPoint( *subdiv, pnt, 0 );
590 ( cvSubdiv2DMakeEdge( *subdiv ) & 0xfffffffc );
614 (*subdiv) -> topleft.x = ( float )cont -> rect.x;
615 (*subdiv) -> topleft.y = ( float )cont -> rect.y;
616 (*subdiv) -> bottomright.x =
618 (*subdiv) -> bottomright.y =
Dcvcorrimages.cpp559 CvSubdiv2D* subdiv = 0; in icvRemoveDoublePoins() local
686subdiv = cvCreateSubdivDelaunay2D( cvRect( cvRound(minX)-5, cvRound(minY)-5, cvRound(maxX-minX)+10… in icvRemoveDoublePoins()
700 point = cvSubdivDelaunay2DInsert( subdiv, pt ); in icvRemoveDoublePoins()
723 CvSubdiv2DPoint* point = cvFindNearestPoint2D( subdiv, pt ); in icvRemoveDoublePoins()
/external/deqp/framework/randomshaders/
DrsgUtils.hpp61 const float subdiv = 8; in quantizeFloatRange() local
63 float newMin = deFloatCeil(min*subdiv)/subdiv; in quantizeFloatRange()
69 float newMax = deFloatFloor(max*subdiv)/subdiv; in quantizeFloatRange()
/external/skia/src/gpu/batches/
DGrAAHairLinePathRenderer.cpp319 int subdiv = num_quad_subdivs(devPts); in gather_lines_and_quads() local
320 SkASSERT(subdiv >= -1); in gather_lines_and_quads()
321 if (-1 == subdiv) { in gather_lines_and_quads()
334 quadSubdivCnts->push_back() = subdiv; in gather_lines_and_quads()
335 totalQuadCount += 1 << subdiv; in gather_lines_and_quads()
372 int subdiv = num_quad_subdivs(qInDevSpace); in gather_lines_and_quads() local
373 SkASSERT(subdiv >= -1); in gather_lines_and_quads()
374 if (-1 == subdiv) { in gather_lines_and_quads()
388 quadSubdivCnts->push_back() = subdiv; in gather_lines_and_quads()
389 totalQuadCount += 1 << subdiv; in gather_lines_and_quads()
[all …]
/external/opencv/cv/include/
Dcv.h619 CVAPI(void) cvInitSubdivDelaunay2D( CvSubdiv2D* subdiv, CvRect rect ); in LOAD_CHDL()
631 CvSubdiv2D* subdiv = cvCreateSubdiv2D( CV_SEQ_KIND_SUBDIV2D, sizeof(*subdiv), in LOAD_CHDL() local
634 cvInitSubdivDelaunay2D( subdiv, rect ); in LOAD_CHDL()
635 return subdiv; in LOAD_CHDL()
640 CVAPI(CvSubdiv2DPoint*) cvSubdivDelaunay2DInsert( CvSubdiv2D* subdiv, CvPoint2D32f pt); in LOAD_CHDL()
646 CvSubdiv2D* subdiv, CvPoint2D32f pt, in LOAD_CHDL()
651 CVAPI(void) cvCalcSubdivVoronoi2D( CvSubdiv2D* subdiv ); in LOAD_CHDL()
655 CVAPI(void) cvClearSubdivVoronoi2D( CvSubdiv2D* subdiv ); in LOAD_CHDL()
659 CVAPI(CvSubdiv2DPoint*) cvFindNearestPoint2D( CvSubdiv2D* subdiv, CvPoint2D32f pt ); in LOAD_CHDL()
/external/opencv/cvaux/include/
Dcvaux.h254 CVAPI(void) icvDrawMosaic( CvSubdiv2D* subdiv, IplImage* src, IplImage* dst );
258 CVAPI(int) icvSubdiv2DCheck( CvSubdiv2D* subdiv );