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

Unified Diff: media/base/yuv_row.h

Issue 208030: Mac YUV assembly (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | « no previous file | media/base/yuv_row_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/yuv_row.h
===================================================================
--- media/base/yuv_row.h (revision 26554)
+++ media/base/yuv_row.h (working copy)
@@ -63,10 +63,9 @@
} // extern "C"
#if !defined(USE_MMX)
-#if defined(_MSC_VER)
+// Windows, Mac and Linux x86 use MMX; x64 and other CPUs do not.
+#if defined(OS_WIN) || defined(ARCH_CPU_X86)
#define USE_MMX 1
-#elif defined(OS_LINUX) && defined(ARCH_CPU_X86)
-#define USE_MMX 1
#else
#define USE_MMX 0
#endif
« no previous file with comments | « no previous file | media/base/yuv_row_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698