/dports/graphics/blender/blender-2.91.0/extern/quadriflow/src/ |
H A D | field-math.hpp | 160 double inv_scale_x, double inv_scale_y) { in position_floor_4() argument 163 return o + q * std::floor(q.dot(d) * inv_scale_x) * scale_x + in position_floor_4() 170 double scale_y, double inv_scale_x, double inv_scale_y, double scale_x_1, double scale_y_1, in compat_position_extrinsic_4() argument 175 position_floor_4(o0, q0, n0, middle, scale_x, scale_y, inv_scale_x, inv_scale_y); in compat_position_extrinsic_4() 203 double inv_scale_x, double inv_scale_y) { in position_round_4() argument 206 return o + q * std::round(q.dot(d) * inv_scale_x) * scale_x + in position_round_4() 212 double inv_scale_x, double inv_scale_y) { in position_floor_index_4() argument 215 return Vector2i((int)std::floor(q.dot(d) * inv_scale_x), in position_floor_index_4() 222 double scale_y, double inv_scale_x, double inv_scale_y, double scale_x_1, double scale_y_1, in compat_position_extrinsic_index_4() argument 227 position_floor_index_4(o0, q0, n0, middle, scale_x, scale_y, inv_scale_x, inv_scale_y); in compat_position_extrinsic_index_4()
|
H A D | parametrizer-sing.cpp | 83 double inv_scale_x = 1.0 / scale_x, inv_scale_y = 1.0 / scale_y, in ComputePositionSingularities() local 86 v[k], n[k], q[k], o[k], v[kn], n[kn], q[kn], o[kn], scale_x, scale_y, inv_scale_x, in ComputePositionSingularities()
|
H A D | optimizer.cpp | 298 double inv_scale_x = 1.0f / scale_x; in optimize_positions() local 326 v_i, n_i, q_i, sum, v_j, n_j, q_j, o_j, scale_x, scale_y, inv_scale_x, in optimize_positions() 348 inv_scale_x, inv_scale_y); in optimize_positions()
|
H A D | hierarchy.cpp | 1184 double inv_scale_x = 1.0f / scale_x; in propagateConstraints() local 1199 scale_y, inv_scale_x, inv_scale_y, scale_x_1, scale_y_1, inv_scale_x_1, in propagateConstraints()
|
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/src/ |
H A D | resize.cpp | 868 interpolation interp_x(inv_scale_x, src_width, dst_width); in resize_bitExact() 3598 int scale_x = (int)(1 / inv_scale_x); in ipp_resize() 3610 double ex = fabs((double)dst_width / src_width - inv_scale_x) / inv_scale_x; in ipp_resize() 3677 if (inv_scale_x < DBL_EPSILON || inv_scale_y < DBL_EPSILON) in resize() 3808 double scale_x = 1./inv_scale_x, scale_y = 1./inv_scale_y; in resize() 3831 cn, inv_scale_x, inv_scale_y); in resize() 3838 resizeNN( src, dst, inv_scale_x, inv_scale_y ); in resize() 3951 fx = (float)((dx+1) - (sx+1)*inv_scale_x); in resize() 4054 CV_Assert(inv_scale_x > 0); CV_Assert(inv_scale_y > 0); in resize() 4061 inv_scale_x = (double)dsize.width/ssize.width; in resize() [all …]
|
H A D | hal_replacement.hpp | 254 …char *dst_data, size_t dst_step, int dst_width, int dst_height, double inv_scale_x, double inv_sca… in hal_ni_resize() argument
|
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/test/ |
H A D | test_resize_bitexact.cpp | 80 double inv_scale_x = (double)dcols / cols; in TEST() local 82 softdouble scale_x = softdouble::one() / softdouble(inv_scale_x); in TEST()
|
/dports/graphics/opencv/opencv-4.5.3/3rdparty/openvx/hal/ |
H A D | openvx_hal.cpp | 319 … astep, int aw, int ah, uchar *b, size_t bstep, int bw, int bh, double inv_scale_x, double inv_sca… in ovx_hal_resize() argument 337 inv_scale_x > 0 && inv_scale_y > 0 && in ovx_hal_resize() 338 (bw - 0.5) / inv_scale_x - 0.5 < aw && (bh - 0.5) / inv_scale_y - 0.5 < ah && in ovx_hal_resize() 339 (bw + 0.5) / inv_scale_x + 0.5 >= aw && (bh + 0.5) / inv_scale_y + 0.5 >= ah && in ovx_hal_resize() 340 std::abs(bw / inv_scale_x - aw) < 0.1 && std::abs(bh / inv_scale_y - ah) < 0.1)) in ovx_hal_resize() 347 if (inv_scale_x > 1 || inv_scale_y > 1) in ovx_hal_resize()
|
H A D | openvx_hal.hpp | 28 … astep, int aw, int ah, uchar *b, size_t bstep, int bw, int bh, double inv_scale_x, double inv_sca…
|
/dports/graphics/opencv/opencv-4.5.3/3rdparty/carotene/hal/ |
H A D | tegra_hal.hpp | 1436 …tep, src_width, src_height, dst_data, dst_step, dst_width, dst_height, inv_scale_x, inv_scale_y, i… argument 1440 inv_scale_x > 0 && inv_scale_y > 0 && \ 1441 …(dst_width - 0.5)/inv_scale_x - 0.5 < src_width && (dst_height - 0.5)/inv_scale_y - 0.5 < src_heig… 1442 …(dst_width + 0.5)/inv_scale_x + 0.5 >= src_width && (dst_height + 0.5)/inv_scale_y + 0.5 >= src_he… 1443 …std::abs(dst_width / inv_scale_x - src_width) < 0.1 && std::abs(dst_height / inv_scale_y - src_hei… 1445 …src_data, src_step, dst_data, dst_step, 1.0/inv_scale_x, 1.0/inv_scale_y, ((src_type >> CV_CN_SHIF… 1448 …CV_MAT_DEPTH(src_type) == CV_8U && CAROTENE_NS::isResizeAreaSupported(1.0/inv_scale_x, 1.0/inv_sca… 1449 …std::abs(dst_width / inv_scale_x - src_width) < 0.1 && std::abs(dst_height / inv_scale_y - src_hei… 1451 …src_data, src_step, dst_data, dst_step, 1.0/inv_scale_x, 1.0/inv_scale_y, ((src_type >> CV_CN_SHIF…
|
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/include/opencv2/imgproc/hal/ |
H A D | hal.hpp | 104 double inv_scale_x, double inv_scale_y, int interpolation);
|