/* * 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. */ #include <string> #include "gtest/gtest.h" #include "config/aom_config.h" #include "config/aom_dsp_rtcd.h" #include "test/acm_random.h" #include "test/register_state_check.h" #include "test/util.h" #include "av1/common/blockd.h" #include "av1/common/common.h" #include "av1/common/pred_common.h" #include "aom_mem/aom_mem.h" namespace { ACMRandom; const int count_test_block = …; HighbdIntraPred; IntraPred; } // namespace // NOTE: Under gcc version 7.3.0 (Debian 7.3.0-5), if this template is in the // anonymous namespace, then we get a strange compiler warning in // the begin() and end() methods of the ParamGenerator template class in // gtest/internal/gtest-param-util.h: // warning: ‘<anonymous>’ is used uninitialized in this function // As a workaround, put this template outside the anonymous namespace. // See bug aomedia:2003. template <typename FuncType> struct IntraPredFunc { … }; namespace … // namespace