highbd_*_neon: fix -Wunused-function w/CONFIG_REALTIME_ONLY

Change-Id: Ia8eca3be2d2f8eaa1e7b298a75f8a4d8adabddc0
diff --git a/aom_dsp/arm/highbd_masked_sad_neon.c b/aom_dsp/arm/highbd_masked_sad_neon.c
index 1059ca3..9262d81 100644
--- a/aom_dsp/arm/highbd_masked_sad_neon.c
+++ b/aom_dsp/arm/highbd_masked_sad_neon.c
@@ -176,6 +176,7 @@
   return horizontal_add_u32x4(sad_u32);
 }
 
+#if !CONFIG_REALTIME_ONLY
 static INLINE unsigned int masked_sad_8xh_large_neon(
     const uint8_t *src8, int src_stride, const uint8_t *a8, int a_stride,
     const uint8_t *b8, int b_stride, const uint8_t *m, int m_stride,
@@ -203,6 +204,7 @@
 
   return horizontal_add_u32x4(sad_u32);
 }
+#endif  // !CONFIG_REALTIME_ONLY
 
 static INLINE unsigned int masked_sad_16xh_small_neon(
     const uint8_t *src8, int src_stride, const uint8_t *a8, int a_stride,
diff --git a/aom_dsp/arm/highbd_quantize_neon.c b/aom_dsp/arm/highbd_quantize_neon.c
index 3b3eebf..6149c9f 100644
--- a/aom_dsp/arm/highbd_quantize_neon.c
+++ b/aom_dsp/arm/highbd_quantize_neon.c
@@ -80,6 +80,7 @@
   return vmaxq_s16(v_eobmax, v_nz_iscan);
 }
 
+#if !CONFIG_REALTIME_ONLY
 static INLINE void get_min_max_lane_eob(const int16_t *iscan,
                                         int16x8_t *v_eobmin,
                                         int16x8_t *v_eobmax, uint16x8_t v_mask,
@@ -95,6 +96,7 @@
 #endif
   *v_eobmax = vmaxq_s16(*v_eobmax, v_nz_iscan_max);
 }
+#endif  // !CONFIG_REALTIME_ONLY
 
 static INLINE uint16_t get_max_eob(int16x8_t v_eobmax) {
 #if AOM_ARCH_AARCH64
@@ -114,7 +116,7 @@
 #endif
 }
 
-#if SKIP_EOB_FACTOR_ADJUST
+#if SKIP_EOB_FACTOR_ADJUST && !CONFIG_REALTIME_ONLY
 static INLINE uint16_t get_min_eob(int16x8_t v_eobmin) {
 #if AOM_ARCH_AARCH64
   return (uint16_t)vminvq_s16(v_eobmin);
@@ -132,7 +134,7 @@
   return (uint16_t)vget_lane_s16(v_eobmin_final, 0);
 #endif
 }
-#endif  // SKIP_EOB_FACTOR_ADJUST
+#endif  // SKIP_EOB_FACTOR_ADJUST && !CONFIG_REALTIME_ONLY
 
 static void highbd_quantize_b_neon(
     const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr,
diff --git a/aom_dsp/arm/highbd_sad_neon.c b/aom_dsp/arm/highbd_sad_neon.c
index f3497ff..d51f639 100644
--- a/aom_dsp/arm/highbd_sad_neon.c
+++ b/aom_dsp/arm/highbd_sad_neon.c
@@ -61,6 +61,7 @@
   return horizontal_add_u16x8(sum);
 }
 
+#if !CONFIG_REALTIME_ONLY
 static INLINE uint32_t highbd_sad8xh_large_neon(const uint8_t *src_ptr,
                                                 int src_stride,
                                                 const uint8_t *ref_ptr,
@@ -82,6 +83,7 @@
 
   return horizontal_add_u32x4(sum_u32);
 }
+#endif  // !CONFIG_REALTIME_ONLY
 
 static INLINE uint32_t highbd_sad16xh_large_neon(const uint8_t *src_ptr,
                                                  int src_stride,
diff --git a/aom_dsp/arm/highbd_sadxd_neon.c b/aom_dsp/arm/highbd_sadxd_neon.c
index ce920cb..85ca673 100644
--- a/aom_dsp/arm/highbd_sadxd_neon.c
+++ b/aom_dsp/arm/highbd_sadxd_neon.c
@@ -90,6 +90,7 @@
   *sad_sum = vpadalq_u16(*sad_sum, abs_diff);
 }
 
+#if !CONFIG_REALTIME_ONLY
 static INLINE void highbd_sad8xhx4d_large_neon(const uint8_t *src_ptr,
                                                int src_stride,
                                                const uint8_t *const ref_ptr[4],
@@ -116,6 +117,7 @@
 
   vst1q_u32(res, horizontal_add_4d_u32x4(sum));
 }
+#endif  // !CONFIG_REALTIME_ONLY
 
 static INLINE void highbd_sad16xhx4d_large_neon(const uint8_t *src_ptr,
                                                 int src_stride,
@@ -416,6 +418,7 @@
   res[2] = horizontal_add_u32x4(vpaddlq_u16(sum[2]));
 }
 
+#if !CONFIG_REALTIME_ONLY
 static INLINE void highbd_sad8xhx3d_large_neon(const uint8_t *src_ptr,
                                                int src_stride,
                                                const uint8_t *const ref_ptr[4],
@@ -445,6 +448,7 @@
   res[1] = horizontal_add_u32x4(sum[1]);
   res[2] = horizontal_add_u32x4(sum[2]);
 }
+#endif  // !CONFIG_REALTIME_ONLY
 
 static INLINE void highbd_sad16xhx3d_large_neon(const uint8_t *src_ptr,
                                                 int src_stride,
diff --git a/av1/encoder/arm/neon/highbd_fwd_txfm_neon.c b/av1/encoder/arm/neon/highbd_fwd_txfm_neon.c
index e214050..6fc1cc6 100644
--- a/av1/encoder/arm/neon/highbd_fwd_txfm_neon.c
+++ b/av1/encoder/arm/neon/highbd_fwd_txfm_neon.c
@@ -146,24 +146,27 @@
 
 LOAD_BUFFER_4XH(4, 4)
 LOAD_BUFFER_4XH(4, 8)
-LOAD_BUFFER_4XH(4, 16)
 LOAD_BUFFER_WXH(8, 4)
 LOAD_BUFFER_WXH(8, 8)
 LOAD_BUFFER_WXH(8, 16)
-LOAD_BUFFER_WXH(8, 32)
 LOAD_BUFFER_WXH(16, 4)
 LOAD_BUFFER_WXH(16, 8)
 LOAD_BUFFER_WXH(16, 16)
 LOAD_BUFFER_WXH(16, 32)
-LOAD_BUFFER_WXH(16, 64)
-LOAD_BUFFER_WXH(32, 8)
 LOAD_BUFFER_WXH(32, 16)
 LOAD_BUFFER_WXH(32, 32)
 LOAD_BUFFER_WXH(32, 64)
-LOAD_BUFFER_WXH(64, 16)
 LOAD_BUFFER_WXH(64, 32)
 LOAD_BUFFER_WXH(64, 64)
 
+#if !CONFIG_REALTIME_ONLY
+LOAD_BUFFER_4XH(4, 16)
+LOAD_BUFFER_WXH(8, 32)
+LOAD_BUFFER_WXH(16, 64)
+LOAD_BUFFER_WXH(32, 8)
+LOAD_BUFFER_WXH(64, 16)
+#endif  // !CONFIG_REALTIME_ONLY
+
 #define STORE_BUFFER_WXH(w, h)                                   \
   static INLINE void store_buffer_##w##x##h(const int32x4_t *in, \
                                             int32_t *out) {      \
@@ -177,21 +180,24 @@
 
 STORE_BUFFER_WXH(4, 4)
 STORE_BUFFER_WXH(4, 8)
-STORE_BUFFER_WXH(4, 16)
 STORE_BUFFER_WXH(8, 4)
 STORE_BUFFER_WXH(8, 8)
 STORE_BUFFER_WXH(8, 16)
-STORE_BUFFER_WXH(8, 32)
 STORE_BUFFER_WXH(16, 4)
 STORE_BUFFER_WXH(16, 8)
 STORE_BUFFER_WXH(16, 16)
 STORE_BUFFER_WXH(16, 32)
-STORE_BUFFER_WXH(32, 8)
 STORE_BUFFER_WXH(32, 16)
 STORE_BUFFER_WXH(32, 32)
-STORE_BUFFER_WXH(64, 16)
 STORE_BUFFER_WXH(64, 32)
 
+#if !CONFIG_REALTIME_ONLY
+STORE_BUFFER_WXH(4, 16)
+STORE_BUFFER_WXH(8, 32)
+STORE_BUFFER_WXH(32, 8)
+STORE_BUFFER_WXH(64, 16)
+#endif  // !CONFIG_REALTIME_ONLY
+
 static void fdct4x4_neon(int32x4_t *in, int32x4_t *out, int bit) {
   const int32_t *const cospi = cospi_arr(bit);
   const int32x4_t cospi32 = vdupq_n_s32(cospi[32]);