Searched refs:contours (Results 1 - 25 of 43) 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.c93 last = outline->contours[n];
320 FT_NEW_ARRAY( anoutline->contours, numContours ) )
377 end = outline->contours[n];
379 /* note that we don't accept empty contours */
421 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours );
448 FT_FREE( outline->contours );
562 last = outline->contours[n];
731 (outline)->contours[c - 1] + 1 \
733 (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;
246 /* check contours */
257 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) )
353 /* adjust contours count in newest outline */
355 current->outline.contours[n] =
356 (short)( current->outline.contours[n] + n_base_points );
383 FT_ARRAY_COPY( out->contours, in->contours,
[all...]
H A Dftoutln.c93 last = outline->contours[n];
320 FT_NEW_ARRAY( anoutline->contours, numContours ) )
377 end = outline->contours[n];
379 /* note that we don't accept empty contours */
421 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours );
448 FT_FREE( outline->contours );
562 last = outline->contours[n];
738 (outline)->contours[c - 1] + 1 \
740 (last) = (outline)->points + (outline)->contours[
[all...]
/external/freetype/src/autofit/
H A Dafhints.c569 if ( hints->contours != hints->embedded.contours )
570 FT_FREE( hints->contours );
619 /* first of all, reallocate the contours array if necessary */
625 if ( hints->contours == NULL )
627 hints->contours = hints->embedded.contours;
633 if ( hints->contours == hints->embedded.contours )
634 hints->contours
[all...]
H A Dafhints.h330 #define AF_CONTOURS_EMBEDDED 8 /* number of embedded contours */
346 FT_Int max_contours; /* number of allocated contours */
347 FT_Int num_contours; /* number of used contours */
348 AF_Point* contours; /* contours array */ member in struct:AF_GlyphHintsRec_
364 AF_Point contours[AF_CONTOURS_EMBEDDED]; member in struct:AF_GlyphHintsRec_::__anon5033
H A Dafloader.c317 slot->outline.contours = internal->loader->base.outline.contours;
/external/skia/src/gpu/
H A DGrTessellatingPathRenderer.cpp28 * 1) Linearize the path contours into piecewise linear segments (path_to_contours()).
130 * Vertices are used in three ways: first, the path contours are converted into a
133 * in Y) using the same fPrev/fNext pointers that were used for the contours, to avoid
151 Vertex* fPrev; // Linked list of contours, then Y-sorted vertices.
538 // Stage 1: convert the input path to a set of linear contours (linked list of Vertices).
541 Vertex** contours, SkChunkAlloc& alloc) {
558 *contours++ = head;
580 *contours++ = head;
605 *contours++ = head;
613 *contours
540 path_to_contours(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, Vertex** contours, SkChunkAlloc& alloc) argument
973 sanitize_contours(Vertex** contours, int contourCnt) argument
1010 build_edges(Vertex** contours, int contourCnt, Comparator& c, SkChunkAlloc& alloc) argument
1290 contours_to_polys(Vertex** contours, int contourCnt, Comparator& c, SkChunkAlloc& alloc) argument
[all...]
/external/freetype/include/
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/freetype/src/truetype/
H A Dttgload.c335 FT_TRACE5(( " # of contours: %d\n", loader->n_contours ));
367 /* check that we can add the contours to the glyph */
372 /* reading the contours' endpoints & number of points */
373 cont = gloader->current.outline.contours;
376 /* check space for contours array + instructions count */
393 /* unordered contours: this is invalid */
738 zone->contours = (FT_UShort*)load->outline.contours + start_contour;
1561 short contours[4] = { 0, 1, 2, 3 }; local
1579 outline.contours
1688 short* contours = NULL; local
[all...]
H A Dttobjs.c81 FT_FREE( zone->contours );
107 /* maxContours :: The capacity of glyph zone in contours. */
131 FT_NEW_ARRAY( zone->contours, maxContours ) )
/external/pdfium/third_party/freetype/include/
H A Dftimage.h298 /* n_contours :: The number of contours in the outline. */
323 /* contours :: An array of `n_contours' shorts, giving the end */
326 /* `0' to `contours[0]', the second one is defined by */
327 /* the points `contours[0]+1' to `contours[1]', etc. */
341 short n_contours; /* number of contours in glyph */
346 short* contours; /* the contour end points */ member in struct:FT_Outline_
375 /* (i.e., `points', `flags', and `contours') are `owned' by the */
384 /* By default, outside contours of an outline are oriented in */
715 /* contours
[all...]
/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 );
H A Dcvcontours.cpp142 Structure that is used for sequental retrieving contours from the image.
147 CvMemStorage *storage1; /* contains fetched contours */
148 CvMemStorage *storage2; /* contains approximated contours
171 1 - all the contours w/o any hierarchy
173 external contours and holes) */
175 int seq_type1; /* type of fetched contours */
176 int header_size1; /* hdr size of fetched contours */
177 int elem_size1; /* elem size of fetched contours */
179 int header_size2; /* the same for approx. contours */
353 The 1st variant can be used to retrieve and store all the contours fro
1429 CvSeq* contours = k == 0 ? external_contours : internal_contours; local
[all...]
/external/freetype/src/pshinter/
H A Dpshalgo.c1035 if ( glyph->contours[n].count < 4 )
1039 first = glyph->contours[n].start;
1138 FT_FREE( glyph->contours );
1263 /* allocate and setup points + contours arrays */
1265 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) )
1274 PSH_Contour contour = glyph->contours;
1283 next = (FT_UInt)outline->contours[n] + 1;
1391 PSH_Point first = glyph->contours[n].start;
1395 if ( glyph->contours[n].count == 0 )
2024 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.c1044 if ( glyph->contours[n].count < 4 )
1048 first = glyph->contours[n].start;
1147 FT_FREE( glyph->contours );
1272 /* allocate and setup points + contours arrays */
1274 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) )
1283 PSH_Contour contour = glyph->contours;
1292 next = outline->contours[n] + 1;
1400 PSH_Point first = glyph->contours[n].start;
1404 if ( glyph->contours[n].count == 0 )
2037 PSH_Contour contour = glyph->contours;
[all...]
H A Dpshalgo.h200 PSH_Contour contours; member in struct:PSH_GlyphRec_
/external/freetype/include/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/pdfium/third_party/freetype/include/internal/
H A Dtttypes.h1422 /* max_contours :: Max size in links contours of the zone. */
1426 /* n_contours :: The current number of contours in the zone. */
1435 /* contours :: The contours end points. */
1445 FT_Short n_contours; /* number of contours */
1452 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.c1673 outline->contours[outline->n_contours - 1] =
1720 ? 0 : outline->contours[outline->n_contours - 2] + 1;
1740 /* Don't add contours only consisting of one point, i.e., */
1748 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 1534 milliseconds

12