Commit 74d47a81 authored by Jingning Han's avatar Jingning Han Committed by Gerrit Code Review
Browse files

Merge "Re-enable unit test for SSSE3 forward 8x8 2D-DCT"

parents 0c4a4225 0343e30c
...@@ -188,15 +188,15 @@ class FwdTrans8x8TestBase { ...@@ -188,15 +188,15 @@ class FwdTrans8x8TestBase {
for (int i = 0; i < count_test_block; ++i) { for (int i = 0; i < count_test_block; ++i) {
// Initialize a test block with input range [-255, 255]. // Initialize a test block with input range [-255, 255].
for (int j = 0; j < 64; ++j) { for (int j = 0; j < 64; ++j) {
src[j] = rnd.Rand8() % 2 ? 255 : 0;
dst[j] = rnd.Rand8() % 2 ? 255 : 0;
if (i == 0) { if (i == 0) {
src[j] = 255; src[j] = 255;
dst[j] = 0; dst[j] = 0;
} else if (i == 1) { } else if (i == 1) {
src[j] = 0; src[j] = 0;
dst[j] = 255; dst[j] = 255;
} else {
src[j] = rnd.Rand8() % 2 ? 255 : 0;
dst[j] = rnd.Rand8() % 2 ? 255 : 0;
} }
test_input_block[j] = src[j] - dst[j]; test_input_block[j] = src[j] - dst[j];
...@@ -363,7 +363,7 @@ INSTANTIATE_TEST_CASE_P( ...@@ -363,7 +363,7 @@ INSTANTIATE_TEST_CASE_P(
#if HAVE_SSSE3 && ARCH_X86_64 #if HAVE_SSSE3 && ARCH_X86_64
INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_CASE_P(
DISABLED_SSSE3, FwdTrans8x8DCT, SSSE3, FwdTrans8x8DCT,
::testing::Values( ::testing::Values(
make_tuple(&vp9_fdct8x8_ssse3, &vp9_idct8x8_64_add_ssse3, 0))); make_tuple(&vp9_fdct8x8_ssse3, &vp9_idct8x8_64_add_ssse3, 0)));
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment