highbd_vpx_convolve8_neon: clear -Wshadow warning
authorJames Zern <jzern@google.com>
Fri, 21 Apr 2023 20:03:58 +0000 (13:03 -0700)
committerJames Zern <jzern@google.com>
Fri, 21 Apr 2023 20:07:04 +0000 (13:07 -0700)
Bug: webm:1793
Change-Id: If1a46fe183cd18e05b5538b1eba098e420b745ec

vpx_dsp/arm/highbd_vpx_convolve8_neon.c

index c46c016..4768447 100644 (file)
@@ -355,7 +355,6 @@ void vpx_highbd_convolve8_avg_horiz_neon(const uint16_t *src,
   } else {
     const int16x8_t filters = vld1q_s16(filter[x0_q4]);
     const uint16x8_t max = vdupq_n_u16((1 << bd) - 1);
-    uint16x8_t t0, t1, t2, t3;
 
     assert(!((intptr_t)dst & 3));
     assert(!(dst_stride & 3));
@@ -365,6 +364,7 @@ void vpx_highbd_convolve8_avg_horiz_neon(const uint16_t *src,
     if (h == 4) {
       int16x4_t s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
       int32x4_t d0, d1, d2, d3;
+      uint16x8_t t0, t1, t2, t3;
       uint16x8_t d01, d23, t01, t23;
 
       __builtin_prefetch(src + 0 * src_stride);