Commit 7184065f authored by James Zern's avatar James Zern

subtract_test: Use static arrays for test params

fixes compiler warnings in MSVC related to decorated name truncation

Change-Id: I07869a4f46baf3995a56073f0d2d1918540b736b
parent ff766cd2
......@@ -213,40 +213,44 @@ TEST_P(AV1HBDSubtractBlockTest, CheckSpeed) { RunForSpeed(); }
#endif // USE_SPEED_TEST
#if HAVE_SSE2
INSTANTIATE_TEST_CASE_P(
SSE2, AV1HBDSubtractBlockTest,
::testing::Values(make_tuple(4, 4, 12, &aom_highbd_subtract_block_sse2),
make_tuple(4, 4, 12, &aom_highbd_subtract_block_c),
make_tuple(4, 8, 12, &aom_highbd_subtract_block_sse2),
make_tuple(4, 8, 12, &aom_highbd_subtract_block_c),
make_tuple(8, 4, 12, &aom_highbd_subtract_block_sse2),
make_tuple(8, 4, 12, &aom_highbd_subtract_block_c),
make_tuple(8, 8, 12, &aom_highbd_subtract_block_sse2),
make_tuple(8, 8, 12, &aom_highbd_subtract_block_c),
make_tuple(8, 16, 12, &aom_highbd_subtract_block_sse2),
make_tuple(8, 16, 12, &aom_highbd_subtract_block_c),
make_tuple(16, 8, 12, &aom_highbd_subtract_block_sse2),
make_tuple(16, 8, 12, &aom_highbd_subtract_block_c),
make_tuple(16, 16, 12, &aom_highbd_subtract_block_sse2),
make_tuple(16, 16, 12, &aom_highbd_subtract_block_c),
make_tuple(16, 32, 12, &aom_highbd_subtract_block_sse2),
make_tuple(16, 32, 12, &aom_highbd_subtract_block_c),
make_tuple(32, 16, 12, &aom_highbd_subtract_block_sse2),
make_tuple(32, 16, 12, &aom_highbd_subtract_block_c),
make_tuple(32, 32, 12, &aom_highbd_subtract_block_sse2),
make_tuple(32, 32, 12, &aom_highbd_subtract_block_c),
make_tuple(32, 64, 12, &aom_highbd_subtract_block_sse2),
make_tuple(32, 64, 12, &aom_highbd_subtract_block_c),
make_tuple(64, 32, 12, &aom_highbd_subtract_block_sse2),
make_tuple(64, 32, 12, &aom_highbd_subtract_block_c),
make_tuple(64, 64, 12, &aom_highbd_subtract_block_sse2),
make_tuple(64, 64, 12, &aom_highbd_subtract_block_c),
make_tuple(64, 128, 12, &aom_highbd_subtract_block_sse2),
make_tuple(64, 128, 12, &aom_highbd_subtract_block_c),
make_tuple(128, 64, 12, &aom_highbd_subtract_block_sse2),
make_tuple(128, 64, 12, &aom_highbd_subtract_block_c),
make_tuple(128, 128, 12, &aom_highbd_subtract_block_sse2),
make_tuple(128, 128, 12, &aom_highbd_subtract_block_c)));
const Params kAV1HBDSubtractBlock_sse2[] = {
make_tuple(4, 4, 12, &aom_highbd_subtract_block_sse2),
make_tuple(4, 4, 12, &aom_highbd_subtract_block_c),
make_tuple(4, 8, 12, &aom_highbd_subtract_block_sse2),
make_tuple(4, 8, 12, &aom_highbd_subtract_block_c),
make_tuple(8, 4, 12, &aom_highbd_subtract_block_sse2),
make_tuple(8, 4, 12, &aom_highbd_subtract_block_c),
make_tuple(8, 8, 12, &aom_highbd_subtract_block_sse2),
make_tuple(8, 8, 12, &aom_highbd_subtract_block_c),
make_tuple(8, 16, 12, &aom_highbd_subtract_block_sse2),
make_tuple(8, 16, 12, &aom_highbd_subtract_block_c),
make_tuple(16, 8, 12, &aom_highbd_subtract_block_sse2),
make_tuple(16, 8, 12, &aom_highbd_subtract_block_c),
make_tuple(16, 16, 12, &aom_highbd_subtract_block_sse2),
make_tuple(16, 16, 12, &aom_highbd_subtract_block_c),
make_tuple(16, 32, 12, &aom_highbd_subtract_block_sse2),
make_tuple(16, 32, 12, &aom_highbd_subtract_block_c),
make_tuple(32, 16, 12, &aom_highbd_subtract_block_sse2),
make_tuple(32, 16, 12, &aom_highbd_subtract_block_c),
make_tuple(32, 32, 12, &aom_highbd_subtract_block_sse2),
make_tuple(32, 32, 12, &aom_highbd_subtract_block_c),
make_tuple(32, 64, 12, &aom_highbd_subtract_block_sse2),
make_tuple(32, 64, 12, &aom_highbd_subtract_block_c),
make_tuple(64, 32, 12, &aom_highbd_subtract_block_sse2),
make_tuple(64, 32, 12, &aom_highbd_subtract_block_c),
make_tuple(64, 64, 12, &aom_highbd_subtract_block_sse2),
make_tuple(64, 64, 12, &aom_highbd_subtract_block_c),
make_tuple(64, 128, 12, &aom_highbd_subtract_block_sse2),
make_tuple(64, 128, 12, &aom_highbd_subtract_block_c),
make_tuple(128, 64, 12, &aom_highbd_subtract_block_sse2),
make_tuple(128, 64, 12, &aom_highbd_subtract_block_c),
make_tuple(128, 128, 12, &aom_highbd_subtract_block_sse2),
make_tuple(128, 128, 12, &aom_highbd_subtract_block_c)
};
INSTANTIATE_TEST_CASE_P(SSE2, AV1HBDSubtractBlockTest,
::testing::ValuesIn(kAV1HBDSubtractBlock_sse2));
#endif // HAVE_SSE2
#endif // CONFIG_HIGHBITDEPTH
} // namespace
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