Commit 28c779be authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Change to use static arrays

Fixes build of tests in msvc

Change-Id: Iede251b2224945940be9de701d2c99d838e1ca43
parent aadbb025
......@@ -160,64 +160,56 @@ TEST_P(HighbdMaskedSADTest, OperationCheck) {
using std::tr1::make_tuple;
#if HAVE_SSSE3
INSTANTIATE_TEST_CASE_P(
SSSE3_C_COMPARE, MaskedSADTest,
::testing::Values(
const MaskedSADParam msad_test[] = {
#if CONFIG_EXT_PARTITION
make_tuple(&aom_masked_sad128x128_ssse3, &aom_masked_sad128x128_c),
make_tuple(&aom_masked_sad128x64_ssse3, &aom_masked_sad128x64_c),
make_tuple(&aom_masked_sad64x128_ssse3, &aom_masked_sad64x128_c),
make_tuple(&aom_masked_sad128x128_ssse3, &aom_masked_sad128x128_c),
make_tuple(&aom_masked_sad128x64_ssse3, &aom_masked_sad128x64_c),
make_tuple(&aom_masked_sad64x128_ssse3, &aom_masked_sad64x128_c),
#endif // CONFIG_EXT_PARTITION
make_tuple(&aom_masked_sad64x64_ssse3, &aom_masked_sad64x64_c),
make_tuple(&aom_masked_sad64x32_ssse3, &aom_masked_sad64x32_c),
make_tuple(&aom_masked_sad32x64_ssse3, &aom_masked_sad32x64_c),
make_tuple(&aom_masked_sad32x32_ssse3, &aom_masked_sad32x32_c),
make_tuple(&aom_masked_sad32x16_ssse3, &aom_masked_sad32x16_c),
make_tuple(&aom_masked_sad16x32_ssse3, &aom_masked_sad16x32_c),
make_tuple(&aom_masked_sad16x16_ssse3, &aom_masked_sad16x16_c),
make_tuple(&aom_masked_sad16x8_ssse3, &aom_masked_sad16x8_c),
make_tuple(&aom_masked_sad8x16_ssse3, &aom_masked_sad8x16_c),
make_tuple(&aom_masked_sad8x8_ssse3, &aom_masked_sad8x8_c),
make_tuple(&aom_masked_sad8x4_ssse3, &aom_masked_sad8x4_c),
make_tuple(&aom_masked_sad4x8_ssse3, &aom_masked_sad4x8_c),
make_tuple(&aom_masked_sad4x4_ssse3, &aom_masked_sad4x4_c)));
make_tuple(&aom_masked_sad64x64_ssse3, &aom_masked_sad64x64_c),
make_tuple(&aom_masked_sad64x32_ssse3, &aom_masked_sad64x32_c),
make_tuple(&aom_masked_sad32x64_ssse3, &aom_masked_sad32x64_c),
make_tuple(&aom_masked_sad32x32_ssse3, &aom_masked_sad32x32_c),
make_tuple(&aom_masked_sad32x16_ssse3, &aom_masked_sad32x16_c),
make_tuple(&aom_masked_sad16x32_ssse3, &aom_masked_sad16x32_c),
make_tuple(&aom_masked_sad16x16_ssse3, &aom_masked_sad16x16_c),
make_tuple(&aom_masked_sad16x8_ssse3, &aom_masked_sad16x8_c),
make_tuple(&aom_masked_sad8x16_ssse3, &aom_masked_sad8x16_c),
make_tuple(&aom_masked_sad8x8_ssse3, &aom_masked_sad8x8_c),
make_tuple(&aom_masked_sad8x4_ssse3, &aom_masked_sad8x4_c),
make_tuple(&aom_masked_sad4x8_ssse3, &aom_masked_sad4x8_c),
make_tuple(&aom_masked_sad4x4_ssse3, &aom_masked_sad4x4_c)
};
INSTANTIATE_TEST_CASE_P(SSSE3_C_COMPARE, MaskedSADTest,
::testing::ValuesIn(msad_test));
#if CONFIG_HIGHBITDEPTH
INSTANTIATE_TEST_CASE_P(SSSE3_C_COMPARE, HighbdMaskedSADTest,
::testing::Values(
const HighbdMaskedSADParam hbd_msad_test[] = {
#if CONFIG_EXT_PARTITION
make_tuple(&aom_highbd_masked_sad128x128_ssse3,
&aom_highbd_masked_sad128x128_c),
make_tuple(&aom_highbd_masked_sad128x64_ssse3,
&aom_highbd_masked_sad128x64_c),
make_tuple(&aom_highbd_masked_sad64x128_ssse3,
&aom_highbd_masked_sad64x128_c),
make_tuple(&aom_highbd_masked_sad128x128_ssse3,
&aom_highbd_masked_sad128x128_c),
make_tuple(&aom_highbd_masked_sad128x64_ssse3,
&aom_highbd_masked_sad128x64_c),
make_tuple(&aom_highbd_masked_sad64x128_ssse3,
&aom_highbd_masked_sad64x128_c),
#endif // CONFIG_EXT_PARTITION
make_tuple(&aom_highbd_masked_sad64x64_ssse3,
&aom_highbd_masked_sad64x64_c),
make_tuple(&aom_highbd_masked_sad64x32_ssse3,
&aom_highbd_masked_sad64x32_c),
make_tuple(&aom_highbd_masked_sad32x64_ssse3,
&aom_highbd_masked_sad32x64_c),
make_tuple(&aom_highbd_masked_sad32x32_ssse3,
&aom_highbd_masked_sad32x32_c),
make_tuple(&aom_highbd_masked_sad32x16_ssse3,
&aom_highbd_masked_sad32x16_c),
make_tuple(&aom_highbd_masked_sad16x32_ssse3,
&aom_highbd_masked_sad16x32_c),
make_tuple(&aom_highbd_masked_sad16x16_ssse3,
&aom_highbd_masked_sad16x16_c),
make_tuple(&aom_highbd_masked_sad16x8_ssse3,
&aom_highbd_masked_sad16x8_c),
make_tuple(&aom_highbd_masked_sad8x16_ssse3,
&aom_highbd_masked_sad8x16_c),
make_tuple(&aom_highbd_masked_sad8x8_ssse3,
&aom_highbd_masked_sad8x8_c),
make_tuple(&aom_highbd_masked_sad8x4_ssse3,
&aom_highbd_masked_sad8x4_c),
make_tuple(&aom_highbd_masked_sad4x8_ssse3,
&aom_highbd_masked_sad4x8_c),
make_tuple(&aom_highbd_masked_sad4x4_ssse3,
&aom_highbd_masked_sad4x4_c)));
make_tuple(&aom_highbd_masked_sad64x64_ssse3, &aom_highbd_masked_sad64x64_c),
make_tuple(&aom_highbd_masked_sad64x32_ssse3, &aom_highbd_masked_sad64x32_c),
make_tuple(&aom_highbd_masked_sad32x64_ssse3, &aom_highbd_masked_sad32x64_c),
make_tuple(&aom_highbd_masked_sad32x32_ssse3, &aom_highbd_masked_sad32x32_c),
make_tuple(&aom_highbd_masked_sad32x16_ssse3, &aom_highbd_masked_sad32x16_c),
make_tuple(&aom_highbd_masked_sad16x32_ssse3, &aom_highbd_masked_sad16x32_c),
make_tuple(&aom_highbd_masked_sad16x16_ssse3, &aom_highbd_masked_sad16x16_c),
make_tuple(&aom_highbd_masked_sad16x8_ssse3, &aom_highbd_masked_sad16x8_c),
make_tuple(&aom_highbd_masked_sad8x16_ssse3, &aom_highbd_masked_sad8x16_c),
make_tuple(&aom_highbd_masked_sad8x8_ssse3, &aom_highbd_masked_sad8x8_c),
make_tuple(&aom_highbd_masked_sad8x4_ssse3, &aom_highbd_masked_sad8x4_c),
make_tuple(&aom_highbd_masked_sad4x8_ssse3, &aom_highbd_masked_sad4x8_c),
make_tuple(&aom_highbd_masked_sad4x4_ssse3, &aom_highbd_masked_sad4x4_c)
};
INSTANTIATE_TEST_CASE_P(SSSE3_C_COMPARE, HighbdMaskedSADTest,
::testing::ValuesIn(hbd_msad_test));
#endif // CONFIG_HIGHBITDEPTH
#endif // HAVE_SSSE3
} // namespace
......@@ -334,172 +334,155 @@ TEST_P(HighbdMaskedSubPixelVarianceTest, ExtremeValues) {
using std::tr1::make_tuple;
#if HAVE_SSSE3
INSTANTIATE_TEST_CASE_P(
SSSE3_C_COMPARE, MaskedSubPixelVarianceTest,
::testing::Values(
const MaskedSubPixelVarianceParam sub_pel_var_test[] = {
#if CONFIG_EXT_PARTITION
make_tuple(&aom_masked_sub_pixel_variance128x128_ssse3,
&aom_masked_sub_pixel_variance128x128_c),
make_tuple(&aom_masked_sub_pixel_variance128x64_ssse3,
&aom_masked_sub_pixel_variance128x64_c),
make_tuple(&aom_masked_sub_pixel_variance64x128_ssse3,
&aom_masked_sub_pixel_variance64x128_c),
make_tuple(&aom_masked_sub_pixel_variance128x128_ssse3,
&aom_masked_sub_pixel_variance128x128_c),
make_tuple(&aom_masked_sub_pixel_variance128x64_ssse3,
&aom_masked_sub_pixel_variance128x64_c),
make_tuple(&aom_masked_sub_pixel_variance64x128_ssse3,
&aom_masked_sub_pixel_variance64x128_c),
#endif // CONFIG_EXT_PARTITION
make_tuple(&aom_masked_sub_pixel_variance64x64_ssse3,
&aom_masked_sub_pixel_variance64x64_c),
make_tuple(&aom_masked_sub_pixel_variance64x32_ssse3,
&aom_masked_sub_pixel_variance64x32_c),
make_tuple(&aom_masked_sub_pixel_variance32x64_ssse3,
&aom_masked_sub_pixel_variance32x64_c),
make_tuple(&aom_masked_sub_pixel_variance32x32_ssse3,
&aom_masked_sub_pixel_variance32x32_c),
make_tuple(&aom_masked_sub_pixel_variance32x16_ssse3,
&aom_masked_sub_pixel_variance32x16_c),
make_tuple(&aom_masked_sub_pixel_variance16x32_ssse3,
&aom_masked_sub_pixel_variance16x32_c),
make_tuple(&aom_masked_sub_pixel_variance16x16_ssse3,
&aom_masked_sub_pixel_variance16x16_c),
make_tuple(&aom_masked_sub_pixel_variance16x8_ssse3,
&aom_masked_sub_pixel_variance16x8_c),
make_tuple(&aom_masked_sub_pixel_variance8x16_ssse3,
&aom_masked_sub_pixel_variance8x16_c),
make_tuple(&aom_masked_sub_pixel_variance8x8_ssse3,
&aom_masked_sub_pixel_variance8x8_c),
make_tuple(&aom_masked_sub_pixel_variance8x4_ssse3,
&aom_masked_sub_pixel_variance8x4_c),
make_tuple(&aom_masked_sub_pixel_variance4x8_ssse3,
&aom_masked_sub_pixel_variance4x8_c),
make_tuple(&aom_masked_sub_pixel_variance4x4_ssse3,
&aom_masked_sub_pixel_variance4x4_c)));
make_tuple(&aom_masked_sub_pixel_variance64x64_ssse3,
&aom_masked_sub_pixel_variance64x64_c),
make_tuple(&aom_masked_sub_pixel_variance64x32_ssse3,
&aom_masked_sub_pixel_variance64x32_c),
make_tuple(&aom_masked_sub_pixel_variance32x64_ssse3,
&aom_masked_sub_pixel_variance32x64_c),
make_tuple(&aom_masked_sub_pixel_variance32x32_ssse3,
&aom_masked_sub_pixel_variance32x32_c),
make_tuple(&aom_masked_sub_pixel_variance32x16_ssse3,
&aom_masked_sub_pixel_variance32x16_c),
make_tuple(&aom_masked_sub_pixel_variance16x32_ssse3,
&aom_masked_sub_pixel_variance16x32_c),
make_tuple(&aom_masked_sub_pixel_variance16x16_ssse3,
&aom_masked_sub_pixel_variance16x16_c),
make_tuple(&aom_masked_sub_pixel_variance16x8_ssse3,
&aom_masked_sub_pixel_variance16x8_c),
make_tuple(&aom_masked_sub_pixel_variance8x16_ssse3,
&aom_masked_sub_pixel_variance8x16_c),
make_tuple(&aom_masked_sub_pixel_variance8x8_ssse3,
&aom_masked_sub_pixel_variance8x8_c),
make_tuple(&aom_masked_sub_pixel_variance8x4_ssse3,
&aom_masked_sub_pixel_variance8x4_c),
make_tuple(&aom_masked_sub_pixel_variance4x8_ssse3,
&aom_masked_sub_pixel_variance4x8_c),
make_tuple(&aom_masked_sub_pixel_variance4x4_ssse3,
&aom_masked_sub_pixel_variance4x4_c)
};
INSTANTIATE_TEST_CASE_P(SSSE3_C_COMPARE, MaskedSubPixelVarianceTest,
::testing::ValuesIn(sub_pel_var_test));
#if CONFIG_HIGHBITDEPTH
INSTANTIATE_TEST_CASE_P(
SSSE3_C_COMPARE, HighbdMaskedSubPixelVarianceTest,
::testing::Values(
const HighbdMaskedSubPixelVarianceParam hbd_sub_pel_var_test[] = {
#if CONFIG_EXT_PARTITION
make_tuple(&aom_highbd_8_masked_sub_pixel_variance128x128_ssse3,
&aom_highbd_8_masked_sub_pixel_variance128x128_c,
AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance128x64_ssse3,
&aom_highbd_8_masked_sub_pixel_variance128x64_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance64x128_ssse3,
&aom_highbd_8_masked_sub_pixel_variance64x128_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance128x128_ssse3,
&aom_highbd_8_masked_sub_pixel_variance128x128_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance128x64_ssse3,
&aom_highbd_8_masked_sub_pixel_variance128x64_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance64x128_ssse3,
&aom_highbd_8_masked_sub_pixel_variance64x128_c, AOM_BITS_8),
#endif // CONFIG_EXT_PARTITION
make_tuple(&aom_highbd_8_masked_sub_pixel_variance64x64_ssse3,
&aom_highbd_8_masked_sub_pixel_variance64x64_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance64x32_ssse3,
&aom_highbd_8_masked_sub_pixel_variance64x32_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance32x64_ssse3,
&aom_highbd_8_masked_sub_pixel_variance32x64_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance32x32_ssse3,
&aom_highbd_8_masked_sub_pixel_variance32x32_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance32x16_ssse3,
&aom_highbd_8_masked_sub_pixel_variance32x16_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance16x32_ssse3,
&aom_highbd_8_masked_sub_pixel_variance16x32_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance16x16_ssse3,
&aom_highbd_8_masked_sub_pixel_variance16x16_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance16x8_ssse3,
&aom_highbd_8_masked_sub_pixel_variance16x8_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance8x16_ssse3,
&aom_highbd_8_masked_sub_pixel_variance8x16_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance8x8_ssse3,
&aom_highbd_8_masked_sub_pixel_variance8x8_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance8x4_ssse3,
&aom_highbd_8_masked_sub_pixel_variance8x4_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance4x8_ssse3,
&aom_highbd_8_masked_sub_pixel_variance4x8_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance4x4_ssse3,
&aom_highbd_8_masked_sub_pixel_variance4x4_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance64x64_ssse3,
&aom_highbd_8_masked_sub_pixel_variance64x64_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance64x32_ssse3,
&aom_highbd_8_masked_sub_pixel_variance64x32_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance32x64_ssse3,
&aom_highbd_8_masked_sub_pixel_variance32x64_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance32x32_ssse3,
&aom_highbd_8_masked_sub_pixel_variance32x32_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance32x16_ssse3,
&aom_highbd_8_masked_sub_pixel_variance32x16_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance16x32_ssse3,
&aom_highbd_8_masked_sub_pixel_variance16x32_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance16x16_ssse3,
&aom_highbd_8_masked_sub_pixel_variance16x16_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance16x8_ssse3,
&aom_highbd_8_masked_sub_pixel_variance16x8_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance8x16_ssse3,
&aom_highbd_8_masked_sub_pixel_variance8x16_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance8x8_ssse3,
&aom_highbd_8_masked_sub_pixel_variance8x8_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance8x4_ssse3,
&aom_highbd_8_masked_sub_pixel_variance8x4_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance4x8_ssse3,
&aom_highbd_8_masked_sub_pixel_variance4x8_c, AOM_BITS_8),
make_tuple(&aom_highbd_8_masked_sub_pixel_variance4x4_ssse3,
&aom_highbd_8_masked_sub_pixel_variance4x4_c, AOM_BITS_8),
#if CONFIG_EXT_PARTITION
make_tuple(&aom_highbd_10_masked_sub_pixel_variance128x128_ssse3,
&aom_highbd_10_masked_sub_pixel_variance128x128_c,
AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance128x64_ssse3,
&aom_highbd_10_masked_sub_pixel_variance128x64_c,
AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance64x128_ssse3,
&aom_highbd_10_masked_sub_pixel_variance64x128_c,
AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance128x128_ssse3,
&aom_highbd_10_masked_sub_pixel_variance128x128_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance128x64_ssse3,
&aom_highbd_10_masked_sub_pixel_variance128x64_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance64x128_ssse3,
&aom_highbd_10_masked_sub_pixel_variance64x128_c, AOM_BITS_10),
#endif // CONFIG_EXT_PARTITION
make_tuple(&aom_highbd_10_masked_sub_pixel_variance64x64_ssse3,
&aom_highbd_10_masked_sub_pixel_variance64x64_c,
AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance64x32_ssse3,
&aom_highbd_10_masked_sub_pixel_variance64x32_c,
AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance32x64_ssse3,
&aom_highbd_10_masked_sub_pixel_variance32x64_c,
AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance32x32_ssse3,
&aom_highbd_10_masked_sub_pixel_variance32x32_c,
AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance32x16_ssse3,
&aom_highbd_10_masked_sub_pixel_variance32x16_c,
AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance16x32_ssse3,
&aom_highbd_10_masked_sub_pixel_variance16x32_c,
AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance16x16_ssse3,
&aom_highbd_10_masked_sub_pixel_variance16x16_c,
AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance16x8_ssse3,
&aom_highbd_10_masked_sub_pixel_variance16x8_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance8x16_ssse3,
&aom_highbd_10_masked_sub_pixel_variance8x16_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance8x8_ssse3,
&aom_highbd_10_masked_sub_pixel_variance8x8_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance8x4_ssse3,
&aom_highbd_10_masked_sub_pixel_variance8x4_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance4x8_ssse3,
&aom_highbd_10_masked_sub_pixel_variance4x8_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance4x4_ssse3,
&aom_highbd_10_masked_sub_pixel_variance4x4_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance64x64_ssse3,
&aom_highbd_10_masked_sub_pixel_variance64x64_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance64x32_ssse3,
&aom_highbd_10_masked_sub_pixel_variance64x32_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance32x64_ssse3,
&aom_highbd_10_masked_sub_pixel_variance32x64_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance32x32_ssse3,
&aom_highbd_10_masked_sub_pixel_variance32x32_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance32x16_ssse3,
&aom_highbd_10_masked_sub_pixel_variance32x16_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance16x32_ssse3,
&aom_highbd_10_masked_sub_pixel_variance16x32_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance16x16_ssse3,
&aom_highbd_10_masked_sub_pixel_variance16x16_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance16x8_ssse3,
&aom_highbd_10_masked_sub_pixel_variance16x8_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance8x16_ssse3,
&aom_highbd_10_masked_sub_pixel_variance8x16_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance8x8_ssse3,
&aom_highbd_10_masked_sub_pixel_variance8x8_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance8x4_ssse3,
&aom_highbd_10_masked_sub_pixel_variance8x4_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance4x8_ssse3,
&aom_highbd_10_masked_sub_pixel_variance4x8_c, AOM_BITS_10),
make_tuple(&aom_highbd_10_masked_sub_pixel_variance4x4_ssse3,
&aom_highbd_10_masked_sub_pixel_variance4x4_c, AOM_BITS_10),
#if CONFIG_EXT_PARTITION
make_tuple(&aom_highbd_12_masked_sub_pixel_variance128x128_ssse3,
&aom_highbd_12_masked_sub_pixel_variance128x128_c,
AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance128x64_ssse3,
&aom_highbd_12_masked_sub_pixel_variance128x64_c,
AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance64x128_ssse3,
&aom_highbd_12_masked_sub_pixel_variance64x128_c,
AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance128x128_ssse3,
&aom_highbd_12_masked_sub_pixel_variance128x128_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance128x64_ssse3,
&aom_highbd_12_masked_sub_pixel_variance128x64_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance64x128_ssse3,
&aom_highbd_12_masked_sub_pixel_variance64x128_c, AOM_BITS_12),
#endif // CONFIG_EXT_PARTITION
make_tuple(&aom_highbd_12_masked_sub_pixel_variance64x64_ssse3,
&aom_highbd_12_masked_sub_pixel_variance64x64_c,
AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance64x32_ssse3,
&aom_highbd_12_masked_sub_pixel_variance64x32_c,
AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance32x64_ssse3,
&aom_highbd_12_masked_sub_pixel_variance32x64_c,
AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance32x32_ssse3,
&aom_highbd_12_masked_sub_pixel_variance32x32_c,
AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance32x16_ssse3,
&aom_highbd_12_masked_sub_pixel_variance32x16_c,
AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance16x32_ssse3,
&aom_highbd_12_masked_sub_pixel_variance16x32_c,
AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance16x16_ssse3,
&aom_highbd_12_masked_sub_pixel_variance16x16_c,
AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance16x8_ssse3,
&aom_highbd_12_masked_sub_pixel_variance16x8_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance8x16_ssse3,
&aom_highbd_12_masked_sub_pixel_variance8x16_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance8x8_ssse3,
&aom_highbd_12_masked_sub_pixel_variance8x8_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance8x4_ssse3,
&aom_highbd_12_masked_sub_pixel_variance8x4_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance4x8_ssse3,
&aom_highbd_12_masked_sub_pixel_variance4x8_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance4x4_ssse3,
&aom_highbd_12_masked_sub_pixel_variance4x4_c,
AOM_BITS_12)));
make_tuple(&aom_highbd_12_masked_sub_pixel_variance64x64_ssse3,
&aom_highbd_12_masked_sub_pixel_variance64x64_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance64x32_ssse3,
&aom_highbd_12_masked_sub_pixel_variance64x32_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance32x64_ssse3,
&aom_highbd_12_masked_sub_pixel_variance32x64_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance32x32_ssse3,
&aom_highbd_12_masked_sub_pixel_variance32x32_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance32x16_ssse3,
&aom_highbd_12_masked_sub_pixel_variance32x16_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance16x32_ssse3,
&aom_highbd_12_masked_sub_pixel_variance16x32_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance16x16_ssse3,
&aom_highbd_12_masked_sub_pixel_variance16x16_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance16x8_ssse3,
&aom_highbd_12_masked_sub_pixel_variance16x8_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance8x16_ssse3,
&aom_highbd_12_masked_sub_pixel_variance8x16_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance8x8_ssse3,
&aom_highbd_12_masked_sub_pixel_variance8x8_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance8x4_ssse3,
&aom_highbd_12_masked_sub_pixel_variance8x4_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance4x8_ssse3,
&aom_highbd_12_masked_sub_pixel_variance4x8_c, AOM_BITS_12),
make_tuple(&aom_highbd_12_masked_sub_pixel_variance4x4_ssse3,
&aom_highbd_12_masked_sub_pixel_variance4x4_c, AOM_BITS_12)
};
INSTANTIATE_TEST_CASE_P(SSSE3_C_COMPARE, HighbdMaskedSubPixelVarianceTest,
::testing::ValuesIn(hbd_sub_pel_var_test));
#endif // CONFIG_HIGHBITDEPTH
#endif // HAVE_SSSE3
......
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