1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge branch 4.x

This commit is contained in:
Alexander Smorkalov
2025-09-26 09:24:38 +03:00
91 changed files with 5339 additions and 1508 deletions
+13 -1
View File
@@ -174,8 +174,20 @@ void FAST_t(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bo
if(nonmax_suppression)
{
short d[25];
for (int _k = 0; _k < 25; _k++)
int _k = 0;
#if CV_ENABLE_UNROLLED
for (; _k + 4 < 25; _k += 5)
{
d[_k] = (short)(ptr[k] - ptr[k + pixel[_k]]);
d[_k + 1] = (short)(ptr[k] - ptr[k + pixel[_k + 1]]);
d[_k + 2] = (short)(ptr[k] - ptr[k + pixel[_k + 2]]);
d[_k + 3] = (short)(ptr[k] - ptr[k + pixel[_k + 3]]);
d[_k + 4] = (short)(ptr[k] - ptr[k + pixel[_k + 4]]);
}
#else
for ( ; _k < 25; _k++)
d[_k] = (short)(ptr[k] - ptr[k + pixel[_k]]);
#endif
v_int16x8 a0, b0, a1, b1;
a0 = b0 = a1 = b1 = v_load(d + 8);