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

Unified Diff: media/base/yuv_row.h

Issue 202068: Reverting 26070. (Closed) Base URL: svn://svn.chromium.org/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 | « media/base/yuv_convert_unittest.cc ('k') | media/base/yuv_row_linux.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 26073)
+++ media/base/yuv_row.h (working copy)
@@ -63,9 +63,10 @@
} // extern "C"
#if !defined(USE_MMX)
-// Windows, Mac and Linux x86 use MMX; x64 and other CPUs do not.
-#if defined(OS_WIN) || defined(ARCH_CPU_X86)
+#if defined(_MSC_VER)
#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 | « media/base/yuv_convert_unittest.cc ('k') | media/base/yuv_row_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698