Home
last modified time | relevance | path

Searched refs:contours (Results 1 – 25 of 34) sorted by relevance

12

/external/opencv/cvaux/src/
Dcvbgfg_common.cpp77 CvSeq *contours, *c; in cvSegmentFGMask() local
106 contours = cvEndFindContours( &scanner ); in cvSegmentFGMask()
110 for( c=contours; c != 0; c = c->h_next ) in cvSegmentFGMask()
117 contours = 0; in cvSegmentFGMask()
120 return contours; in cvSegmentFGMask()
Dextendededges.cpp55 CvSeq* contours = 0; in cvExtractSingleEdges() local
56 …cvFindContours( image, tmp_storage, &contours, sizeof(CvContour), CV_RETR_LIST, CV_CHAIN_APPROX_NO… in cvExtractSingleEdges()
61 CvSeq* current = contours; in cvExtractSingleEdges()
/external/freetype/src/base/
Dftgloadr.c111 FT_FREE( loader->base.outline.contours ); in FT_GlyphLoader_Reset()
150 current->contours = base->contours + base->n_contours; in FT_GlyphLoader_Adjust_Points()
256 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints()
351 current->outline.contours[n] = in FT_GlyphLoader_Add()
352 (short)( current->outline.contours[n] + n_base_points ); in FT_GlyphLoader_Add()
379 FT_ARRAY_COPY( out->contours, in->contours, in FT_GlyphLoader_CopyPoints()
Dftoutln.c89 last = outline->contours[n]; in FT_Outline_Decompose()
309 FT_NEW_ARRAY( anoutline->contours, numContours ) ) in FT_Outline_New_Internal()
366 end = outline->contours[n]; in FT_Outline_Check()
408 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
431 FT_FREE( outline->contours ); in FT_Outline_Done_Internal()
548 last = outline->contours[n]; in FT_Outline_Reverse()
718 (outline)->contours[c - 1] + 1 \
720 (last) = (outline)->points + (outline)->contours[c]; \
829 last = outline->points + outline->contours[i];
918 int last = outline->contours[c]; in FT_Outline_Embolden()
[all …]
/external/skia/third_party/glu/libtess/
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 are oriented CW. The GLU_TESS_BEGIN callback
[all …]
Dalg-outline50 can't do this, since contours can have zero area without being
54 into contours. Ideally this would be a least-squares fit; however for
61 The contours do affect the orientation of the normal; after computing
/external/skia/src/gpu/
DGrTesselatedPathRenderer.cpp77 void addVertices(const GrPoint* points, const uint16_t* contours, int numContours) { in addVertices() argument
82 size_t end = i + contours[j]; in addVertices()
233 const GrIndexArray& contours() const { return fContours; } in contours() function in GrBoundaryTess
521 const GrIndexArray& contours = btess.contours(); in onDrawPath() local
526 for (int contour = 0; contour < contours.count(); ++contour) { in onDrawPath()
527 int count = contours[contour]; in onDrawPath()
/external/freetype/src/autofit/
Dafhints.c543 FT_FREE( hints->contours ); in af_glyph_hints_done()
599 if ( FT_RENEW_ARRAY( hints->contours, old_max, new_max ) ) in af_glyph_hints_reload()
659 AF_Point end = points + outline->contours[0]; in af_glyph_hints_reload()
691 end = points + outline->contours[contour_index]; in af_glyph_hints_reload()
700 AF_Point* contour = hints->contours; in af_glyph_hints_reload()
702 short* end = outline->contours; in af_glyph_hints_reload()
1149 AF_Point* contour = hints->contours; in af_glyph_hints_align_weak_points()
Dafloader.c152 FT_ARRAY_COPY( gloader->current.outline.contours, in af_loader_load_g()
153 slot->outline.contours, in af_loader_load_g()
474 slot->outline.contours = internal->loader->base.outline.contours; in af_loader_load_g()
Dafhints.h347 AF_Point* contours; /* contours array */ member
/external/opencv/cv/src/
Dcvdistransform.cpp828 CvSeq *contours = 0; in cvDistTransform() local
835 cvFindContours( src_copy, st, &contours, sizeof(CvContour), in cvDistTransform()
838 for( label = 1; contours != 0; contours = contours->h_next, label++ ) in cvDistTransform()
841 cvDrawContours( labels, contours, area_color, area_color, -255, -1, 8 ); in cvDistTransform()
Dcvcontours.cpp1429 CvSeq* contours = k == 0 ? external_contours : internal_contours; in icvFindContoursInInterval() local
1431 cvStartReadSeq( contours, &reader ); in icvFindContoursInInterval()
1433 for( j = 0; j < contours->total; j++, count++ ) in icvFindContoursInInterval()
/external/freetype/src/pshinter/
Dpshalgo.c1045 if ( glyph->contours[n].count < 4 ) in psh_glyph_compute_inflections()
1049 first = glyph->contours[n].start; in psh_glyph_compute_inflections()
1148 FT_FREE( glyph->contours ); in psh_glyph_done()
1275 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) ) in psh_glyph_init()
1284 PSH_Contour contour = glyph->contours; in psh_glyph_init()
1293 next = outline->contours[n] + 1; in psh_glyph_init()
1401 PSH_Point first = glyph->contours[n].start; in psh_glyph_compute_extrema()
1405 if ( glyph->contours[n].count == 0 ) in psh_glyph_compute_extrema()
2039 PSH_Contour contour = glyph->contours; in psh_glyph_interpolate_other_points()
Dpshalgo.h209 PSH_Contour contours; member
/external/webkit/Source/WebCore/platform/graphics/chromium/
DGLES2Canvas.cpp623 WTF::Vector<size_t> contours; in tesselateAndFillPath() local
644 contours.append(inVertices.size()); in tesselateAndFillPath()
654 … if (contours.size() == 1 && LoopBlinnMathUtils::isConvex(inVertices.begin(), inVertices.size())) { in tesselateAndFillPath()
683 for (contour = contours.begin(); contour != contours.end(); ++contour) { in tesselateAndFillPath()
/external/freetype/include/freetype/
Dftimage.h390 short* contours; /* the contour end points */ member
/external/freetype/src/psaux/
Dpsobjs.c1608 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1655 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1683 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
/external/freetype/include/freetype/internal/
Dtttypes.h1478 FT_UShort* contours; /* contour end points */ member
/external/freetype/src/truetype/
Dttobjs.c80 FT_FREE( zone->contours ); in tt_glyphzone_done()
130 FT_NEW_ARRAY( zone->contours, maxContours ) ) in tt_glyphzone_new()
Dttgload.c358 cont = gloader->current.outline.contours; in TT_Load_Simple_Glyph()
699 zone->contours = (FT_UShort*)load->outline.contours + start_contour; in tt_prepare_zone()
/external/opencv/cxcore/src/
Dcxdrawing.cpp1949 cvFillPoly( void *img, CvPoint **pts, int *npts, int contours, in cvFillPoly() argument
1970 if( contours <= 0 ) in cvFillPoly()
1993 for( int i = 0; i < contours; i++ ) in cvFillPoly()
2019 int contours, int closed, CvScalar color, in cvPolyLine() argument
2038 if( contours <= 0 ) in cvPolyLine()
2055 for( i = 0; i < contours; i++ ) in cvPolyLine()
/external/freetype/src/smooth/
Dftgrays.c1483 last = outline->contours[n]; in FT_Outline_Decompose()
1883 if ( !outline->contours || !outline->points ) in gray_raster_render()
1887 outline->contours[outline->n_contours - 1] + 1 ) in gray_raster_render()
/external/freetype/src/raster/
Dftraster.c2052 ras.outline.contours[i], in Convert_Glyph()
2056 start = ras.outline.contours[i] + 1; in Convert_Glyph()
3560 if ( !outline->contours || !outline->points ) in ft_black_render()
3564 outline->contours[outline->n_contours - 1] + 1 ) in ft_black_render()
/external/freetype/src/cff/
Dcffgload.c532 outline->contours[outline->n_contours - 1] = in cff_builder_add_contour()
576 ? 0 : outline->contours[outline->n_contours - 2] + 1; in cff_builder_close_contour()
604 outline->contours[outline->n_contours - 1] = in cff_builder_close_contour()
/external/opencv/cv/include/
Dcvcompat.h881 CV_INLINE void cvPolyLineAA( CvArr* img, CvPoint** pts, int* npts, int contours,
884 cvPolyLine( img, pts, npts, contours, is_closed,

12