mirror of
https://github.com/opencv/opencv.git
synced 2026-07-25 21:33:04 +04:00
cb659575e8
stitching: enable loop unrolling in fast.cpp to improve ARM64 performance #27642 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - This PR introduces an ARM64-specific performance optimization in the FAST_t function by applying loop unrolling. - The optimization is guarded with #if defined(_M_ARM64) to ensure it only affects ARM64 builds. - This optimizations lead to performance improvements in stitching module functions. **Performance Improvements:** - This change significantly improved the performance on Windows ARM64 targets. <img width="935" height="579" alt="image" src="https://github.com/user-attachments/assets/a03833d1-ac9b-408f-916b-243fd6ae2d53" />