Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
Recent HAL changes ported to 4.9#26395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes fromall commits
Commits
Show all changes
15 commits Select commitHold shift + click to select a range
67fe2ba Merge pull request #25789 from asmorkalov:as/HAL_meanStdDev_tails
asmorkalove8cc13c Merge pull request #25789 from asmorkalov:as/HAL_meanStdDev_tails
asmorkalovb25db18 Relax equalizeHist test for some HAL implementations.
asmorkalove5f2be8 Use Carotene implementation of TEGRA_GaussianBlurBinomial 3x3 and 5x5…
asmorkalov153a50a Merge pull request #25792 from asmorkalov:as/HAL_fast_GaussianBlur
asmorkalove376ee7 Merge pull request #25936 from savuor:rv/hal_dot
savuorff8afe8 Report used HAL to test log and xml
asmorkalov2f6c235 Merge pull request #25970 from savuor:rv/hal_pyrdown
savuora242431 Got rid of CAROTENE_NEON_ARCH and use standard __ARM_ARCH check.
asmorkalov14e4be0 Merge pull request #26080 from asmorkalov:as/HAL_minMaxIdx_ND_offset
asmorkalova8f2b2b Excluded nullptr leak to arithmetic HAL got from empty Mat.
asmorkalov5a2e561 Merge pull request #26143 from asmorkalov:as/HAL_opticalFlowLK
asmorkalovba340ee Merge pull request #26163 from asmorkalov:as/HAL_schaar_deriv
asmorkalov5ee4f59 OpenCV Acceleration with FastCV HAL changes
sssanjee-quic6f907fb Fastcv HAL changes for Opencv Acceleration
sssanjee-quicFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
4 changes: 4 additions & 0 deletions3rdparty/carotene/CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
121 changes: 120 additions & 1 deletion3rdparty/carotene/hal/tegra_hal.hpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion3rdparty/carotene/include/carotene/functions.hpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions3rdparty/carotene/src/common.hpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
53 changes: 12 additions & 41 deletions3rdparty/carotene/src/opticalflow.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions3rdparty/carotene/src/vround_helper.hpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions3rdparty/fastcv/CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| if(FCV_ENABLE) | ||
| set(OPENCV_3P_FASTCV_DIR ${CMAKE_CURRENT_SOURCE_DIR}) | ||
| set(FASTCV_LIB | ||
| "${FCV_LIB_DIR}/libfastcvopt.so") | ||
| set(FASTCV_HAL_VERSION 0.0.1 CACHE INTERNAL "") | ||
| set(FASTCV_HAL_LIBRARIES "fastcv_hal" CACHE INTERNAL "") | ||
| set(FASTCV_HAL_INCLUDE_DIRS | ||
| "${OPENCV_3P_FASTCV_DIR}/include" | ||
| ${FCV_HEADER_DIR} | ||
| CACHE INTERNAL "") | ||
| file(GLOB FASTCV_HAL_HEADERS "${OPENCV_3P_FASTCV_DIR}/include/*.hpp") | ||
| file(GLOB FASTCV_HAL_FILES "${OPENCV_3P_FASTCV_DIR}/src/*.cpp") | ||
| add_library(fastcv_hal STATIC "${FASTCV_HAL_FILES}") | ||
| target_include_directories(fastcv_hal PRIVATE | ||
| ${CMAKE_SOURCE_DIR}/modules/core/include | ||
| ${CMAKE_SOURCE_DIR}/modules/imgproc/include | ||
| ${FASTCV_HAL_INCLUDE_DIRS}) | ||
| target_link_libraries(fastcv_hal | ||
| PUBLIC "${FCV_LIB_DIR}/libfastcvopt.so") | ||
| set_target_properties(fastcv_hal PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${3P_LIBRARY_OUTPUT_PATH}) | ||
| if(NOT BUILD_SHARED_LIBS) | ||
| ocv_install_target(fastcv_hal EXPORT OpenCVModules ARCHIVE DESTINATION ${OPENCV_3P_LIB_INSTALL_PATH} COMPONENT dev) | ||
| endif() | ||
| else() | ||
| message(STATUS "FastCV is not available, disabling related HAL and stuff") | ||
| endif() |
35 changes: 35 additions & 0 deletions3rdparty/fastcv/fastcv.cmake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| function(download_fastcv root_dir) | ||
| # Commit SHA in the opencv_3rdparty repo | ||
| set(FASTCV_COMMIT "65f40fc8f7a6aac44936ae9538e69edede6c4b15") | ||
| # Define actual FCV versions | ||
| if(ANDROID) | ||
| if(AARCH64) | ||
| set(FCV_PACKAGE_NAME "fastcv_android_aarch64_2024_10_24.tgz") | ||
| set(FCV_PACKAGE_HASH "8a259eea80064643bad20f72ba0b6066") | ||
| else() | ||
| set(FCV_PACKAGE_NAME "fastcv_android_arm32_2024_10_24.tgz") | ||
| set(FCV_PACKAGE_HASH "04d89219c44d54166b2b7f8c0ed5143b") | ||
| endif() | ||
| elseif(UNIX AND NOT APPLE AND NOT IOS AND NOT XROS) | ||
| message("FastCV: fastcv lib for Linux is not supported for now!") | ||
| endif(ANDROID) | ||
| # Download Package | ||
| set(OPENCV_FASTCV_URL "https://raw.githubusercontent.com/opencv/opencv_3rdparty/${FASTCV_COMMIT}/fastcv/") | ||
| ocv_download( FILENAME ${FCV_PACKAGE_NAME} | ||
| HASH ${FCV_PACKAGE_HASH} | ||
| URL ${OPENCV_FASTCV_URL} | ||
| DESTINATION_DIR ${root_dir} | ||
| ID FASTCV | ||
| STATUS res | ||
| UNPACK | ||
| RELATIVE_URL) | ||
| if(NOT res) | ||
| message("FastCV: package download failed! Please download FastCV manually and put it at ${root_dir}.") | ||
| endif() | ||
| endfunction() |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.