From cc9ab7e5821750b1fa6f2c65cfb8beb6b409d6f5 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Fri, 27 Oct 2017 14:20:13 +0300 Subject: [PATCH] imgproc: fix bilateral filter SIMD 32f optimization --- modules/imgproc/src/smooth.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/imgproc/src/smooth.cpp b/modules/imgproc/src/smooth.cpp index a9a9f86e5c..1332fb668d 100644 --- a/modules/imgproc/src/smooth.cpp +++ b/modules/imgproc/src/smooth.cpp @@ -3640,6 +3640,8 @@ public: v_int32x4 _idx = v_round(_alpha); v_store((int*)idxBuf, _idx); + _alpha -= v_cvt_f32(_idx); + v_float32x4 _explut = v_float32x4(expLUT[idxBuf[0]], expLUT[idxBuf[1]], expLUT[idxBuf[2]],