Commit 367da993 authored by Yaowu Xu's avatar Yaowu Xu

Change the initializaton of test parameters

BUG=aomedia:533

Change-Id: Iffd43f859f958ce2ccae80e3616c368ffebfc8db
parent 4d26acb4
...@@ -196,16 +196,18 @@ TEST_P(AV1QuantizeTest, EobVerify) { RunEobTest(); } ...@@ -196,16 +196,18 @@ TEST_P(AV1QuantizeTest, EobVerify) { RunEobTest(); }
#if HAVE_SSE4_1 #if HAVE_SSE4_1
#if !CONFIG_AOM_QM #if !CONFIG_AOM_QM
INSTANTIATE_TEST_CASE_P( const QuantizeFuncParams qfps[4] = {
SSE4_1, AV1QuantizeTest, QuantizeFuncParams(av1_highbd_quantize_fp_sse4_1, &av1_highbd_quantize_fp_c,
::testing::Values(QuantizeFuncParams(&av1_highbd_quantize_fp_sse4_1, 16),
&av1_highbd_quantize_fp_c, 16), QuantizeFuncParams(&av1_highbd_quantize_fp_sse4_1, &av1_highbd_quantize_fp_c,
QuantizeFuncParams(&av1_highbd_quantize_fp_sse4_1, 64),
&av1_highbd_quantize_fp_c, 64), QuantizeFuncParams(&av1_highbd_quantize_fp_sse4_1, &av1_highbd_quantize_fp_c,
QuantizeFuncParams(&av1_highbd_quantize_fp_sse4_1, 256),
&av1_highbd_quantize_fp_c, 256), QuantizeFuncParams(&av1_highbd_quantize_fp_sse4_1, &av1_highbd_quantize_fp_c,
QuantizeFuncParams(&av1_highbd_quantize_fp_sse4_1, 1024),
&av1_highbd_quantize_fp_c, 1024))); };
INSTANTIATE_TEST_CASE_P(SSE4_1, AV1QuantizeTest, ::testing::ValuesIn(qfps));
#endif // !CONFIG_AOM_QM #endif // !CONFIG_AOM_QM
#endif // HAVE_SSE4_1 #endif // HAVE_SSE4_1
} // namespace } // 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