summaryrefslogtreecommitdiff
path: root/vpx_dsp/arm/idct16x16_add_neon.c
diff options
context:
space:
mode:
authorLinfeng Zhang <linfengz@google.com>2017-02-14 12:44:57 -0800
committerJames Zern <jzern@google.com>2017-02-14 13:08:41 -0800
commit429e6528097850b08b675e1fa8d75eef59a10e32 (patch)
treee4a4719101689b732abe6a9d0b22ce6a86f73f6c /vpx_dsp/arm/idct16x16_add_neon.c
parent4b402746cad6f9dbebbb3c3b79a2da098385d46f (diff)
downloadlibvpx-429e6528097850b08b675e1fa8d75eef59a10e32.tar
libvpx-429e6528097850b08b675e1fa8d75eef59a10e32.tar.gz
libvpx-429e6528097850b08b675e1fa8d75eef59a10e32.tar.bz2
libvpx-429e6528097850b08b675e1fa8d75eef59a10e32.zip
Replace 14 with DCT_CONST_BITS in idct NEON functions' shifts
Change-Id: I2a39a3bb87516b04d273bc1c0f4a634e3fb6f0f6
Diffstat (limited to 'vpx_dsp/arm/idct16x16_add_neon.c')
-rw-r--r--vpx_dsp/arm/idct16x16_add_neon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpx_dsp/arm/idct16x16_add_neon.c b/vpx_dsp/arm/idct16x16_add_neon.c
index 728ebaeef..b2f516f41 100644
--- a/vpx_dsp/arm/idct16x16_add_neon.c
+++ b/vpx_dsp/arm/idct16x16_add_neon.c
@@ -16,8 +16,8 @@
static INLINE void wrap_low_4x2(const int32x4_t *const t32, int16x4_t *const d0,
int16x4_t *const d1) {
- *d0 = vrshrn_n_s32(t32[0], 14);
- *d1 = vrshrn_n_s32(t32[1], 14);
+ *d0 = vrshrn_n_s32(t32[0], DCT_CONST_BITS);
+ *d1 = vrshrn_n_s32(t32[1], DCT_CONST_BITS);
}
static INLINE void idct_cospi_8_24_d_kernel(const int16x4_t s0,