highbd_convolve_sve2.c: make some functions static
Fixes some -Wmissing-prototypes warnings.
Bug: aomedia:3416
Change-Id: Ic4fe46f362df66de66cbd38a3f630ce7ebf6d141
diff --git a/av1/common/arm/highbd_convolve_sve2.c b/av1/common/arm/highbd_convolve_sve2.c
index e6e2771..6ce9f36 100644
--- a/av1/common/arm/highbd_convolve_sve2.c
+++ b/av1/common/arm/highbd_convolve_sve2.c
@@ -562,10 +562,11 @@
return vminq_u16(res, max);
}
-void highbd_convolve_y_sr_8tap_sve2(const uint16_t *src, ptrdiff_t src_stride,
- uint16_t *dst, ptrdiff_t dst_stride,
- int width, int height,
- const int16_t *filter_y, int bd) {
+static void highbd_convolve_y_sr_8tap_sve2(const uint16_t *src,
+ ptrdiff_t src_stride, uint16_t *dst,
+ ptrdiff_t dst_stride, int width,
+ int height, const int16_t *filter_y,
+ int bd) {
assert(width >= 4 && height >= 4);
const int16x8_t y_filter = vld1q_s16(filter_y);
@@ -731,10 +732,11 @@
return vminq_u16(res, max);
}
-void highbd_convolve_y_sr_4tap_sve2(const uint16_t *src, ptrdiff_t src_stride,
- uint16_t *dst, ptrdiff_t dst_stride,
- int width, int height,
- const int16_t *filter_y, int bd) {
+static void highbd_convolve_y_sr_4tap_sve2(const uint16_t *src,
+ ptrdiff_t src_stride, uint16_t *dst,
+ ptrdiff_t dst_stride, int width,
+ int height, const int16_t *filter_y,
+ int bd) {
assert(width >= 4 && height >= 4);
const int16x8_t y_filter =
@@ -1346,12 +1348,10 @@
return vminq_u16(res, max);
}
-void highbd_convolve_2d_sr_vert_8tap_sve2(const uint16_t *src,
- ptrdiff_t src_stride, uint16_t *dst,
- ptrdiff_t dst_stride, int width,
- int height, const int16_t *filter_y,
- ConvolveParams *conv_params, int bd,
- const int y_offset) {
+static void highbd_convolve_2d_sr_vert_8tap_sve2(
+ const uint16_t *src, ptrdiff_t src_stride, uint16_t *dst,
+ ptrdiff_t dst_stride, int width, int height, const int16_t *filter_y,
+ ConvolveParams *conv_params, int bd, const int y_offset) {
assert(width >= 4 && height >= 4);
const int64x2_t offset = vdupq_n_s64(y_offset);
const int32x4_t shift = vdupq_n_s32(-conv_params->round_1);
@@ -1536,12 +1536,10 @@
return vminq_u16(res, max);
}
-void highbd_convolve_2d_sr_vert_4tap_sve2(const uint16_t *src,
- ptrdiff_t src_stride, uint16_t *dst,
- ptrdiff_t dst_stride, int width,
- int height, const int16_t *filter_y,
- ConvolveParams *conv_params, int bd,
- const int y_offset) {
+static void highbd_convolve_2d_sr_vert_4tap_sve2(
+ const uint16_t *src, ptrdiff_t src_stride, uint16_t *dst,
+ ptrdiff_t dst_stride, int width, int height, const int16_t *filter_y,
+ ConvolveParams *conv_params, int bd, const int y_offset) {
assert(width >= 4 && height >= 4);
const int64x2_t offset = vdupq_n_s64(y_offset);
const int32x4_t shift = vdupq_n_s32(-conv_params->round_1);