/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/ |
H A D | curve_decimate.c | 92 const float error_sq_max) in knot_remove_error_recalculate() argument 117 if (cost_sq < error_sq_max) { in knot_remove_error_recalculate() 148 float error_sq_max, in curve_decimate() argument 155 knot_remove_error_recalculate(heap, points, points_len, k, error_sq_max); in curve_decimate() 185 knot_remove_error_recalculate(heap, points, points_len, k_prev, error_sq_max); in curve_decimate() 189 knot_remove_error_recalculate(heap, points, points_len, k_next, error_sq_max); in curve_decimate() 204 const float error_sq_max, in BKE_curve_decimate_bezt_array() argument 260 curve_decimate(points, points_len, knots, knots_len, error_sq_max, error_target_len); in BKE_curve_decimate_bezt_array() 319 const float error_sq_max, in BKE_curve_decimate_nurb() argument 330 error_sq_max, in BKE_curve_decimate_nurb()
|
/dports/graphics/blender/blender-2.91.0/extern/curve_fit_nd/intern/ |
H A D | curve_fit_cubic_refit.c | 464 if (cost_sq < error_sq_max) { in knot_remove_error_recalculate() 506 double error_sq_max, const uint dims) in curve_incremental_simplify() argument 602 const double error_sq_max, in knot_refit_error_recalculate() argument 621 if (cost_sq < error_sq_max) { in knot_refit_error_recalculate() 651 (void)error_sq_max; in knot_refit_error_recalculate() 669 assert(cost_sq_src_max <= error_sq_max); in knot_refit_error_recalculate() 743 const double error_sq_max, in curve_incremental_simplify_refit() argument 871 const double error_sq_max, in knot_corner_error_recalculate() argument 884 handles_prev)) < error_sq_max) && in knot_corner_error_recalculate() 889 handles_next)) < error_sq_max)) in knot_corner_error_recalculate() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/animation/ |
H A D | keyframes_general.c | 371 float error_sq_max) in decimate_fcurve_segment() argument 397 error_sq_max, in decimate_fcurve_segment() 408 bool decimate_fcurve(bAnimListElem *ale, float remove_ratio, float error_sq_max) in decimate_fcurve() argument 449 fcu, bezt_segment_start_idx, bezt_segment_len, remove_ratio, error_sq_max); in decimate_fcurve() 458 fcu, bezt_segment_start_idx, bezt_segment_len, remove_ratio, error_sq_max); in decimate_fcurve()
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/ |
H A D | BKE_curve.h | 298 const float error_sq_max, 303 const float error_sq_max,
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_graph/ |
H A D | graph_edit.c | 1312 static void decimate_graph_keys(bAnimContext *ac, float remove_ratio, float error_sq_max) in decimate_graph_keys() argument 1325 if (!decimate_fcurve(ale, remove_ratio, error_sq_max)) { in decimate_graph_keys() 1566 const float error_sq_max = FLT_MAX; in graphkeys_decimate_modal_update() local 1567 decimate_graph_keys(&dgo->ac, remove_ratio, error_sq_max); in graphkeys_decimate_modal_update() 1660 float error_sq_max = FLT_MAX; in graphkeys_decimate_exec() local 1667 error_sq_max = RNA_float_get(op->ptr, "remove_error_margin"); in graphkeys_decimate_exec() 1669 error_sq_max *= error_sq_max; in graphkeys_decimate_exec() 1674 if (remove_ratio == 0.0f || error_sq_max == 0.0f) { in graphkeys_decimate_exec() 1679 decimate_graph_keys(&ac, remove_ratio, error_sq_max); in graphkeys_decimate_exec()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/include/ |
H A D | ED_keyframes_edit.h | 323 bool decimate_fcurve(struct bAnimListElem *ale, float remove_ratio, float error_sq_max);
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/curve/ |
H A D | editcurve.c | 6753 const float error_sq_max = FLT_MAX; in curve_decimate_exec() local 6776 BKE_curve_decimate_nurb(nu, cu->resolu, error_sq_max, error_target_len); in curve_decimate_exec()
|