Home
last modified time | relevance | path

Searched refs:contours (Results 1 – 25 of 46) 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/pdfium/third_party/freetype/src/base/
Dftgloadr.c112 FT_FREE( loader->base.outline.contours ); in FT_GlyphLoader_Reset()
151 current->contours = base->contours + base->n_contours; in FT_GlyphLoader_Adjust_Points()
257 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints()
355 current->outline.contours[n] = in FT_GlyphLoader_Add()
356 (short)( current->outline.contours[n] + n_base_points ); in FT_GlyphLoader_Add()
383 FT_ARRAY_COPY( out->contours, in->contours, in FT_GlyphLoader_CopyPoints()
Dftoutln.c93 last = outline->contours[n]; in FT_Outline_Decompose()
320 FT_NEW_ARRAY( anoutline->contours, numContours ) ) in FT_Outline_New_Internal()
377 end = outline->contours[n]; in FT_Outline_Check()
421 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
448 FT_FREE( outline->contours ); in FT_Outline_Done_Internal()
562 last = outline->contours[n]; in FT_Outline_Reverse()
738 (outline)->contours[c - 1] + 1 \
740 (last) = (outline)->points + (outline)->contours[c]; \
849 last = outline->points + outline->contours[i];
946 int last = outline->contours[c]; in FT_Outline_EmboldenXY()
[all …]
/external/freetype/src/base/
Dftgloadr.c112 FT_FREE( loader->base.outline.contours ); in FT_GlyphLoader_Reset()
151 current->contours = base->contours + base->n_contours; in FT_GlyphLoader_Adjust_Points()
258 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints()
356 current->outline.contours[n] = in FT_GlyphLoader_Add()
357 (short)( current->outline.contours[n] + n_base_points ); in FT_GlyphLoader_Add()
384 FT_ARRAY_COPY( out->contours, in->contours, in FT_GlyphLoader_CopyPoints()
Dftoutln.c93 last = outline->contours[n]; in FT_Outline_Decompose()
320 FT_NEW_ARRAY( anoutline->contours, numContours ) ) in FT_Outline_New_Internal()
377 end = outline->contours[n]; in FT_Outline_Check()
421 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
448 FT_FREE( outline->contours ); in FT_Outline_Done_Internal()
562 last = outline->contours[n]; in FT_Outline_Reverse()
731 (outline)->contours[c - 1] + 1 \
733 (last) = (outline)->points + (outline)->contours[c]; \
842 last = outline->points + outline->contours[i];
939 int last = outline->contours[c]; in FT_Outline_EmboldenXY()
[all …]
/external/freetype/src/autofit/
Dafhints.c569 if ( hints->contours != hints->embedded.contours ) in af_glyph_hints_done()
570 FT_FREE( hints->contours ); in af_glyph_hints_done()
625 if ( hints->contours == NULL ) in af_glyph_hints_reload()
627 hints->contours = hints->embedded.contours; in af_glyph_hints_reload()
633 if ( hints->contours == hints->embedded.contours ) in af_glyph_hints_reload()
634 hints->contours = NULL; in af_glyph_hints_reload()
638 if ( FT_RENEW_ARRAY( hints->contours, old_max, new_max ) ) in af_glyph_hints_reload()
710 AF_Point end = points + outline->contours[0]; in af_glyph_hints_reload()
745 end = points + outline->contours[contour_index]; in af_glyph_hints_reload()
754 AF_Point* contour = hints->contours; in af_glyph_hints_reload()
[all …]
Dafhints.h348 AF_Point* contours; /* contours array */ member
364 AF_Point contours[AF_CONTOURS_EMBEDDED]; member
Dafloader.c317 slot->outline.contours = internal->loader->base.outline.contours; in af_loader_load_g()
/external/skia/src/gpu/
DGrTessellatingPathRenderer.cpp541 Vertex** contours, SkChunkAlloc& alloc) { in path_to_contours() argument
558 *contours++ = head; in path_to_contours()
580 *contours++ = head; in path_to_contours()
605 *contours++ = head; in path_to_contours()
613 *contours++ = head; in path_to_contours()
973 void sanitize_contours(Vertex** contours, int contourCnt) { in sanitize_contours() argument
975 SkASSERT(contours[i]); in sanitize_contours()
976 for (Vertex* v = contours[i];;) { in sanitize_contours()
980 contours[i] = NULL; in sanitize_contours()
985 if (contours[i] == v) { in sanitize_contours()
[all …]
/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm148 int contours = showPathContour(iter);
152 bool expected = (path.getFillType() == SkPath::kWinding_FillType && contours == 1)
153 || (path.getFillType() == SkPath::kEvenOdd_FillType && contours == 2);
155 SkDebugf("suspect contours=%d\n", contours);
/external/freetype/src/truetype/
Dttgload.c373 cont = gloader->current.outline.contours; in TT_Load_Simple_Glyph()
738 zone->contours = (FT_UShort*)load->outline.contours + start_contour; in tt_prepare_zone()
1561 short contours[4] = { 0, 1, 2, 3 }; in load_truetype_glyph() local
1579 outline.contours = contours; in load_truetype_glyph()
1688 short* contours = NULL; in load_truetype_glyph() local
1702 FT_NEW_ARRAY( contours, outline.n_points ) ) in load_truetype_glyph()
1715 contours[i] = i; in load_truetype_glyph()
1721 contours[i] = i; in load_truetype_glyph()
1727 contours[i] = i; in load_truetype_glyph()
1733 contours[i] = i; in load_truetype_glyph()
[all …]
Dttobjs.c81 FT_FREE( zone->contours ); in tt_glyphzone_done()
131 FT_NEW_ARRAY( zone->contours, maxContours ) ) in tt_glyphzone_new()
/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/pdfium/third_party/freetype/src/pshinter/
Dpshalgo.c1044 if ( glyph->contours[n].count < 4 ) in psh_glyph_compute_inflections()
1048 first = glyph->contours[n].start; in psh_glyph_compute_inflections()
1147 FT_FREE( glyph->contours ); in psh_glyph_done()
1274 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) ) in psh_glyph_init()
1283 PSH_Contour contour = glyph->contours; in psh_glyph_init()
1292 next = outline->contours[n] + 1; in psh_glyph_init()
1400 PSH_Point first = glyph->contours[n].start; in psh_glyph_compute_extrema()
1404 if ( glyph->contours[n].count == 0 ) in psh_glyph_compute_extrema()
2037 PSH_Contour contour = glyph->contours; in psh_glyph_interpolate_other_points()
Dpshalgo.h200 PSH_Contour contours; member
/external/freetype/src/pshinter/
Dpshalgo.c1035 if ( glyph->contours[n].count < 4 ) in psh_glyph_compute_inflections()
1039 first = glyph->contours[n].start; in psh_glyph_compute_inflections()
1138 FT_FREE( glyph->contours ); in psh_glyph_done()
1265 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) ) in psh_glyph_init()
1274 PSH_Contour contour = glyph->contours; in psh_glyph_init()
1283 next = (FT_UInt)outline->contours[n] + 1; in psh_glyph_init()
1391 PSH_Point first = glyph->contours[n].start; in psh_glyph_compute_extrema()
1395 if ( glyph->contours[n].count == 0 ) in psh_glyph_compute_extrema()
2024 PSH_Contour contour = glyph->contours; in psh_glyph_interpolate_other_points()
Dpshalgo.h195 PSH_Contour contours; member
/external/pdfium/third_party/freetype/include/
Dftimage.h346 short* contours; /* the contour end points */ member
/external/freetype/include/
Dftimage.h341 short* contours; /* the contour end points */ member
/external/freetype/src/psaux/
Dpsobjs.c1667 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1714 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1742 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
/external/pdfium/third_party/freetype/src/psaux/
Dpsobjs.c1673 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1720 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1748 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
/external/pdfium/third_party/freetype/src/truetype/
Dttobjs.c81 FT_FREE( zone->contours ); in tt_glyphzone_done()
131 FT_NEW_ARRAY( zone->contours, maxContours ) ) in tt_glyphzone_new()
/external/pdfium/third_party/freetype/include/internal/
Dtttypes.h1452 FT_UShort* contours; /* contour end points */ member

12