diff options
author | Linfeng Zhang <linfengz@google.com> | 2017-08-03 17:46:21 -0700 |
---|---|---|
committer | Linfeng Zhang <linfengz@google.com> | 2017-08-04 15:33:34 -0700 |
commit | fa829e0e5aa3e43d14ecea5f327b6a2e27818cf8 (patch) | |
tree | 27d21cfb24682348328d02c4ae8af6053e157cad /vpx_dsp/x86/inv_txfm_ssse3.h | |
parent | c9fb719ee15b3c591bdf67618d41779dc0731da3 (diff) | |
download | libvpx-fa829e0e5aa3e43d14ecea5f327b6a2e27818cf8.tar libvpx-fa829e0e5aa3e43d14ecea5f327b6a2e27818cf8.tar.gz libvpx-fa829e0e5aa3e43d14ecea5f327b6a2e27818cf8.tar.bz2 libvpx-fa829e0e5aa3e43d14ecea5f327b6a2e27818cf8.zip |
Replace multiplication_and_add() with butterfly() in idct x86 code
Change-Id: I266e45a3d75a5357c7d6e6f20ab5c6fdbfe4982e
Diffstat (limited to 'vpx_dsp/x86/inv_txfm_ssse3.h')
-rw-r--r-- | vpx_dsp/x86/inv_txfm_ssse3.h | 4 |
1 files changed, 2 insertions, 2 deletions
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]); |