Turn on unit tests for SSSE3 8x8 forward and inverse 2D-DCT
authorJingning Han <jingning@google.com>
Thu, 8 May 2014 16:56:38 +0000 (09:56 -0700)
committerJingning Han <jingning@google.com>
Thu, 8 May 2014 17:53:27 +0000 (10:53 -0700)
Change-Id: I3edd4b956a1273d65547771bf43c5cdaea25e5d6

test/fdct8x8_test.cc
test/partial_idct_test.cc

index 6f2d7d1c9dbb66ec32db91f9b80aa24dffa76cf9..e6e270914e2c6005afb07dc6678673a35dae38b4 100644 (file)
@@ -340,4 +340,11 @@ INSTANTIATE_TEST_CASE_P(
         make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 2),
         make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 3)));
 #endif
+
+#if HAVE_SSSE3 && ARCH_X86_64
+INSTANTIATE_TEST_CASE_P(
+    SSSE3, FwdTrans8x8DCT,
+    ::testing::Values(
+        make_tuple(&vp9_fdct8x8_ssse3, &vp9_idct8x8_64_add_ssse3, 0)));
+#endif
 }  // namespace
index e95fc6790ee798509732d411b95cdd511099ccb0..5c33c017d70c0c86f6b2e44aededb698789b9fc3 100644 (file)
@@ -190,4 +190,13 @@ INSTANTIATE_TEST_CASE_P(
                    &vp9_idct4x4_1_add_sse2,
                    TX_4X4, 1)));
 #endif
+
+#if HAVE_SSSE3 && ARCH_X86_64
+INSTANTIATE_TEST_CASE_P(
+    SSSE3, PartialIDctTest,
+    ::testing::Values(
+        make_tuple(&vp9_idct8x8_64_add_c,
+                   &vp9_idct8x8_12_add_ssse3,
+                   TX_8X8, 12)));
+#endif
 }  // namespace