mirror of
https://github.com/opencv/opencv.git
synced 2025-06-19 08:54:45 +08:00

HAL: added copyToMask and implemented in hal_rvv #27162 ### 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 - [ ] 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
61 lines
2.1 KiB
C++
61 lines
2.1 KiB
C++
// This file is part of OpenCV project.
|
|
// It is subject to the license terms in the LICENSE file found in the top-level directory
|
|
// of this distribution and at http://opencv.org/license.html.
|
|
|
|
#ifndef OPENCV_HAL_RVV_HPP_INCLUDED
|
|
#define OPENCV_HAL_RVV_HPP_INCLUDED
|
|
|
|
#include "opencv2/core/base.hpp"
|
|
#include "opencv2/core/hal/interface.h"
|
|
#include "opencv2/imgproc/hal/interface.h"
|
|
|
|
#ifndef CV_HAL_RVV_071_ENABLED
|
|
# if defined(__GNUC__) && __GNUC__ == 10 && __GNUC_MINOR__ == 4 && defined(__THEAD_VERSION__) && defined(__riscv_v) && __riscv_v == 7000
|
|
# define CV_HAL_RVV_071_ENABLED 1
|
|
# else
|
|
# define CV_HAL_RVV_071_ENABLED 0
|
|
# endif
|
|
#endif
|
|
|
|
#if CV_HAL_RVV_071_ENABLED
|
|
#include "version/hal_rvv_071.hpp"
|
|
#endif
|
|
|
|
#if defined(__riscv_v) && __riscv_v == 1000000
|
|
#include "hal_rvv_1p0/types.hpp"
|
|
#include "hal_rvv_1p0/merge.hpp" // core
|
|
#include "hal_rvv_1p0/mean.hpp" // core
|
|
#include "hal_rvv_1p0/dxt.hpp" // core
|
|
#include "hal_rvv_1p0/norm.hpp" // core
|
|
#include "hal_rvv_1p0/norm_diff.hpp" // core
|
|
#include "hal_rvv_1p0/norm_hamming.hpp" // core
|
|
#include "hal_rvv_1p0/convert_scale.hpp" // core
|
|
#include "hal_rvv_1p0/minmax.hpp" // core
|
|
#include "hal_rvv_1p0/atan.hpp" // core
|
|
#include "hal_rvv_1p0/split.hpp" // core
|
|
#include "hal_rvv_1p0/magnitude.hpp" // core
|
|
#include "hal_rvv_1p0/cart_to_polar.hpp" // core
|
|
#include "hal_rvv_1p0/polar_to_cart.hpp" // core
|
|
#include "hal_rvv_1p0/flip.hpp" // core
|
|
#include "hal_rvv_1p0/lut.hpp" // core
|
|
#include "hal_rvv_1p0/exp.hpp" // core
|
|
#include "hal_rvv_1p0/log.hpp" // core
|
|
#include "hal_rvv_1p0/lu.hpp" // core
|
|
#include "hal_rvv_1p0/cholesky.hpp" // core
|
|
#include "hal_rvv_1p0/qr.hpp" // core
|
|
#include "hal_rvv_1p0/svd.hpp" // core
|
|
#include "hal_rvv_1p0/sqrt.hpp" // core
|
|
#include "hal_rvv_1p0/copy_mask.hpp" // core
|
|
|
|
#include "hal_rvv_1p0/moments.hpp" // imgproc
|
|
#include "hal_rvv_1p0/filter.hpp" // imgproc
|
|
#include "hal_rvv_1p0/pyramids.hpp" // imgproc
|
|
#include "hal_rvv_1p0/color.hpp" // imgproc
|
|
#include "hal_rvv_1p0/warp.hpp" // imgproc
|
|
#include "hal_rvv_1p0/thresh.hpp" // imgproc
|
|
#include "hal_rvv_1p0/histogram.hpp" // imgproc
|
|
#include "hal_rvv_1p0/resize.hpp" // imgproc
|
|
#endif
|
|
|
|
#endif
|