Searched refs:half_length (Results 1 – 2 of 2) sorted by relevance
/third_party/boost/boost/gil/image_processing/ |
D | harris.hpp | 50 auto const half_length = window_length / 2; in compute_harris_responses() local 52 for (auto y = half_length; y < height - half_length; ++y) in compute_harris_responses() 54 for (auto x = half_length; x < width - half_length; ++x) in compute_harris_responses() 65 ddxx += m11(x + x_kernel - half_length, y + y_kernel - half_length) in compute_harris_responses() 67 dxdy += m12_21(x + x_kernel - half_length, y + y_kernel - half_length) in compute_harris_responses() 69 ddyy += m22(x + x_kernel - half_length, y + y_kernel - half_length) in compute_harris_responses()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aaline.c | 391 float half_length; in aaline_line() local 395 half_length = 0.5f * sqrtf(dx * dx + dy * dy); in aaline_line() 397 if (half_length < 0.5f) { in aaline_line() 415 half_length = 2.0f * half_length; in aaline_line() 417 half_length = half_length + 0.5f; in aaline_line() 467 ASSIGN_4V(tex, -half_width, half_width, -half_length, half_length); in aaline_line() 470 ASSIGN_4V(tex, half_width, half_width, -half_length, half_length); in aaline_line() 473 ASSIGN_4V(tex, -half_width, half_width, half_length, half_length); in aaline_line() 476 ASSIGN_4V(tex, half_width, half_width, half_length, half_length); in aaline_line()
|