From 05b5cf96107534145ec04dcc5a713e475c77d349 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Fri, 13 Jul 2012 01:16:28 +0000 Subject: [PATCH] move a macro and comment BUG=49 TEST=untested Review URL: https://webrtc-codereview.appspot.com/668012 git-svn-id: http://libyuv.googlecode.com/svn/trunk@302 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- README.chromium | 2 +- include/libyuv/version.h | 2 +- source/scale.cc | 4 +++- source/scale_argb.cc | 5 +++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.chromium b/README.chromium index 60eecfec4..c1c7e599e 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 301 +Version: 302 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index e47fa36a9..3d6f6b2fa 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 300 +#define LIBYUV_VERSION 302 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/source/scale.cc b/source/scale.cc index fb3bfc635..cb6fe2170 100644 --- a/source/scale.cc +++ b/source/scale.cc @@ -23,6 +23,9 @@ namespace libyuv { extern "C" { #endif +// Bilinear SSE2 is disabled. +#define SSE2_DISABLED 1 + // Note: Some SSE2 reference manuals // cpuvol1.pdf agner_instruction_tables.pdf 253666.pdf 253667.pdf @@ -31,7 +34,6 @@ extern "C" { // NOT the optimized versions. Useful for debugging and // when comparing the quality of the resulting YUV planes // as produced by the optimized and non-optimized versions. -#define SSE2_DISABLED 1 static bool use_reference_impl_ = false; void SetUseReferenceImpl(bool use) { diff --git a/source/scale_argb.cc b/source/scale_argb.cc index 8bc140c5e..dcb73c81b 100644 --- a/source/scale_argb.cc +++ b/source/scale_argb.cc @@ -23,12 +23,13 @@ namespace libyuv { extern "C" { #endif -// ARGB scaling uses bilinear or point, but not box filter. +// Bilinear SSE2 is disabled. +#define SSE2_DISABLED 1 +// ARGB scaling uses bilinear or point, but not box filter. /** * SSE2 downscalers with bilinear interpolation. */ -#define SSE2_DISABLED 1 #if !defined(YUV_DISABLE_ASM) && defined(_M_IX86)