Searched refs:num_points (Results 1 - 25 of 55) sorted by relevance

123

/external/ceres-solver/examples/
H A Dcircle_fit.cc138 int num_points = 0; local
144 num_points++;
147 std::cout << "Got " << num_points << " points.\n"; local
H A Dbal_problem.h70 int num_points() const { return num_points_; } function in class:ceres::examples::BALProblem
H A Dbundle_adjuster.cc142 const int num_points = bal_problem->num_points(); local
160 for (int i = 0; i < num_points; ++i) {
169 for (int i = 0; i < num_points; ++i) {
178 for (int i = 0; i < num_points; ++i) {
208 for (int i = 0; i < num_points; ++i) {
/external/ceres-solver/internal/ceres/
H A Dvisibility.cc84 int num_points = 0; local
87 num_points = max(num_points, (*visibility[i].rbegin()) + 1);
96 vector<set<int> > inverse_visibility(num_points);
/external/chromium_org/third_party/freetype/src/base/
H A Dftgloadr.c365 FT_UInt num_points = source->base.outline.n_points; local
369 error = FT_GlyphLoader_CheckPoints( target, num_points, num_contours );
377 num_points );
379 num_points );
387 num_points );
389 num_points );
392 out->n_points = (short)num_points;
H A Dftstroke.c304 FT_UInt num_points; member in struct:FT_StrokeBorderRec_
321 FT_UInt new_max = border->num_points + new_points;
351 FT_UInt count = border->num_points;
358 border->num_points = start;
363 border->num_points = --count;
425 border->points[border->num_points - 1] = *to;
430 if ( border->num_points > 0 &&
431 FT_IS_SMALL( border->points[border->num_points - 1].x - to->x ) &&
432 FT_IS_SMALL( border->points[border->num_points - 1].y - to->y ) )
439 FT_Vector* vec = border->points + border->num_points;
655 FT_UInt num_points = 0; local
1951 FT_UInt num_points = 0, num_contours = 0; local
1981 FT_UInt count1, count2, num_points = 0; local
2289 FT_UInt num_points, num_contours; local
2366 FT_UInt num_points, num_contours; local
[all...]
/external/freetype/src/base/
H A Dftgloadr.c368 FT_UInt num_points = source->base.outline.n_points; local
372 error = FT_GlyphLoader_CheckPoints( target, num_points, num_contours );
380 num_points );
382 num_points );
390 num_points );
392 num_points );
395 out->n_points = (short)num_points;
H A Dftstroke.c304 FT_UInt num_points; member in struct:FT_StrokeBorderRec_
321 FT_UInt new_max = border->num_points + new_points;
351 FT_UInt count = border->num_points;
358 border->num_points = start;
363 border->num_points = --count;
425 border->points[border->num_points - 1] = *to;
430 if ( border->num_points > 0 &&
431 FT_IS_SMALL( border->points[border->num_points - 1].x - to->x ) &&
432 FT_IS_SMALL( border->points[border->num_points - 1].y - to->y ) )
439 FT_Vector* vec = border->points + border->num_points;
655 FT_UInt num_points = 0; local
1951 FT_UInt num_points = 0, num_contours = 0; local
1981 FT_UInt count1, count2, num_points = 0; local
2289 FT_UInt num_points, num_contours; local
2366 FT_UInt num_points, num_contours; local
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftgloadr.c368 FT_UInt num_points = source->base.outline.n_points; local
372 error = FT_GlyphLoader_CheckPoints( target, num_points, num_contours );
380 num_points );
382 num_points );
390 num_points );
392 num_points );
395 out->n_points = (short)num_points;
H A Dftstroke.c304 FT_UInt num_points; member in struct:FT_StrokeBorderRec_
321 FT_UInt new_max = border->num_points + new_points;
351 FT_UInt count = border->num_points;
358 border->num_points = start;
363 border->num_points = --count;
425 border->points[border->num_points - 1] = *to;
430 if ( border->num_points > 0 &&
431 FT_IS_SMALL( border->points[border->num_points - 1].x - to->x ) &&
432 FT_IS_SMALL( border->points[border->num_points - 1].y - to->y ) )
439 FT_Vector* vec = border->points + border->num_points;
655 FT_UInt num_points = 0; local
1951 FT_UInt num_points = 0, num_contours = 0; local
1981 FT_UInt count1, count2, num_points = 0; local
2289 FT_UInt num_points, num_contours; local
2366 FT_UInt num_points, num_contours; local
[all...]
/external/flac/libFLAC/
H A Dmetadata_object.c167 object->length = object->data.seek_table.num_points * FLAC__STREAM_METADATA_SEEKPOINT_LENGTH;
170 static FLAC__StreamMetadata_SeekPoint *seekpoint_array_new_(unsigned num_points) argument
174 FLAC__ASSERT(num_points > 0);
176 object_array = (FLAC__StreamMetadata_SeekPoint*)safe_malloc_mul_2op_(num_points, /*times*/sizeof(FLAC__StreamMetadata_SeekPoint));
180 for(i = 0; i < num_points; i++) {
462 object->data.seek_table.num_points = 0;
552 to->data.seek_table.num_points = object->data.seek_table.num_points;
553 if(to->data.seek_table.num_points > SIZE_MAX / sizeof(FLAC__StreamMetadata_SeekPoint)) { /* overflow check */
557 if(!copy_bytes_((FLAC__byte**)&to->data.seek_table.points, (FLAC__byte*)object->data.seek_table.points, object->data.seek_table.num_points * sizeo
[all...]
H A Dformat.c250 for(i = 0; i < seek_table->num_points; i++) {
286 qsort(seek_table->points, seek_table->num_points, sizeof(FLAC__StreamMetadata_SeekPoint), (int (*)(const void *, const void *))seekpoint_compare_);
290 for(i = j = 0; i < seek_table->num_points; i++) {
301 for(i = j; i < seek_table->num_points; i++) {
/external/chromium_org/third_party/freetype/src/autofit/
H A Dafwarp.c174 FT_UInt nn, num_points, num_segments; local
203 num_points = hints->num_points;
214 for ( nn = 1; nn < num_points; nn++ )
H A Dafhints.c185 AF_Point limit = points + hints->num_points;
571 hints->num_points = 0;
606 hints->num_points = 0;
644 hints->num_points = outline->n_points;
669 if ( hints->num_points == 0 )
674 AF_Point point_limit = points + hints->num_points;
805 AF_Point limit = point + hints->num_points;
915 AF_Point point_limit = points + hints->num_points;
1170 AF_Point point_limit = points + hints->num_points;
1303 AF_Point points_limit = points + hints->num_points;
[all...]
/external/freetype/src/autofit/
H A Dafwarp.c174 FT_UInt nn, num_points, num_segments; local
203 num_points = hints->num_points;
214 for ( nn = 1; nn < num_points; nn++ )
H A Dafhints.c197 AF_Point limit = points + hints->num_points;
537 hints->num_points = 0;
572 hints->num_points = 0;
610 hints->num_points = outline->n_points;
635 if ( hints->num_points == 0 )
640 AF_Point point_limit = points + hints->num_points;
942 AF_Point limit = point + hints->num_points;
1052 AF_Point point_limit = points + hints->num_points;
1307 AF_Point point_limit = points + hints->num_points;
1437 AF_Point points_limit = points + hints->num_points;
[all...]
/external/chromium_org/third_party/freetype/src/pshinter/
H A Dpshalgo.c1149 glyph->num_points = 0;
1189 FT_UInt count = glyph->num_points;
1227 for ( n = 0; n < glyph->num_points; n++ )
1277 glyph->num_points = outline->n_points;
1327 for ( n = 0; n < glyph->num_points; n++, point++ )
1466 for ( n = 0; n < glyph->num_points; n++ )
1691 if ( num_masks > 1 && glyph->num_points > 0 )
1694 first = mask->end_point > glyph->num_points
1695 ? glyph->num_points
1704 next = mask->end_point > glyph->num_points
[all...]
/external/freetype/src/pshinter/
H A Dpshalgo.c1149 glyph->num_points = 0;
1189 FT_UInt count = glyph->num_points;
1227 for ( n = 0; n < glyph->num_points; n++ )
1277 glyph->num_points = outline->n_points;
1327 for ( n = 0; n < glyph->num_points; n++, point++ )
1465 for ( n = 0; n < glyph->num_points; n++ )
1690 if ( num_masks > 1 && glyph->num_points > 0 )
1693 first = mask->end_point > glyph->num_points
1694 ? glyph->num_points
1703 next = mask->end_point > glyph->num_points
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/
H A Dpshalgo.c1149 glyph->num_points = 0;
1189 FT_UInt count = glyph->num_points;
1227 for ( n = 0; n < glyph->num_points; n++ )
1277 glyph->num_points = outline->n_points;
1327 for ( n = 0; n < glyph->num_points; n++, point++ )
1466 for ( n = 0; n < glyph->num_points; n++ )
1691 if ( num_masks > 1 && glyph->num_points > 0 )
1694 first = mask->end_point > glyph->num_points
1695 ? glyph->num_points
1704 next = mask->end_point > glyph->num_points
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/
H A Dt1load.c214 axis->maximum = map->design_points[map->num_points - 1];
239 for ( j = 1; j < axismap->num_points; ++j )
249 return INT_TO_FIXED( axismap->design_points[axismap->num_points - 1] );
441 for ( p = 0; p < (FT_UInt)map->num_points; p++ )
467 the_blend = blends[map->num_points - 1];
558 dmap->num_points = 0;
773 FT_Int p, num_points; local
781 T1_MAX_MM_MAP_POINTS, &num_points );
783 if ( num_points <= 0 || num_points > T1_MAX_MM_MAP_POINT
[all...]
/external/opencv/cvaux/src/
H A Dcv3dtracker.cpp80 const int num_points = etalon_size.width * etalon_size.height; local
127 CV_CALL(object_points = (CvPoint3D32f *)cvAlloc(num_points * sizeof(CvPoint3D32f)));
128 CV_CALL(points = (CvPoint2D32f *)cvAlloc(num_points * sizeof(CvPoint2D32f)));
170 int count = num_points;
176 // If found is true, it means all the points were found (count = num_points).
/external/chromium_org/third_party/brotli/src/woff2/
H A Dtransform.cc136 int num_points = glyph.contours[i].size(); local
137 for (int j = 0; j < num_points; j++) {
/external/chromium_org/third_party/freetype/src/psaux/
H A Dt1decode.c815 FT_UInt num_points, nn, mm; local
827 num_points = (FT_UInt)subr_no - 13 + ( subr_no == 18 );
828 if ( arg_cnt != (FT_Int)( num_points * blend->num_designs ) )
851 delta = top + num_points;
853 for ( nn = 0; nn < num_points; nn++ )
864 known_othersubr_result_cnt = num_points;
/external/freetype/src/psaux/
H A Dt1decode.c815 FT_UInt num_points, nn, mm; local
827 num_points = (FT_UInt)subr_no - 13 + ( subr_no == 18 );
828 if ( arg_cnt != (FT_Int)( num_points * blend->num_designs ) )
851 delta = top + num_points;
853 for ( nn = 0; nn < num_points; nn++ )
864 known_othersubr_result_cnt = num_points;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/
H A Dt1decode.c815 FT_UInt num_points, nn, mm; local
827 num_points = (FT_UInt)subr_no - 13 + ( subr_no == 18 );
828 if ( arg_cnt != (FT_Int)( num_points * blend->num_designs ) )
851 delta = top + num_points;
853 for ( nn = 0; nn < num_points; nn++ )
864 known_othersubr_result_cnt = num_points;

Completed in 365 milliseconds

123