Bug 1797755 - Part 5: Use a single initial mark stack size regardless of whether...
[gecko.git] / third_party / aom / test / warp_filter_test.cc
blob19a4e8b6a1681a5ff4d6137af1bf36bf56f1ff7c
1 /*
2 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
4 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
11 #include "third_party/googletest/src/googletest/include/gtest/gtest.h"
12 #include "test/warp_filter_test_util.h"
13 using ::testing::make_tuple;
14 using ::testing::tuple;
15 using libaom_test::ACMRandom;
16 using libaom_test::AV1HighbdWarpFilter::AV1HighbdWarpFilterTest;
17 using libaom_test::AV1WarpFilter::AV1WarpFilterTest;
19 namespace {
21 TEST_P(AV1WarpFilterTest, CheckOutput) {
22 RunCheckOutput(::testing::get<3>(GET_PARAM(0)));
24 TEST_P(AV1WarpFilterTest, DISABLED_Speed) {
25 RunSpeedTest(::testing::get<3>(GET_PARAM(0)));
28 INSTANTIATE_TEST_CASE_P(
29 C, AV1WarpFilterTest,
30 libaom_test::AV1WarpFilter::BuildParams(av1_warp_affine_c));
32 #if HAVE_SSE4_1
33 INSTANTIATE_TEST_CASE_P(
34 SSE4_1, AV1WarpFilterTest,
35 libaom_test::AV1WarpFilter::BuildParams(av1_warp_affine_sse4_1));
37 TEST_P(AV1HighbdWarpFilterTest, CheckOutput) {
38 RunCheckOutput(::testing::get<4>(GET_PARAM(0)));
40 TEST_P(AV1HighbdWarpFilterTest, DISABLED_Speed) {
41 RunSpeedTest(::testing::get<4>(GET_PARAM(0)));
44 INSTANTIATE_TEST_CASE_P(SSE4_1, AV1HighbdWarpFilterTest,
45 libaom_test::AV1HighbdWarpFilter::BuildParams(
46 av1_highbd_warp_affine_sse4_1));
48 #endif // HAVE_SSE4_1
50 #if HAVE_NEON
51 INSTANTIATE_TEST_CASE_P(
52 NEON, AV1WarpFilterTest,
53 libaom_test::AV1WarpFilter::BuildParams(av1_warp_affine_neon));
54 #endif // HAVE_NEON
56 } // namespace