Merge pull request #22520 from hanliutong:hsv
authorHAN Liutong <liutong2020@iscas.ac.cn>
Mon, 28 Nov 2022 18:28:14 +0000 (02:28 +0800)
committerGitHub <noreply@github.com>
Mon, 28 Nov 2022 18:28:14 +0000 (18:28 +0000)
commita32f2cd24a75bd3ced5db4f676cd72be96a02bca
treefa2cd03f85a7703ae23706ed43dced45a0aa7ff9
parenteb68de92682e11327e0f8bc7f9ad5f13eee216c1
Merge pull request #22520 from hanliutong:hsv

Modify the SIMD loop in color_hsv.

* Modify the SIMD loops in color_hsv.

* Add FP supporting in bit logic.

* Add temporary compatibility code.

* Use max_nlanes instead of vlanes for array declaration.

* Use "CV_SIMD || CV_SIMD_SCALABLE".

* Revert the modify of the Universal Intrinsic API

* Fix warnings.

* Use v_select instead of bits manipulation.
modules/core/include/opencv2/core/hal/intrin.hpp
modules/core/include/opencv2/core/hal/intrin_rvv_scalable.hpp
modules/imgproc/src/color_hsv.simd.hpp