]> granicus.if.org Git - libvpx/commitdiff
Fix clang compiler warning in denoising_neon.
authorMarco Paniconi <marpan@google.com>
Wed, 23 Jul 2014 16:42:09 +0000 (09:42 -0700)
committerMarco Paniconi <marpan@google.com>
Wed, 23 Jul 2014 16:59:27 +0000 (09:59 -0700)
Issue: https://code.google.com/p/webm/issues/detail?id=829

Change-Id: I580308f8aa4af194b5d8990a9692ebd18db68ee8

vp8/encoder/arm/neon/denoising_neon.c

index b7bb40c27526667d3b3b676c5db3081cb6c563dd..08be76e4338f6791d4551df54e929427198865b4 100644 (file)
@@ -279,8 +279,8 @@ int vp8_denoiser_filter_uv_neon(unsigned char *mc_running_avg,
       {
         const uint32x2_t _7654_3210 = vpaddl_u16(v_sum_block);
         const uint64x1_t _76543210 = vpaddl_u32(_7654_3210);
-        const unsigned int sum_block =
-            vget_lane_u32(vreinterpret_u32_u64(_76543210), 0);
+        const int sum_block =
+            vget_lane_s32(vreinterpret_s32_u64(_76543210), 0);
         if (abs(sum_block - (128 * 8 * 8)) < SUM_DIFF_FROM_AVG_THRESH_UV) {
           return COPY_BLOCK;
         }