Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: source/libvpx/test/idct8x8_test.cc

Issue 23530058: libvpx: Pull from upstream (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/libvpx/test/i420_video_source.h ('k') | source/libvpx/test/idct_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/test/idct8x8_test.cc
===================================================================
--- source/libvpx/test/idct8x8_test.cc (revision 223100)
+++ source/libvpx/test/idct8x8_test.cc (working copy)
@@ -15,10 +15,10 @@
#include "third_party/googletest/src/include/gtest/gtest.h"
extern "C" {
-#include "vp9_rtcd.h"
+#include "./vp9_rtcd.h"
}
-#include "acm_random.h"
+#include "test/acm_random.h"
#include "vpx/vpx_integer.h"
using libvpx_test::ACMRandom;
@@ -27,10 +27,10 @@
#ifdef _MSC_VER
static int round(double x) {
- if(x < 0)
- return (int)ceil(x - 0.5);
+ if (x < 0)
+ return static_cast<int>(ceil(x - 0.5));
else
- return (int)floor(x + 0.5);
+ return static_cast<int>(floor(x + 0.5));
}
#endif
« no previous file with comments | « source/libvpx/test/i420_video_source.h ('k') | source/libvpx/test/idct_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698