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
;
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(
30 libaom_test::AV1WarpFilter::BuildParams(av1_warp_affine_c
));
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
));
51 INSTANTIATE_TEST_CASE_P(
52 NEON
, AV1WarpFilterTest
,
53 libaom_test::AV1WarpFilter::BuildParams(av1_warp_affine_neon
));