diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 10:03:21 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 10:03:21 +0000 |
commit | f1417152d41e2e9b91f192d39a6fa9e55455e904 (patch) | |
tree | 7962bd7299220cddc9e44241fa769ec4fc16db84 /media | |
parent | 3b6d584a0aec92d6db1f7a0cc4655f69fef95a93 (diff) | |
download | chromium_src-f1417152d41e2e9b91f192d39a6fa9e55455e904.zip chromium_src-f1417152d41e2e9b91f192d39a6fa9e55455e904.tar.gz chromium_src-f1417152d41e2e9b91f192d39a6fa9e55455e904.tar.bz2 |
Revert 74571 - Use SSE2 block differ for chromoting
(Quick test to see if it is the cause of crashes in media_unittests)
We have the SSE2 lying around in the tree just never being used. This will
allow us to use it.
BUG=None
TEST=Chromoting to a host machine and the diff will work correctly
Review URL: http://codereview.chromium.org/6469022
TBR=hclam@chromium.org
Review URL: http://codereview.chromium.org/6488023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/base/yuv_convert.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/media/base/yuv_convert.cc b/media/base/yuv_convert.cc index 2e4af1d..f6e2857 100644 --- a/media/base/yuv_convert.cc +++ b/media/base/yuv_convert.cc @@ -17,7 +17,6 @@ #include "media/base/yuv_convert.h" -#include "build/build_config.h" #include "media/base/cpu_features.h" #include "media/base/yuv_convert_internal.h" #include "media/base/yuv_row.h" @@ -357,7 +356,7 @@ void ConvertRGB32ToYUV(const uint8* rgbframe, static void (*convert_proc)(const uint8*, uint8*, uint8*, uint8*, int, int, int, int, int) = NULL; if (!convert_proc) { -#if defined(ARCH_CPU_ARM_FAMILY) +#ifdef __arm__ // For ARM processors, always use C version. // TODO(hclam): Implement a NEON version. convert_proc = &ConvertRGB32ToYUV_C; |