From 65d1ba6a2651bf7470877540f1e4f07cacb5185a Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Thu, 12 Sep 2013 17:41:57 +0000 Subject: [PATCH] Disable ColorTable assembly which is slow. BUG=266 TEST=unittest for color table passes and is faster R=thorcarpenter@google.com Review URL: https://webrtc-codereview.appspot.com/2181009 git-svn-id: http://libyuv.googlecode.com/svn/trunk@789 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- README.chromium | 2 +- include/libyuv/row.h | 8 +++++--- include/libyuv/version.h | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.chromium b/README.chromium index bacccd790..41f5f44a6 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 788 +Version: 789 License: BSD License File: LICENSE diff --git a/include/libyuv/row.h b/include/libyuv/row.h index bd865f9bd..d453522d4 100644 --- a/include/libyuv/row.h +++ b/include/libyuv/row.h @@ -142,9 +142,11 @@ extern "C" { // TODO(fbarchard): Port to gcc. #if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) && defined(_MSC_VER) // Effects: -#define HAS_ARGBCOLORTABLEROW_X86 -#define HAS_RGBCOLORTABLEROW_X86 -//#define HAS_ARGBLUMACOLORTABLEROW_SSSE3 +// Disabled due to C versions being faster on Sandy Bridge with VC2012. +// #define HAS_ARGBCOLORTABLEROW_X86 +// #define HAS_RGBCOLORTABLEROW_X86 +// SSSE3 version incomplete: +// #define HAS_ARGBLUMACOLORTABLEROW_SSSE3 // Caveat: Visual C 2012 required for AVX2. #if _MSC_VER >= 1700 diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 7b6830b4b..725e326fd 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 788 +#define LIBYUV_VERSION 789 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT