From 7788c622863afbb7c11c249ed954e338ca82a6f9 Mon Sep 17 00:00:00 2001 From: Marco Paniconi Date: Wed, 23 Jul 2014 09:42:09 -0700 Subject: [PATCH] Fix clang compiler warning in denoising_neon. Issue: https://code.google.com/p/webm/issues/detail?id=829 Change-Id: I580308f8aa4af194b5d8990a9692ebd18db68ee8 --- vp8/encoder/arm/neon/denoising_neon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vp8/encoder/arm/neon/denoising_neon.c b/vp8/encoder/arm/neon/denoising_neon.c index b7bb40c27..08be76e43 100644 --- a/vp8/encoder/arm/neon/denoising_neon.c +++ b/vp8/encoder/arm/neon/denoising_neon.c @@ -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; } -- 2.40.0