mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
neon: normalize vdup_n_* usage
with constants, prefer this over vmov_n_* or vcreate_* Change-Id: Ia84b2a82faea58e2626211a7e2257e0ba4af358a
This commit is contained in:
@ -59,8 +59,8 @@ static WEBP_INLINE void SaturateAndStore4x4(uint8_t* const dst,
|
||||
|
||||
static WEBP_INLINE void Add4x4(const int16x8_t row01, const int16x8_t row23,
|
||||
const uint8_t* const ref, uint8_t* const dst) {
|
||||
uint32x2_t dst01 = vcreate_u32(0);
|
||||
uint32x2_t dst23 = vcreate_u32(0);
|
||||
uint32x2_t dst01 = vdup_n_u32(0);
|
||||
uint32x2_t dst23 = vdup_n_u32(0);
|
||||
|
||||
// Load the source pixels.
|
||||
dst01 = vld1_lane_u32((uint32_t*)(ref + 0 * BPS), dst01, 0);
|
||||
|
Reference in New Issue
Block a user