diff --git a/src/mat_pixel_resize.cpp b/src/mat_pixel_resize.cpp index f3e13255a..555645d97 100644 --- a/src/mat_pixel_resize.cpp +++ b/src/mat_pixel_resize.cpp @@ -132,7 +132,7 @@ void resize_bilinear_c1(const unsigned char* src, int srcw, int srch, int srcstr for (int dy = 0; dy < h; dy++) { - int sy = yofs[dy]; + sy = yofs[dy]; if (sy == prev_sy1) { @@ -150,7 +150,7 @@ void resize_bilinear_c1(const unsigned char* src, int srcw, int srch, int srcstr short* rows1p = rows1; for (int dx = 0; dx < w; dx++) { - int sx = xofs[dx]; + sx = xofs[dx]; short a0 = ialphap[0]; short a1 = ialphap[1]; @@ -171,7 +171,7 @@ void resize_bilinear_c1(const unsigned char* src, int srcw, int srch, int srcstr short* rows1p = rows1; for (int dx = 0; dx < w; dx++) { - int sx = xofs[dx]; + sx = xofs[dx]; short a0 = ialphap[0]; short a1 = ialphap[1]; @@ -386,7 +386,7 @@ void resize_bilinear_c2(const unsigned char* src, int srcw, int srch, int srcstr for (int dy = 0; dy < h; dy++) { - int sy = yofs[dy]; + sy = yofs[dy]; if (sy == prev_sy1) { @@ -404,7 +404,7 @@ void resize_bilinear_c2(const unsigned char* src, int srcw, int srch, int srcstr short* rows1p = rows1; for (int dx = 0; dx < w; dx++) { - int sx = xofs[dx]; + sx = xofs[dx]; const unsigned char* S1p = S1 + sx; #if __ARM_NEON @@ -447,7 +447,7 @@ void resize_bilinear_c2(const unsigned char* src, int srcw, int srch, int srcstr short* rows1p = rows1; for (int dx = 0; dx < w; dx++) { - int sx = xofs[dx]; + sx = xofs[dx]; short a0 = ialphap[0]; short a1 = ialphap[1]; @@ -695,7 +695,7 @@ void resize_bilinear_c3(const unsigned char* src, int srcw, int srch, int srcstr for (int dy = 0; dy < h; dy++) { - int sy = yofs[dy]; + sy = yofs[dy]; if (sy == prev_sy1) { @@ -713,7 +713,7 @@ void resize_bilinear_c3(const unsigned char* src, int srcw, int srch, int srcstr short* rows1p = rows1; for (int dx = 0; dx < w; dx++) { - int sx = xofs[dx]; + sx = xofs[dx]; short a0 = ialphap[0]; short a1 = ialphap[1]; @@ -758,7 +758,7 @@ void resize_bilinear_c3(const unsigned char* src, int srcw, int srch, int srcstr short* rows1p = rows1; for (int dx = 0; dx < w; dx++) { - int sx = xofs[dx]; + sx = xofs[dx]; short a0 = ialphap[0]; short a1 = ialphap[1]; @@ -1015,7 +1015,7 @@ void resize_bilinear_c4(const unsigned char* src, int srcw, int srch, int srcstr for (int dy = 0; dy < h; dy++) { - int sy = yofs[dy]; + sy = yofs[dy]; if (sy == prev_sy1) { @@ -1033,7 +1033,7 @@ void resize_bilinear_c4(const unsigned char* src, int srcw, int srch, int srcstr short* rows1p = rows1; for (int dx = 0; dx < w; dx++) { - int sx = xofs[dx]; + sx = xofs[dx]; short a0 = ialphap[0]; short a1 = ialphap[1]; @@ -1071,7 +1071,7 @@ void resize_bilinear_c4(const unsigned char* src, int srcw, int srch, int srcstr short* rows1p = rows1; for (int dx = 0; dx < w; dx++) { - int sx = xofs[dx]; + sx = xofs[dx]; short a0 = ialphap[0]; short a1 = ialphap[1];