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

12

/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.cc138 const int num_points = bal_problem->num_points(); local
156 for (int i = 0; i < num_points; ++i) {
165 for (int i = 0; i < num_points; ++i) {
174 for (int i = 0; i < num_points; ++i) {
204 for (int i = 0; i < num_points; ++i) {
/external/ceres-solver/internal/ceres/
H A Dvisibility.cc81 int num_points = 0; local
84 num_points = max(num_points, (*visibility[i].rbegin()) + 1);
93 vector<set<int> > inverse_visibility(num_points);
/external/chromium_org/cc/debug/
H A Doverdraw_metrics.cc35 static inline float PolygonArea(gfx::PointF points[8], int num_points) { argument
36 if (num_points < 3)
40 for (int i = 0; i < num_points; ++i)
41 area += WedgeProduct(points[i], points[(i+1)%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.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/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/ui/events/gestures/
H A Dvelocity_calculator_unittest.cc18 int num_points) {
23 for (int i = 0; i < num_points; ++i) {
14 AddPoints(VelocityCalculator* velocity_calculator, float x_increment, float y_increment, float time_increment_seconds, int num_points) argument
/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...]
H A Dafloader.c289 FT_UInt num_points, num_new_points, num_base_points; local
321 num_points = gloader->base.outline.n_points;
322 num_new_points = num_points - num_base_points;
/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.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...]
H A Dafloader.c289 FT_UInt num_points, num_new_points, num_base_points; local
321 num_points = gloader->base.outline.n_points;
322 num_new_points = num_points - num_base_points;
/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++ )
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/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/chrome/browser/ui/webui/performance_monitor/
H A Dperformance_monitor_ui_util_unittest.cc109 int num_points = 12; local
112 for (int i = 0; i < num_points; ++i) {
/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/chromium_org/third_party/freetype/src/truetype/
H A Dttgload.c1028 FT_UInt num_points = gloader->base.outline.n_points; local
1043 for ( i = num_base_points; i < num_points; i++ )
1063 l >= num_points )
1154 translate_array( num_points - num_base_points,
1591 FT_UInt num_points = start_point; local
1636 num_points = gloader->base.outline.n_points;
1638 if ( num_points == num_base_points )
1664 num_points > start_point )

Completed in 485 milliseconds

12