ref: e769aeee801a301018d7f5e610dab9d968dbdbc9
parent: 3c4bfc6f2ce8af5817f56d80764c274354334d44
author: Luc Trudeau <[email protected]>
date: Thu Jun 14 07:21:05 EDT 2018
include msvc.h for snprintf support in benchmarks include vpx_ports/msvc.h to avoid issues with snprintf issues with MSVC. Change-Id: Ida09cff8ee3b84e09fd61de131f84b32c113fa1a
--- a/test/sad_test.cc
+++ b/test/sad_test.cc
@@ -10,7 +10,6 @@
#include <string.h>
#include <limits.h>
-#include <stdio.h>
#include "third_party/googletest/src/include/gtest/gtest.h"
@@ -24,6 +23,7 @@
#include "vpx/vpx_codec.h"
#include "vpx_mem/vpx_mem.h"
#include "vpx_ports/mem.h"
+#include "vpx_ports/msvc.h"
#include "vpx_ports/vpx_timer.h"
template <typename Function>
--- a/test/vp9_quantize_test.cc
+++ b/test/vp9_quantize_test.cc
@@ -27,6 +27,7 @@
#include "vp9/common/vp9_scan.h"
#include "vpx/vpx_codec.h"
#include "vpx/vpx_integer.h"
+#include "vpx_ports/msvc.h"
#include "vpx_ports/vpx_timer.h"
using libvpx_test::ACMRandom;
--- a/test/vp9_subtract_test.cc
+++ b/test/vp9_subtract_test.cc
@@ -18,6 +18,7 @@
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
#include "vp9/common/vp9_blockd.h"
+#include "vpx_ports/msvc.h"
#include "vpx_mem/vpx_mem.h"
typedef void (*SubtractFunc)(int rows, int cols, int16_t *diff_ptr,