/external/opencv/cvaux/src/ |
H A D | cvbgfg_common.cpp | 77 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 D | extendededges.cpp | 50 //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 D | ftgloadr.c | 112 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 D | ftoutln.c | 94 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 D | ftgloadr.c | 112 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 D | ftoutln.c | 94 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 D | afhints.c | 309 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 == NULL ) 748 hints->contours = hints->embedded.contours; 754 if ( hints->contours == hints->embedded.contours ) [all...] |
H A D | afhints.h | 332 #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_::__anon6163
|
H A D | afloader.c | 456 slot->outline.contours = internal->loader->base.outline.contours;
|
/external/skia/experimental/SimpleCocoaApp/ |
H A D | SimpleApp.mm | 153 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/skia/src/gpu/ |
H A D | GrTessellator.cpp | 27 * 1) Linearize the path contours into piecewise linear segments (path_to_contours()). 128 * Vertices are used in three ways: first, the path contours are converted into a 131 * in Y) using the same fPrev/fNext pointers that were used for the contours, to avoid 149 Vertex* fPrev; // Linked list of contours, then Y-sorted vertices. 536 // Stage 1: convert the input path to a set of linear contours (linked list of Vertices). 539 Vertex** contours, SkChunkAlloc& alloc, bool *isLinear) { 556 *contours++ = head; 579 *contours++ = head; 606 *contours++ = head; 614 *contours 538 path_to_contours(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, Vertex** contours, SkChunkAlloc& alloc, bool *isLinear) argument 974 sanitize_contours(Vertex** contours, int contourCnt) argument 1011 build_edges(Vertex** contours, int contourCnt, Comparator& c, SkChunkAlloc& alloc) argument 1291 contours_to_polys(Vertex** contours, int contourCnt, const SkRect& pathBounds, SkChunkAlloc& alloc) argument [all...] |
/external/freetype/src/truetype/ |
H A D | ttgload.c | 313 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; 1573 short contours[4] = { 0, 1, 2, 3 }; local 1591 outline.contours 1738 short* contours = NULL; local [all...] |
/external/freetype/include/freetype/ |
H A D | ftimage.h | 293 /* 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 D | ftimage.h | 293 /* 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 D | ttgload.c | 312 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/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
H A D | image_util_numpy_impl.py | 127 contours, _ = cv2.findContours(img, cv2.RETR_LIST, cv2.CHAIN_APPROX_NONE) 128 contour = np.concatenate(contours)
|
/external/opencv/cv/src/ |
H A D | cvdistransform.cpp | 828 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 D | pshalgo.c | 941 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 D | pshalgo.h | 195 PSH_Contour contours; member in struct:PSH_GlyphRec_
|
/external/pdfium/third_party/freetype/src/pshinter/ |
H A D | pshalgo.c | 941 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 D | pshalgo.h | 195 PSH_Contour contours; member in struct:PSH_GlyphRec_
|
/external/freetype/include/freetype/internal/ |
H A D | tttypes.h | 1420 /* 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/freetype/internal/ |
H A D | tttypes.h | 1420 /* 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 D | psobjs.c | 1667 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 D | psobjs.c | 1672 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] =
|