Searched refs:contours (Results 1 - 25 of 45) sorted by relevance

12

/external/opencv/cvaux/src/
H A Dcvbgfg_common.cpp77 CvSeq *contours, *c; local
85 // find contours around only bigger regions
106 contours = cvEndFindContours( &scanner );
110 for( c=contours; c != 0; c = c->h_next )
117 contours = 0;
120 return contours;
H A Dextendededges.cpp50 //create lists of segments of all contours from image
55 CvSeq* contours = 0; local
56 cvFindContours( image, tmp_storage, &contours, sizeof(CvContour), CV_RETR_LIST, CV_CHAIN_APPROX_NONE );
59 //iterate through contours
61 CvSeq* current = contours;
114 //free temporary memstorage with initial contours
123 //iplSet(image, 0 ); // this can cause double edges if two contours have common edge
/external/freetype/src/base/
H A Dftgloadr.c112 FT_FREE( loader->base.outline.contours );
151 current->contours = base->contours + base->n_contours;
247 /* check contours */
258 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) )
354 /* adjust contours count in newest outline */
356 current->outline.contours[n] =
357 (short)( current->outline.contours[n] + n_base_points );
384 FT_ARRAY_COPY( out->contours, in->contours,
[all...]
H A Dftoutln.c94 last = outline->contours[n];
321 FT_NEW_ARRAY( anoutline->contours, numContours ) )
378 end = outline->contours[n];
380 /* note that we don't accept empty contours */
425 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours );
452 FT_FREE( outline->contours );
566 last = outline->contours[n];
735 (outline)->contours[c - 1] + 1 \
737 (last) = (outline)->points + (outline)->contours[
[all...]
/external/pdfium/third_party/freetype/src/base/
H A Dftgloadr.c112 FT_FREE( loader->base.outline.contours );
151 current->contours = base->contours + base->n_contours;
247 /* check contours */
258 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) )
354 /* adjust contours count in newest outline */
356 current->outline.contours[n] =
357 (short)( current->outline.contours[n] + n_base_points );
384 FT_ARRAY_COPY( out->contours, in->contours,
[all...]
H A Dftoutln.c94 last = outline->contours[n];
321 FT_NEW_ARRAY( anoutline->contours, numContours ) )
378 end = outline->contours[n];
380 /* note that we don't accept empty contours */
422 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours );
449 FT_FREE( outline->contours );
563 last = outline->contours[n];
732 (outline)->contours[c - 1] + 1 \
734 (last) = (outline)->points + (outline)->contours[
[all...]
/external/freetype/src/autofit/
H A Dafhints.c309 AF_Point* contour = hints->contours;
690 if ( hints->contours != hints->embedded.contours )
691 FT_FREE( hints->contours );
740 /* first of all, reallocate the contours array if necessary */
746 if ( !hints->contours )
748 hints->contours = hints->embedded.contours;
754 if ( hints->contours == hints->embedded.contours )
[all...]
H A Dafhints.h332 #define AF_CONTOURS_EMBEDDED 8 /* number of embedded contours */
348 FT_Int max_contours; /* number of allocated contours */
349 FT_Int num_contours; /* number of used contours */
350 AF_Point* contours; /* contours array */ member in struct:AF_GlyphHintsRec_
366 AF_Point contours[AF_CONTOURS_EMBEDDED]; member in struct:AF_GlyphHintsRec_::__anon6629
/external/skia/experimental/SimpleCocoaApp/
H A DSimpleApp.mm153 int contours = showPathContour(iter);
157 bool expected = (path.getFillType() == SkPath::kWinding_FillType && contours == 1)
158 || (path.getFillType() == SkPath::kEvenOdd_FillType && contours == 2);
160 SkDebugf("suspect contours=%d\n", contours);
/external/freetype/src/truetype/
H A Dttgload.c313 FT_TRACE5(( " # of contours: %d\n", loader->n_contours ));
345 /* check that we can add the contours to the glyph */
350 /* reading the contours' endpoints & number of points */
351 cont = gloader->current.outline.contours;
354 /* check space for contours array + instructions count */
371 /* unordered contours: this is invalid */
718 zone->contours = (FT_UShort*)load->outline.contours + start_contour;
1583 short contours[4] = { 0, 1, 2, 3 }; local
1601 outline.contours
1756 short* contours = NULL; local
[all...]
/external/freetype/include/freetype/
H A Dftimage.h293 /* n_contours :: The number of contours in the outline. */
318 /* contours :: An array of `n_contours' shorts, giving the end */
321 /* `0' to `contours[0]', the second one is defined by */
322 /* the points `contours[0]+1' to `contours[1]', etc. */
336 short n_contours; /* number of contours in glyph */
341 short* contours; /* the contour end points */ member in struct:FT_Outline_
370 /* (i.e., `points', `flags', and `contours') are `owned' by the */
379 /* By default, outside contours of an outline are oriented in */
710 /* contours
[all...]
/external/pdfium/third_party/freetype/include/freetype/
H A Dftimage.h293 /* n_contours :: The number of contours in the outline. */
318 /* contours :: An array of `n_contours' shorts, giving the end */
321 /* `0' to `contours[0]', the second one is defined by */
322 /* the points `contours[0]+1' to `contours[1]', etc. */
336 short n_contours; /* number of contours in glyph */
341 short* contours; /* the contour end points */ member in struct:FT_Outline_
370 /* (i.e., `points', `flags', and `contours') are `owned' by the */
379 /* By default, outside contours of an outline are oriented in */
710 /* contours
[all...]
/external/pdfium/third_party/freetype/src/truetype/
H A Dttgload.c312 FT_TRACE5(( " # of contours: %d\n", loader->n_contours ));
344 /* check that we can add the contours to the glyph */
349 /* reading the contours' endpoints & number of points */
350 cont = gloader->current.outline.contours;
353 /* check space for contours array + instructions count */
370 /* unordered contours: this is invalid */
715 zone->contours = (FT_UShort*)load->outline.contours + start_contour;
1533 short contours[4] = { 0, 1, 2, 3 }; local
1551 outline.contours
1660 short* contours = NULL; local
[all...]
/external/skia/src/gpu/
H A DGrTessellator.cpp22 * 1) Linearize the path contours into piecewise linear segments (path_to_contours()).
32 * 5b) Apply fill rules to extract boundary contours from the polygons (extract_boundaries()).
133 * Vertices are used in three ways: first, the path contours are converted into a
136 * in Y) using the same fPrev/fNext pointers that were used for the contours, to avoid
156 Vertex* fPrev; // Linked list of contours, then Y-sorted vertices.
685 // Stage 1: convert the input path to a set of linear contours (linked list of Vertices).
688 VertexList* contours, SkArenaAlloc& alloc, bool *isLinear) {
693 VertexList* contour = contours;
699 append_point_to_contour(quad[i], contours, alloc);
1129 void sanitize_contours(VertexList* contours, in argument
687 path_to_contours(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, VertexList* contours, SkArenaAlloc& alloc, bool *isLinear) argument
1167 build_edges(VertexList* contours, int contourCnt, VertexList* mesh, Comparator& c, SkArenaAlloc& alloc) argument
1668 contours_to_mesh(VertexList* contours, int contourCnt, bool antialias, VertexList* mesh, Comparator& c, SkArenaAlloc& alloc) argument
1703 contours_to_polys(VertexList* contours, int contourCnt, SkPath::FillType fillType, const SkRect& pathBounds, bool antialias, VertexList* outerMesh, SkArenaAlloc& alloc) argument
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
H A Dimage_util_numpy_impl.py127 contours, _ = cv2.findContours(img, cv2.RETR_LIST, cv2.CHAIN_APPROX_NONE)
128 contour = np.concatenate(contours)
/external/opencv/cv/src/
H A Dcvdistransform.cpp828 CvSeq *contours = 0; local
835 cvFindContours( src_copy, st, &contours, sizeof(CvContour),
838 for( label = 1; contours != 0; contours = contours->h_next, label++ )
841 cvDrawContours( labels, contours, area_color, area_color, -255, -1, 8 );
/external/freetype/src/pshinter/
H A Dpshalgo.c941 if ( glyph->contours[n].count < 4 )
945 first = glyph->contours[n].start;
1044 FT_FREE( glyph->contours );
1169 /* allocate and setup points + contours arrays */
1171 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) )
1180 PSH_Contour contour = glyph->contours;
1189 next = (FT_UInt)outline->contours[n] + 1;
1297 PSH_Point first = glyph->contours[n].start;
1301 if ( glyph->contours[n].count == 0 )
1930 PSH_Contour contour = glyph->contours;
[all...]
H A Dpshalgo.h195 PSH_Contour contours; member in struct:PSH_GlyphRec_
/external/pdfium/third_party/freetype/src/pshinter/
H A Dpshalgo.c941 if ( glyph->contours[n].count < 4 )
945 first = glyph->contours[n].start;
1044 FT_FREE( glyph->contours );
1169 /* allocate and setup points + contours arrays */
1171 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) )
1180 PSH_Contour contour = glyph->contours;
1189 next = (FT_UInt)outline->contours[n] + 1;
1297 PSH_Point first = glyph->contours[n].start;
1301 if ( glyph->contours[n].count == 0 )
1930 PSH_Contour contour = glyph->contours;
[all...]
H A Dpshalgo.h195 PSH_Contour contours; member in struct:PSH_GlyphRec_
/external/freetype/include/freetype/internal/
H A Dtttypes.h1569 /* max_contours :: Max size in links contours of the zone. */
1573 /* n_contours :: The current number of contours in the zone. */
1582 /* contours :: The contours end points. */
1592 FT_Short n_contours; /* number of contours */
1599 FT_UShort* contours; /* contour end points */ member in struct:TT_GlyphZoneRec_
/external/pdfium/third_party/freetype/include/freetype/internal/
H A Dtttypes.h1420 /* max_contours :: Max size in links contours of the zone. */
1424 /* n_contours :: The current number of contours in the zone. */
1433 /* contours :: The contours end points. */
1443 FT_Short n_contours; /* number of contours */
1450 FT_UShort* contours; /* contour end points */ member in struct:TT_GlyphZoneRec_
/external/freetype/src/psaux/
H A Dpsobjs.c1667 outline->contours[outline->n_contours - 1] =
1714 ? 0 : outline->contours[outline->n_contours - 2] + 1;
1734 /* Don't add contours only consisting of one point, i.e., */
1742 outline->contours[outline->n_contours - 1] =
/external/pdfium/third_party/freetype/src/psaux/
H A Dpsobjs.c1672 outline->contours[outline->n_contours - 1] =
1719 ? 0 : outline->contours[outline->n_contours - 2] + 1;
1739 /* Don't add contours only consisting of one point, i.e., */
1747 outline->contours[outline->n_contours - 1] =
/external/opencv/cxcore/src/
H A Dcxdrawing.cpp1949 cvFillPoly( void *img, CvPoint **pts, int *npts, int contours,
1970 if( contours <= 0 )
1993 for( int i = 0; i < contours; i++ )
2019 int contours, int closed, CvScalar color,
2038 if( contours <= 0 )
2055 for( i = 0; i < contours; i++ )

Completed in 508 milliseconds

12