summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchiyotsai <chiyotsai@google.com>2023-05-03 14:44:08 -0700
committerchiyotsai <chiyotsai@google.com>2023-05-03 14:44:08 -0700
commit174e782fe5c0f4b01c161eeb0500c88d84a26c42 (patch)
tree9ae1539b65e1914afce71799a1620dbbd1c022b5
parent701392c1b09cd6db8298520caa360f0f7235d85b (diff)
downloadlibvpx-174e782fe5c0f4b01c161eeb0500c88d84a26c42.tar.gz
Fix mismatched param names in vpx_dsp/arm/highbd_sad4d_neon.c
Change-Id: Ia4918eb0bac3b28b27e1ef205b9171680b2eb9a4
-rw-r--r--vpx_dsp/arm/highbd_sad4d_neon.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/vpx_dsp/arm/highbd_sad4d_neon.c b/vpx_dsp/arm/highbd_sad4d_neon.c
index 62c4685a7..a6684b053 100644
--- a/vpx_dsp/arm/highbd_sad4d_neon.c
+++ b/vpx_dsp/arm/highbd_sad4d_neon.c
@@ -213,10 +213,11 @@ static INLINE void highbd_sad32xhx4d_neon(const uint8_t *src_ptr,
}
#define HBD_SAD_WXH_4D_NEON(w, h) \
- void vpx_highbd_sad##w##x##h##x4d_neon(const uint8_t *src, int src_stride, \
- const uint8_t *const ref[4], \
- int ref_stride, uint32_t res[4]) { \
- highbd_sad##w##xhx4d_neon(src, src_stride, ref, ref_stride, res, (h)); \
+ void vpx_highbd_sad##w##x##h##x4d_neon( \
+ const uint8_t *src, int src_stride, const uint8_t *const ref_array[4], \
+ int ref_stride, uint32_t sad_array[4]) { \
+ highbd_sad##w##xhx4d_neon(src, src_stride, ref_array, ref_stride, \
+ sad_array, (h)); \
}
HBD_SAD_WXH_4D_NEON(4, 4)
@@ -239,16 +240,16 @@ HBD_SAD_WXH_4D_NEON(64, 64)
#undef HBD_SAD_WXH_4D_NEON
-#define HBD_SAD_SKIP_WXH_4D_NEON(w, h) \
- void vpx_highbd_sad_skip_##w##x##h##x4d_neon( \
- const uint8_t *src, int src_stride, const uint8_t *const ref[4], \
- int ref_stride, uint32_t res[4]) { \
- highbd_sad##w##xhx4d_neon(src, 2 * src_stride, ref, 2 * ref_stride, res, \
- ((h) >> 1)); \
- res[0] <<= 1; \
- res[1] <<= 1; \
- res[2] <<= 1; \
- res[3] <<= 1; \
+#define HBD_SAD_SKIP_WXH_4D_NEON(w, h) \
+ void vpx_highbd_sad_skip_##w##x##h##x4d_neon( \
+ const uint8_t *src, int src_stride, const uint8_t *const ref_array[4], \
+ int ref_stride, uint32_t sad_array[4]) { \
+ highbd_sad##w##xhx4d_neon(src, 2 * src_stride, ref_array, 2 * ref_stride, \
+ sad_array, ((h) >> 1)); \
+ sad_array[0] <<= 1; \
+ sad_array[1] <<= 1; \
+ sad_array[2] <<= 1; \
+ sad_array[3] <<= 1; \
}
HBD_SAD_SKIP_WXH_4D_NEON(4, 4)