Searched refs:contours (Results 1 - 25 of 30) 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.c111 FT_FREE( loader->base.outline.contours );
150 current->contours = base->contours + base->n_contours;
245 /* check contours */
256 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) )
349 /* adjust contours count in newest outline */
351 current->outline.contours[n] =
352 (short)( current->outline.contours[n] + n_base_points );
379 FT_ARRAY_COPY( out->contours, in->contours,
[all...]
H A Dftoutln.c89 last = outline->contours[n];
309 FT_NEW_ARRAY( anoutline->contours, numContours ) )
366 end = outline->contours[n];
368 /* note that we don't accept empty contours */
408 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours );
431 FT_FREE( outline->contours );
548 last = outline->contours[n];
718 (outline)->contours[c - 1] + 1 \
720 (last) = (outline)->points + (outline)->contours[
[all...]
/external/skia/third_party/glu/libtess/
H A DREADME9 more closed contours. It is backward-compatible with the current
13 - input contours can be intersecting, self-intersecting, or degenerate.
20 set of closed contours which separate the interior from the exterior.
45 The input contours are specified with the following routines:
72 which regions are interior to the given contours, according to one
212 The input contours parition the plane into regions. A winding
218 contours, the individual winding numbers are summed. This
232 If TRUE, returns a set of closed contours which separate the
234 Exterior contours are oriented CCW with respect to the normal,
235 interior contours ar
[all...]
/external/skia/src/gpu/
H A DGrTesselatedPathRenderer.cpp77 void addVertices(const GrPoint* points, const uint16_t* contours, int numContours) { argument
82 size_t end = i + contours[j];
233 const GrIndexArray& contours() const { return fContours; } function in class:GrBoundaryTess
521 const GrIndexArray& contours = btess.contours(); local
526 for (int contour = 0; contour < contours.count(); ++contour) {
527 int count = contours[contour];
/external/freetype/src/autofit/
H A Dafhints.c543 FT_FREE( hints->contours );
592 /* first of all, reallocate the contours array if necessary */
599 if ( FT_RENEW_ARRAY( hints->contours, old_max, new_max ) )
659 AF_Point end = points + outline->contours[0];
691 end = points + outline->contours[contour_index];
698 /* set up the contours array */
700 AF_Point* contour = hints->contours;
702 short* end = outline->contours;
1149 AF_Point* contour = hints->contours;
H A Dafloader.c152 FT_ARRAY_COPY( gloader->current.outline.contours,
153 slot->outline.contours,
474 slot->outline.contours = internal->loader->base.outline.contours;
H A Dafhints.h345 FT_Int max_contours; /* number of allocated contours */
346 FT_Int num_contours; /* number of used contours */
347 AF_Point* contours; /* contours array */ member in struct:AF_GlyphHintsRec_
H A Daflatin.c262 last = glyph->outline.contours[nn];
264 /* Avoid single-point contours since they are never rasterized. */
723 /* Walk over all contours and compute its segments. */
734 AF_Point* contour = hints->contours;
884 } /* contours */
/external/freetype/include/freetype/
H A Dftimage.h342 /* n_contours :: The number of contours in the outline. */
367 /* contours :: An array of `n_contours' shorts, giving the end */
370 /* `0' to `contours[0]', the second one is defined by */
371 /* the points `contours[0]+1' to `contours[1]', etc. */
385 short n_contours; /* number of contours in glyph */
390 short* contours; /* the contour end points */ member in struct:FT_Outline_
417 /* (i.e., `points', `flags', and `contours') are `owned' by the */
426 /* By default, outside contours of an outline are oriented in */
773 /* 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.c1045 if ( glyph->contours[n].count < 4 )
1049 first = glyph->contours[n].start;
1148 FT_FREE( glyph->contours );
1273 /* allocate and setup points + contours arrays */
1275 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) )
1284 PSH_Contour contour = glyph->contours;
1293 next = outline->contours[n] + 1;
1401 PSH_Point first = glyph->contours[n].start;
1405 if ( glyph->contours[n].count == 0 )
2039 PSH_Contour contour = glyph->contours;
[all...]
H A Dpshalgo.h209 PSH_Contour contours; member in struct:PSH_GlyphRec_
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DGLES2Canvas.cpp623 WTF::Vector<size_t> contours; local
644 contours.append(inVertices.size());
654 if (contours.size() == 1 && LoopBlinnMathUtils::isConvex(inVertices.begin(), inVertices.size())) {
683 for (contour = contours.begin(); contour != contours.end(); ++contour) {
/external/freetype/include/freetype/internal/
H A Dtttypes.h1448 /* max_contours :: Max size in links contours of the zone. */
1452 /* n_contours :: The current number of contours in the zone. */
1461 /* contours :: The contours end points. */
1471 FT_Short n_contours; /* number of contours */
1478 FT_UShort* contours; /* contour end points */ member in struct:TT_GlyphZoneRec_
/external/freetype/src/psaux/
H A Dpsobjs.c1608 outline->contours[outline->n_contours - 1] =
1655 ? 0 : outline->contours[outline->n_contours - 2] + 1;
1675 /* Don't add contours only consisting of one point, i.e., */
1683 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++ )
/external/freetype/src/truetype/
H A Dttobjs.c80 FT_FREE( zone->contours );
106 /* maxContours :: The capacity of glyph zone in contours. */
130 FT_NEW_ARRAY( zone->contours, maxContours ) )
H A Dttgload.c320 FT_TRACE5(( " # of contours: %d\n", loader->n_contours ));
352 /* check that we can add the contours to the glyph */
357 /* reading the contours' endpoints & number of points */
358 cont = gloader->current.outline.contours;
361 /* check space for contours array + instructions count */
378 /* unordered contours: this is invalid */
699 zone->contours = (FT_UShort*)load->outline.contours + start_contour;
/external/freetype/src/cff/
H A Dcffgload.c532 outline->contours[outline->n_contours - 1] =
576 ? 0 : outline->contours[outline->n_contours - 2] + 1;
596 /* Don't add contours only consisting of one point, i.e., */
604 outline->contours[outline->n_contours - 1] =
/external/freetype/src/smooth/
H A Dftgrays.c1425 /* of new contours in the outline. */
1483 last = outline->contours[n];
1883 if ( !outline->contours || !outline->points )
1887 outline->contours[outline->n_contours - 1] + 1 )
/external/freetype/src/raster/
H A Dftraster.c2052 ras.outline.contours[i],
2056 start = ras.outline.contours[i] + 1;
3560 if ( !outline->contours || !outline->points )
3564 outline->contours[outline->n_contours - 1] + 1 )
/external/opencv/cv/include/
H A Dcvcompat.h881 CV_INLINE void cvPolyLineAA( CvArr* img, CvPoint** pts, int* npts, int contours, argument
884 cvPolyLine( img, pts, npts, contours, is_closed,

Completed in 424 milliseconds

12