From fa829e0e5aa3e43d14ecea5f327b6a2e27818cf8 Mon Sep 17 00:00:00 2001 From: Linfeng Zhang Date: Thu, 3 Aug 2017 17:46:21 -0700 Subject: Replace multiplication_and_add() with butterfly() in idct x86 code Change-Id: I266e45a3d75a5357c7d6e6f20ab5c6fdbfe4982e --- vpx_dsp/x86/inv_txfm_ssse3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vpx_dsp/x86/inv_txfm_ssse3.h') diff --git a/vpx_dsp/x86/inv_txfm_ssse3.h b/vpx_dsp/x86/inv_txfm_ssse3.h index 3db712a8d..92d4c4e52 100644 --- a/vpx_dsp/x86/inv_txfm_ssse3.h +++ b/vpx_dsp/x86/inv_txfm_ssse3.h @@ -92,8 +92,8 @@ static INLINE void idct8x8_12_add_kernel_ssse3(__m128i *const io /* io[8] */) { step1[1] = _mm_add_epi16(step2[0], step2[2]); step1[2] = _mm_sub_epi16(step2[0], step2[2]); step1[3] = _mm_sub_epi16(step2[0], step2[3]); - multiplication_and_add(step2[6], step2[5], (int)cospi_16_64, (int)cospi_16_64, - &step1[5], &step1[6]); + butterfly(step2[6], step2[5], (int)cospi_16_64, (int)cospi_16_64, &step1[5], + &step1[6]); // stage 4 io[0] = _mm_add_epi16(step1[0], step2[7]); -- cgit v1.2.3