FastCV-based HAL for OpenCV acceleration#26316
FastCV-based HAL for OpenCV acceleration#26316sssanjee-quic wants to merge 10 commits intoopencv:4.xfrom
Conversation
Added Fastcv HAL changes in the 3rdparty folder. Includes HAL code , Fastcv libs and Headers Change-Id: I2f0ddb1f57515c82ae86ba8c2a82965b1a9626ec
|
@sssanjee-quic Please create dedicated PR with binaries in |
| #include <opencv2/core/utils/logger.hpp> | ||
| #include <opencv2/imgproc.hpp> | ||
|
|
||
| extern bool isInitialized; |
There was a problem hiding this comment.
This can be moved to fastcv_hal_utils.hpp
Reorganized the files in the folder, Added rules to download the fastcv bins from the 3rdparty repo Change-Id: Ia66f138894d3e8a06d0f32a6e7ce3359619189d7
|
There is some bug in CMake. FastCV is downloaded and reported in CMake status, but HAL is not built and linked: CMake status output: Actual binaries do not have FastCV dependency: for java part: |
|
There is conflict with last KleidiCV-related patch. Could you rebase on top of 4.x and fix the conflict? |
|
Build warnings with fresh NDK: The last one looks like some bug. OpenCV allows noncontinuous matrices for mask too. |
done |
|
Hi @asmorkalov the warnings we will fix, but the error about the doc, how should we fix it? #7601 |
|
Please ignore patch size check. The result looks like false-alarm. |
|
@sssanjee-quic Thanks a lot for the great job! The PR has been squashed and merged manually through #26556 |
Depends on opencv/opencv#26316 ### 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 - [ ] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake
Added Fastcv HAL changes in the 3rdparty folder.
Code Changes includes HAL code , Fastcv libs and Headers
Change-Id: I2f0ddb1f57515c82ae86ba8c2a82965b1a9626ec
Requires binaries from opencv/opencv_3rdparty#86.
Related patch to opencv_contrib: opencv/opencv_contrib#3811
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.