Browse Source

fix mat_pixel_resize.cpp shadowed variables warning (#2446)

tags/20201218
Zhuo Zhang GitHub 5 years ago
parent
commit
d4080d8cd1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions
  1. +12
    -12
      src/mat_pixel_resize.cpp

+ 12
- 12
src/mat_pixel_resize.cpp View File

@@ -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];



Loading…
Cancel
Save