diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 06:13:17 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 06:13:17 +0000 |
commit | f6688b97a3839cff0e98e2cc841b17d6a78b72e1 (patch) | |
tree | 2d9a4e5c22e48e676345ab39d1422b2d31b20a8a /media | |
parent | 5b5e40ee98303198899ebb73463dfe3508ba3a25 (diff) | |
download | chromium_src-f6688b97a3839cff0e98e2cc841b17d6a78b72e1.zip chromium_src-f6688b97a3839cff0e98e2cc841b17d6a78b72e1.tar.gz chromium_src-f6688b97a3839cff0e98e2cc841b17d6a78b72e1.tar.bz2 |
Use SSE2 block differ for chromoting
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
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74571 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/base/yuv_convert.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/base/yuv_convert.cc b/media/base/yuv_convert.cc index f6e2857..2e4af1d 100644 --- a/media/base/yuv_convert.cc +++ b/media/base/yuv_convert.cc @@ -17,6 +17,7 @@ #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" @@ -356,7 +357,7 @@ void ConvertRGB32ToYUV(const uint8* rgbframe, static void (*convert_proc)(const uint8*, uint8*, uint8*, uint8*, int, int, int, int, int) = NULL; if (!convert_proc) { -#ifdef __arm__ +#if defined(ARCH_CPU_ARM_FAMILY) // For ARM processors, always use C version. // TODO(hclam): Implement a NEON version. convert_proc = &ConvertRGB32ToYUV_C; |