Chromium Code Reviews| 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 |