shithub: libvpx

Download patch

ref: 7c1f5208e95efd564986ab33ded28c04fbfc08a3
parent: 0af40df746b47057e3f416fbfc49d83e324741b4
author: Angie Chiang <angiebird@google.com>
date: Thu Aug 15 12:00:18 EDT 2019

Add test_non_greedy_mv.cc

Change-Id: I7862d39ae52ab016bf6c3ba3aa4b8b1d9760cf27

--- /dev/null
+++ b/test/non_greedy_mv_test.cc
@@ -1,0 +1,16 @@
+/*
+ *  Copyright (c) 2019 The WebM project authors. All Rights Reserved.
+ *
+ *  Use of this source code is governed by a BSD-style license
+ *  that can be found in the LICENSE file in the root of the source
+ *  tree. An additional intellectual property rights grant can be found
+ *  in the file PATENTS.  All contributing project authors may
+ *  be found in the AUTHORS file in the root of the source tree.
+ */
+
+#include "third_party/googletest/src/include/gtest/gtest.h"
+// #include "vp9/encoder/vp9_non_greedy_mv.h"
+
+namespace {
+TEST(non_greedy_mv, non_greedy_mv) { printf("Let's test non_greedy_mv"); }
+}  // namespace
--- a/test/test.mk
+++ b/test/test.mk
@@ -183,6 +183,10 @@
 LIBVPX_TEST_SRCS-$(CONFIG_INTERNAL_STATS) += consistency_test.cc
 endif
 
+ifeq ($(CONFIG_VP9_ENCODER),yes)
+LIBVPX_TEST_SRCS-$(CONFIG_NON_GREEDY_MV) += non_greedy_mv_test.cc
+endif
+
 ifeq ($(CONFIG_VP9_ENCODER)$(CONFIG_VP9_TEMPORAL_DENOISING),yesyes)
 LIBVPX_TEST_SRCS-yes += vp9_denoiser_test.cc
 endif