mirror of
https://github.com/opencv/opencv.git
synced 2026-09-25 04:09:57 +03:00
Add a CV_SIMD_SCALABLE path for the DIS patch processing kernels using universal intrinsics and runtime vector lane counts. Keep the existing CV_SIMD128 implementation unchanged to avoid affecting fixed-width SIMD targets. The scalable path vectorizes patch rows with v_float32 and handles remaining elements with the existing scalar code. This enables native RVV vectorization for processPatch(), processPatchMeanNorm(), computeSSD(), and computeSSDMeanNorm(). Co-authored-by: Yang Wang <yangwang@iscas.ac.cn> Co-authored-by: Yuansheng <yuansheng@isrc.iscas.ac.cn>