shithub: libvpx

Download patch

ref: 440995cabba0171ae16a25bd3750aa88bc03be44
parent: d157742788b7303041fb5c609c983dda0a0b608d
parent: dcf5b7cfdd281b6d12646744a8019e77d076e0e8
author: James Zern <[email protected]>
date: Wed Jul 1 13:57:52 EDT 2015

Merge "loopfiltersimpleverticaledge_neon: quiet uninit var warnings"

--- a/vp8/common/arm/neon/loopfiltersimpleverticaledge_neon.c
+++ b/vp8/common/arm/neon/loopfiltersimpleverticaledge_neon.c
@@ -94,7 +94,8 @@
 
 #ifdef VPX_INCOMPATIBLE_GCC
 static INLINE
-uint8x8x4_t read_4x8(unsigned char *src, int pitch, uint8x8x4_t x) {
+uint8x8x4_t read_4x8(unsigned char *src, int pitch) {
+    uint8x8x4_t x;
     const uint8x8_t a = vld1_u8(src);
     const uint8x8_t b = vld1_u8(src + pitch * 1);
     const uint8x8_t c = vld1_u8(src + pitch * 2);
@@ -152,7 +153,8 @@
 }
 #else
 static INLINE
-uint8x8x4_t read_4x8(unsigned char *src, int pitch, uint8x8x4_t x) {
+uint8x8x4_t read_4x8(unsigned char *src, int pitch) {
+    uint8x8x4_t x;
     x.val[0] = x.val[1] = x.val[2] = x.val[3] = vdup_n_u8(0);
     x = vld4_lane_u8(src, x, 0);
     src += pitch;
@@ -191,9 +193,9 @@
     qblimit = vdupq_n_u8(*blimit);
 
     src1 = s - 2;
-    d0u8x4 = read_4x8(src1, p, d0u8x4);
+    d0u8x4 = read_4x8(src1, p);
     src1 += p * 8;
-    d1u8x4 = read_4x8(src1, p, d1u8x4);
+    d1u8x4 = read_4x8(src1, p);
 
     q3u8 = vcombine_u8(d0u8x4.val[0], d1u8x4.val[0]);  // d6 d10
     q4u8 = vcombine_u8(d0u8x4.val[2], d1u8x4.val[2]);  // d8 d12