diff options
author | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 01:01:58 +0000 |
---|---|---|
committer | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 01:01:58 +0000 |
commit | 74608b644e75307c910fa8b411e8e9cc7c731fae (patch) | |
tree | 5a9fa339ad77305739d3515951d0a5ab9f2f1b2a /media/base/yuv_row.h | |
parent | 0e39aedc261f2398a5b3fa6ecc18507574ef0e6a (diff) | |
download | chromium_src-74608b644e75307c910fa8b411e8e9cc7c731fae.zip chromium_src-74608b644e75307c910fa8b411e8e9cc7c731fae.tar.gz chromium_src-74608b644e75307c910fa8b411e8e9cc7c731fae.tar.bz2 |
Vertical filtering conditional on fraction/scale factor
BUG=19113
TEST=do large scale factors and look for lines every nth line. Should look smooth and be faster than previously.
Review URL: http://codereview.chromium.org/1521023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44307 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/yuv_row.h')
-rw-r--r-- | media/base/yuv_row.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/base/yuv_row.h b/media/base/yuv_row.h index 5392628..e87f76e 100644 --- a/media/base/yuv_row.h +++ b/media/base/yuv_row.h @@ -79,11 +79,13 @@ void LinearScaleYUVToRGB32Row(const uint8* y_buf, #endif #endif +#if !defined(USE_SSE) #if defined(__SSE2__) || defined(_MSC_VER) #define USE_SSE 1 #else #define USE_SSE 0 #endif +#endif // x64 uses MMX2 (SSE) so emms is not required. #if USE_MMX && !defined(ARCH_CPU_X86_64) |