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

Unified Diff: source/libvpx/vpx_ports/system_state.h

Issue 1302353004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 4 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/vpx_ports/msvc.h ('k') | source/libvpx/vpx_ports/vpx_ports.mk » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/vpx_ports/system_state.h
diff --git a/source/libvpx/vpx_ports/msvc.h b/source/libvpx/vpx_ports/system_state.h
similarity index 59%
copy from source/libvpx/vpx_ports/msvc.h
copy to source/libvpx/vpx_ports/system_state.h
index 43a36e761841c367cb6d84ec8fc49b5851f646f5..086c64681f58ea44f535f12313aebb9c7e46546d 100644
--- a/source/libvpx/vpx_ports/msvc.h
+++ b/source/libvpx/vpx_ports/system_state.h
@@ -8,15 +8,15 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_MSVC_H_
-#define VPX_PORTS_MSVC_H_
-#ifdef _MSC_VER
+#ifndef VPX_PORTS_SYSTEM_STATE_H_
+#define VPX_PORTS_SYSTEM_STATE_H_
#include "./vpx_config.h"
-# if _MSC_VER < 1900 // VS2015 provides snprintf
-# define snprintf _snprintf
-# endif // _MSC_VER < 1900
-
-#endif // _MSC_VER
-#endif // VPX_PORTS_MSVC_H_
+#if ARCH_X86 || ARCH_X86_64
+void vpx_reset_mmx_state(void);
+#define vpx_clear_system_state() vpx_reset_mmx_state()
+#else
+#define vpx_clear_system_state()
+#endif // ARCH_X86 || ARCH_X86_64
+#endif // VPX_PORTS_SYSTEM_STATE_H_
« no previous file with comments | « source/libvpx/vpx_ports/msvc.h ('k') | source/libvpx/vpx_ports/vpx_ports.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698