/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved. * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at www.aomedia.org/license/software. If the Alliance for Open * Media Patent License 1.0 was not distributed with this source code in the * PATENTS file, you can obtain it at www.aomedia.org/license/patent. */ #ifndef AOM_TEST_TRANSFORM_TEST_BASE_H_ #define AOM_TEST_TRANSFORM_TEST_BASE_H_ #include "gtest/gtest.h" #include "aom/aom_codec.h" #include "aom_dsp/txfm_common.h" #include "aom_mem/aom_mem.h" #include "test/acm_random.h" namespace libaom_test { // Note: // Same constant are defined in av1/common/av1_entropy.h and // av1/common/entropy.h. Goal is to make this base class // to use for future codec transform testing. But including // either of them would lead to compiling error when we do // unit test for another codec. Suggest to move the definition // to a aom header file. const int kDctMaxValue = …; FhtFunc; IhtFunc; template <typename OutType> class TransformTestBase { … }; } // namespace libaom_test #endif // AOM_TEST_TRANSFORM_TEST_BASE_H_