// then replace CV_SIMD_SCALABLE with CV_RVV. // If std::swap is available for RVV vector types in future, remove this macro. #define swap(a, b) {auto t = a; a = b; b = t;} ...