/* * Copyright (c) 2022, 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 "av1/encoder/cost.h" #include "av1/encoder/encodemv.h" #include "gtest/gtest.h" namespace { void ReferenceBuildNmvComponentCostTable(int *mvcost, const nmv_component *const mvcomp, MvSubpelPrecision precision) { … } // Test using the default context, except for sign static const nmv_component kTestComponentContext = …; void TestMvComponentCostTable(MvSubpelPrecision precision) { … } TEST(MvCostTest, BuildMvComponentCostTableTest1) { … } TEST(MvCostTest, BuildMvComponentCostTableTest2) { … } TEST(MvCostTest, BuildMvComponentCostTableTest3) { … } } // namespace