Fix idct8x8 SSSE3 SingleExtremeCoeff unit tests
authorYi Luo <luoyi@google.com>
Fri, 17 Feb 2017 18:59:46 +0000 (10:59 -0800)
committerYi Luo <luoyi@google.com>
Fri, 17 Feb 2017 22:05:05 +0000 (14:05 -0800)
commit1f8e8e5bf1eff47c22bcdfac5fe045d1d33ef01b
treeb04d897b8487c42bdb758fe71c1b929177a9c505
parent3e7025022ef7732aa5aa41533715d7a249fd0ab4
Fix idct8x8 SSSE3 SingleExtremeCoeff unit tests

- In SSSE3 optimization, 16-bit addition and subtraction would
  overflow when input coefficient is 16-bit signed extreme values.
- Function-level speed becomes slower (unit ms):
  idct8x8_64: 284 -> 294
  idct8x8_12: 145 -> 158.

BUG=webm:1332

Change-Id: I1e4bf9d30a6d4112b8cac5823729565bf145e40b
test/partial_idct_test.cc
vpx_dsp/x86/inv_txfm_ssse3.c