From e5075ffa33cc4ea0e9f3d51c15085d3af6963bbb Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 4 Dec 2025 14:53:33 +0300 Subject: [PATCH] Disabled incorrect in-place flip HAL on RISC-V RVV. --- hal/riscv-rvv/src/core/flip.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hal/riscv-rvv/src/core/flip.cpp b/hal/riscv-rvv/src/core/flip.cpp index 42f7c8b16d..0af8458ccf 100644 --- a/hal/riscv-rvv/src/core/flip.cpp +++ b/hal/riscv-rvv/src/core/flip.cpp @@ -322,8 +322,10 @@ int flip(int src_type, const uchar* src_data, size_t src_step, int src_width, in if (src_width < 0 || src_height < 0 || esz > 32) return CV_HAL_ERROR_NOT_IMPLEMENTED; + // BUG: https://github.com/opencv/opencv/issues/28124 if (src_data == dst_data) { - return flip_inplace(esz, dst_data, dst_step, src_width, src_height, flip_mode); + return CV_HAL_ERROR_NOT_IMPLEMENTED; + //return flip_inplace(esz, dst_data, dst_step, src_width, src_height, flip_mode); } if (flip_mode == 0)