From: James Zern Date: Fri, 11 Jul 2014 06:48:47 +0000 (-0700) Subject: vp8_bilinear_predict4x4_neon: init src vectors X-Git-Tag: v1.4.0~1216^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74ed33cf6e2c5d29a817d2e90d439a5b6fc52a99;p=platform%2Fupstream%2Flibvpx.git vp8_bilinear_predict4x4_neon: init src vectors quiets uninitialized warnings on the first load. Change-Id: I58a5af337087d96b4eaea8991a0f85c4ba58aebe --- diff --git a/vp8/common/arm/neon/bilinearpredict_neon.c b/vp8/common/arm/neon/bilinearpredict_neon.c index e1c3c2b..d77f2ba 100644 --- a/vp8/common/arm/neon/bilinearpredict_neon.c +++ b/vp8/common/arm/neon/bilinearpredict_neon.c @@ -30,7 +30,6 @@ void vp8_bilinear_predict4x4_neon( int dst_pitch) { uint8x8_t d0u8, d1u8, d2u8, d3u8, d4u8, d5u8, d6u8; uint8x8_t d26u8, d27u8, d28u8, d29u8, d30u8; - uint32x2_t d28u32, d29u32, d30u32; uint8x16_t q1u8, q2u8; uint16x8_t q1u16, q2u16; uint16x8_t q7u16, q8u16, q9u16; @@ -39,6 +38,10 @@ void vp8_bilinear_predict4x4_neon( uint32x2x2_t d0u32x2, d1u32x2, d2u32x2, d3u32x2; if (xoffset == 0) { // skip_1stpass_filter + uint32x2_t d28u32 = vdup_n_u32(0); + uint32x2_t d29u32 = vdup_n_u32(0); + uint32x2_t d30u32 = vdup_n_u32(0); + d28u32 = vld1_lane_u32((const uint32_t *)src_ptr, d28u32, 0); src_ptr += src_pixels_per_line; d28u32 = vld1_lane_u32((const uint32_t *)src_ptr, d28u32, 1);