1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

little but important fix in bicubic warping 1-channel case

This commit is contained in:
Vadim Pisarevsky
2026-06-04 22:12:03 +03:00
parent 29eec42012
commit dd1a12c6ff
+4 -4
View File
@@ -7535,10 +7535,10 @@ CV_ALWAYS_INLINE v_float32 v_fma(const v_int32& a, const v_float32& b, const v_f
#define FETCH_INLIERS_C1_DEFAULT(row) \
for (int j = 0; j < BATCH; j++) { \
const chtype* srcj = (const chtype*)((const uint8_t*)src + row*srcstep + tl_ofs[j]); \
pixbuf[0][j] = buftype(srcj[1]); \
pixbuf[0][j + BATCH] = buftype(srcj[2]); \
pixbuf[0][j + BATCH*2] = buftype(srcj[3]); \
pixbuf[0][j + BATCH*3] = buftype(srcj[4]); \
pixbuf[0][j] = buftype(srcj[0]); \
pixbuf[0][j + BATCH] = buftype(srcj[1]); \
pixbuf[0][j + BATCH*2] = buftype(srcj[2]); \
pixbuf[0][j + BATCH*3] = buftype(srcj[3]); \
} \
R0 = vx_load(&pixbuf[0][0]); \
R1 = vx_load(&pixbuf[0][BATCH]); \