]> granicus.if.org Git - libvpx/commitdiff
vp9_highbd_iht8x8_add_neon: rm unused functions
authorJames Zern <jzern@google.com>
Mon, 19 Mar 2018 01:24:41 +0000 (18:24 -0700)
committerJames Zern <jzern@google.com>
Mon, 19 Mar 2018 01:24:41 +0000 (18:24 -0700)
their use was removed in:
d8424d289 Fix a bug in vp9_highbd_iht8x8_64_add_neon

Change-Id: I041800f3fb34ffbb7cfa7401370c5a5ceeab01c6

vp9/common/arm/neon/vp9_highbd_iht8x8_add_neon.c

index 9b74d270caad0de999dd9b786153c3c2564eea80..a74cd80de51e01d5296d2bb4b2250b160a11c34c 100644 (file)
 #include "vpx_dsp/arm/transpose_neon.h"
 #include "vpx_dsp/inv_txfm.h"
 
-static INLINE void iadst_half_butterfly_bd10_neon(int32x4_t *const x,
-                                                  const int32x2_t c) {
-  const int32x4_t sum = vaddq_s32(x[0], x[1]);
-  const int32x4_t sub = vsubq_s32(x[0], x[1]);
-
-  x[0] = vmulq_lane_s32(sum, c, 0);
-  x[1] = vmulq_lane_s32(sub, c, 0);
-  x[0] = vrshrq_n_s32(x[0], DCT_CONST_BITS);
-  x[1] = vrshrq_n_s32(x[1], DCT_CONST_BITS);
-}
-
 static INLINE void iadst_half_butterfly_bd12_neon(int32x4_t *const x,
                                                   const int32x2_t c) {
   const int32x4_t sum = vaddq_s32(x[0], x[1]);
@@ -46,30 +35,6 @@ static INLINE void iadst_half_butterfly_bd12_neon(int32x4_t *const x,
   x[1] = vcombine_s32(out1_lo, out1_hi);
 }
 
-static INLINE void iadst_butterfly_lane_0_1_bd10_neon(const int32x4_t in0,
-                                                      const int32x4_t in1,
-                                                      const int32x2_t c,
-                                                      int32x4_t *const s0,
-                                                      int32x4_t *const s1) {
-  const int32x4_t t0 = vmulq_lane_s32(in0, c, 0);
-  const int32x4_t t1 = vmulq_lane_s32(in0, c, 1);
-
-  *s0 = vmlaq_lane_s32(t0, in1, c, 1);
-  *s1 = vmlsq_lane_s32(t1, in1, c, 0);
-}
-
-static INLINE void iadst_butterfly_lane_1_0_bd10_neon(const int32x4_t in0,
-                                                      const int32x4_t in1,
-                                                      const int32x2_t c,
-                                                      int32x4_t *const s0,
-                                                      int32x4_t *const s1) {
-  const int32x4_t t0 = vmulq_lane_s32(in0, c, 1);
-  const int32x4_t t1 = vmulq_lane_s32(in0, c, 0);
-
-  *s0 = vmlaq_lane_s32(t0, in1, c, 0);
-  *s1 = vmlsq_lane_s32(t1, in1, c, 1);
-}
-
 static INLINE void iadst_butterfly_lane_0_1_bd12_neon(const int32x4_t in0,
                                                       const int32x4_t in1,
                                                       const int32x2_t c,
@@ -102,18 +67,6 @@ static INLINE void iadst_butterfly_lane_1_0_bd12_neon(const int32x4_t in0,
   s1[1] = vmlsl_lane_s32(t1_hi, vget_high_s32(in1), c, 1);
 }
 
-static INLINE int32x4_t
-add_dct_const_round_shift_low_8_bd10(const int32x4_t in0, const int32x4_t in1) {
-  const int32x4_t sum = vaddq_s32(in0, in1);
-  return vrshrq_n_s32(sum, DCT_CONST_BITS);
-}
-
-static INLINE int32x4_t
-sub_dct_const_round_shift_low_8_bd10(const int32x4_t in0, const int32x4_t in1) {
-  const int32x4_t sub = vsubq_s32(in0, in1);
-  return vrshrq_n_s32(sub, DCT_CONST_BITS);
-}
-
 static INLINE int32x4_t add_dct_const_round_shift_low_8_bd12(
     const int64x2_t *const in0, const int64x2_t *const in1) {
   const int64x2_t sum_lo = vaddq_s64(in0[0], in1[0]);