Home
last modified time | relevance | path

Searched refs:num_segments (Results 1 – 14 of 14) sorted by relevance

/external/ceres-solver/examples/
Dellipse_approximation.cc274 PointToLineSegmentContourCostFunction(const int num_segments, in PointToLineSegmentContourCostFunction() argument
276 : num_segments_(num_segments), y_(y) { in PointToLineSegmentContourCostFunction()
325 static ceres::CostFunction* Create(const int num_segments, in Create() argument
327 return new PointToLineSegmentContourCostFunction(num_segments, y); in Create()
379 const int num_segments = 151; in main() local
394 VectorXd w(num_segments + 1); in main()
395 w.setLinSpaced(num_segments + 1, 0.0, 2.0 * M_PI); in main()
396 w.conservativeResize(num_segments); in main()
397 MatrixXd X(num_segments, 2); in main()
414 std::vector<double*> parameter_blocks(1 + num_segments); in main()
[all …]
/external/freetype/src/autofit/
Dafwarp.c79 FT_Int num_segments ) in af_warper_compute_line_best() argument
120 for ( nn = 0; nn < num_segments; nn++ ) in af_warper_compute_line_best()
174 FT_Int nn, num_points, num_segments; in af_warper_compute() local
201 num_segments = axis->num_segments; in af_warper_compute()
209 if ( num_segments < 1 ) in af_warper_compute()
226 for ( nn = 1; nn < num_segments; nn++ ) in af_warper_compute()
349 segments, num_segments ); in af_warper_compute()
Dafhints.c46 if ( axis->num_segments < AF_SEGMENTS_EMBEDDED ) in af_axis_hints_new_segment()
54 else if ( axis->num_segments >= axis->max_segments ) in af_axis_hints_new_segment()
87 segment = axis->segments + axis->num_segments++; in af_axis_hints_new_segment()
306 AF_Segment limit = segments + axis->num_segments; in af_glyph_hints_dump_segments()
313 if ( axis->num_segments ) in af_glyph_hints_dump_segments()
353 FT_Int* num_segments ) in af_glyph_hints_get_num_segments() argument
362 *num_segments = axis->num_segments; in af_glyph_hints_get_num_segments()
396 if ( idx < 0 || idx >= axis->num_segments ) in af_glyph_hints_get_segment_offset()
558 axis->num_segments = 0; in af_glyph_hints_done()
614 hints->axis[0].num_segments = 0; in af_glyph_hints_reload()
[all …]
Daflatin2.c121 limit = seg + axhints->num_segments; in af_latin2_metrics_init_widths()
727 axis->num_segments = 0; in af_latin2_hints_compute_segments()
881 AF_Segment segments_end = segments + axis->num_segments; in af_latin2_hints_compute_segments()
926 FT_UInt count = axis->num_segments; in af_latin2_hints_compute_segments()
967 AF_Segment segment_limit = segments + axis->num_segments; in af_latin2_hints_link_segments()
1069 AF_Segment segment_limit = segments + axis->num_segments; in af_latin2_hints_compute_edges()
Dafhints.h305 FT_Int num_segments; /* number of used segments */ member
Daflatin.c186 limit = seg + axhints->num_segments; in af_latin_metrics_init_widths()
1175 axis->num_segments = 0; in af_latin_hints_compute_segments()
1322 AF_Segment segments_end = segments + axis->num_segments; in af_latin_hints_compute_segments()
1382 AF_Segment segment_limit = segments + axis->num_segments; in af_latin_hints_link_segments()
1522 AF_Segment segment_limit = segments + axis->num_segments; in af_latin_hints_compute_edges()
Dafcjk.c186 limit = seg + axhints->num_segments; in af_cjk_metrics_init_widths()
708 AF_Segment segment_limit = segments + axis->num_segments; in af_cjk_hints_compute_segments()
752 AF_Segment segment_limit = segments + axis->num_segments; in af_cjk_hints_link_segments()
917 AF_Segment segment_limit = segments + axis->num_segments; in af_cjk_hints_compute_edges()
/external/webrtc/webrtc/base/
Dversionparsing.cc47 int num_segments) { in CompareVersions() argument
48 for (int i = 0; i < num_segments; ++i) { in CompareVersions()
Dversionparsing.h31 int num_segments);
/external/mesa3d/src/gallium/state_trackers/vega/
Dpath_utils.h55 VGint num_segments) in num_elements_for_segments() argument
60 for (i = 0; i < num_segments; ++i) { in num_elements_for_segments()
Dpath.c57 VGint num_segments; member
255 VGint old_segments = p->num_segments; in path_append_data()
260 p->num_segments += numSegments; in path_append_data()
274 return p->num_segments; in path_num_segments()
390 if (p->num_segments) in path_get_fill_polygons()
393 for (i = 0; i < p->num_segments; ++i) { in path_get_fill_polygons()
650 p->num_segments); in path_num_coords()
685 for (i = 0; i < path->num_segments; ++i) { in path_for_each_segment()
883 path->num_segments); in transform_cb()
914 dst->num_segments = dst->segments->num_elements; in path_transform()
[all …]
Dpath.h75 float path_length(struct path *p, int start_segment, int num_segments);
/external/opencv3/3rdparty/libwebp/enc/
Dquant.c167 const int num_segments = enc->segment_hdr_.num_segments_; in SetupMatrices() local
168 for (i = 0; i < num_segments; ++i) { in SetupMatrices()
269 const int num_segments = enc->segment_hdr_.num_segments_; in SimplifySegments() local
272 for (s1 = 1; s1 < num_segments; ++s1) { // find similar segments in SimplifySegments()
291 if (num_final_segments < num_segments) { // Remap in SimplifySegments()
296 for (i = num_final_segments; i < num_segments; ++i) { in SimplifySegments()
305 const int num_segments = enc->segment_hdr_.num_segments_; in VP8SetSegmentParams() local
311 for (i = 0; i < num_segments; ++i) { in VP8SetSegmentParams()
325 for (i = num_segments; i < NUM_MB_SEGMENTS; ++i) { in VP8SetSegmentParams()
352 if (num_segments > 1) SimplifySegments(enc); in VP8SetSegmentParams()
/external/webp/src/enc/
Dquant.c244 const int num_segments = enc->segment_hdr_.num_segments_; in SetupMatrices() local
245 for (i = 0; i < num_segments; ++i) { in SetupMatrices()
351 const int num_segments = enc->segment_hdr_.num_segments_; in SimplifySegments() local
354 for (s1 = 1; s1 < num_segments; ++s1) { // find similar segments in SimplifySegments()
373 if (num_final_segments < num_segments) { // Remap in SimplifySegments()
378 for (i = num_final_segments; i < num_segments; ++i) { in SimplifySegments()
387 const int num_segments = enc->segment_hdr_.num_segments_; in VP8SetSegmentParams() local
393 for (i = 0; i < num_segments; ++i) { in VP8SetSegmentParams()
407 for (i = num_segments; i < NUM_MB_SEGMENTS; ++i) { in VP8SetSegmentParams()
434 if (num_segments > 1) SimplifySegments(enc); in VP8SetSegmentParams()