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

Unified Diff: media/base/yuv_row.h

Issue 1301003: OpenBSD media/audio support (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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
Index: media/base/yuv_row.h
===================================================================
--- media/base/yuv_row.h (revision 42569)
+++ media/base/yuv_row.h (working copy)
@@ -63,8 +63,8 @@
} // extern "C"
#if !defined(USE_MMX)
-// Windows, Mac and Linux use MMX
-#if defined(ARCH_CPU_X86) || (defined(ARCH_CPU_X86_64) && defined(OS_LINUX))
+// Windows, Mac and Linux/BSD use MMX
Evan Martin 2010/03/25 21:42:08 I guess this comment is wrong, since Mac is specif
Peter Valchev 2010/03/25 21:47:29 it's only excluded in the 64-bit case, i'm not fam
fbarchard 2010/03/26 01:43:42 For Mac, its my intent to use the linux x264 code.
Peter Valchev 2010/03/26 23:49:46 Yes, yuv_row_linux.cc is actually used on BSD :) M
fbarchard 2010/03/30 01:51:02 I wrote the mac code, and there is only 32 bit ver
+#if defined(ARCH_CPU_X86) || (defined(ARCH_CPU_X86_64) && defined(OS_POSIX) && !defined(OS_MACOSX))
#define USE_MMX 1
#else
#define USE_MMX 0

Powered by Google App Engine
This is Rietveld 408576698