summaryrefslogtreecommitdiff
path: root/vp8
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2012-08-06 07:05:56 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2012-08-06 07:05:56 -0700
commit0b693c77554e7ee55d2268ee2590e6050fc8a090 (patch)
tree57b2a7d0c0420c259fcd2b6fcdaa30dbb906ab1d /vp8
parent2af5473a90306b993d145ef64faad6ad1ed21a4d (diff)
parent236597fd564612778f52f399d2a749c862572a69 (diff)
downloadlibvpx-0b693c77554e7ee55d2268ee2590e6050fc8a090.tar
libvpx-0b693c77554e7ee55d2268ee2590e6050fc8a090.tar.gz
libvpx-0b693c77554e7ee55d2268ee2590e6050fc8a090.tar.bz2
libvpx-0b693c77554e7ee55d2268ee2590e6050fc8a090.zip
Merge "fix msvc build" into experimental
Diffstat (limited to 'vp8')
-rw-r--r--vp8/common/idct.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/vp8/common/idct.h b/vp8/common/idct.h
index b67076967..5336f5ab0 100644
--- a/vp8/common/idct.h
+++ b/vp8/common/idct.h
@@ -27,6 +27,13 @@
#include "x86/idct_x86.h"
#endif
+#ifdef _MSC_VER
+/* TODO: remove these after integer implmementations are done */
+#define M_PI 3.14159265358979323846
+#define round(x) (((x)>0)? floor((x)+0.5): ceil((x)-0.5))
+#endif
+
+
#if ARCH_ARM
#include "arm/idct_arm.h"
#endif