diff options
author | Jingning Han <jingning@google.com> | 2013-06-21 15:56:24 -0700 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2013-06-25 12:02:26 -0700 |
commit | 0084e61d5f935e763c29a49094377d4ab64577e5 (patch) | |
tree | 44065ee93c4abb121fecccecb0dad8b7b0530238 /test/fdct8x8_test.cc | |
parent | cd6932db770b7fe53f668bed8794e5d548745e38 (diff) | |
download | libvpx-0084e61d5f935e763c29a49094377d4ab64577e5.tar libvpx-0084e61d5f935e763c29a49094377d4ab64577e5.tar.gz libvpx-0084e61d5f935e763c29a49094377d4ab64577e5.tar.bz2 libvpx-0084e61d5f935e763c29a49094377d4ab64577e5.zip |
Tune the rounding operations in 8x8 ADST/DCT sse2
Improve the round-trip precision to meet the unit test setttings.
Change-Id: I303febae56b4b990ea3798b8ebed94c0510ecf79
Diffstat (limited to 'test/fdct8x8_test.cc')
-rw-r--r-- | test/fdct8x8_test.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/fdct8x8_test.cc b/test/fdct8x8_test.cc index 8b9cff552..03301a31b 100644 --- a/test/fdct8x8_test.cc +++ b/test/fdct8x8_test.cc @@ -33,7 +33,13 @@ void idct8x8_add(int16_t *in, int16_t *out, uint8_t *dst, vp9_short_idct8x8_add_c(out, dst, stride >> 1); } void fht8x8(int16_t *in, int16_t *out, uint8_t *dst, int stride, int tx_type) { + // TODO(jingning): need to refactor this to test both _c and _sse2 functions, + // when we have all inverse dct functions done sse2. +#if HAVE_SSE2 + vp9_short_fht8x8_sse2(in, out, stride >> 1, tx_type); +#else vp9_short_fht8x8_c(in, out, stride >> 1, tx_type); +#endif } void iht8x8_add(int16_t *in, int16_t *out, uint8_t *dst, int stride, int tx_type) { |