Disable ScaleFilterCols_SSSE3 which produces color shift

upscale a YUV image.  observe change in hue.. green especially.
disable ScaleFilterCols_SSSE3, falling back on ScaleFilterCols_C
observe hue.. green especially, is better.

disable HAS_SCALEFILTERCOLS_SSSE3

R=harryjin@google.com
BUG=libyuv:605

Review URL: https://codereview.chromium.org/2080663003 .
This commit is contained in:
Frank Barchard 2016-06-20 10:43:09 -07:00
parent 5c61c59806
commit e376b06d6a
4 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1597
Version: 1598
License: BSD
License File: LICENSE

View File

@ -22,7 +22,7 @@ By default the cpu is detected and the most advanced form of SIMD is used. But
# Test Width/Height/Repeat
The unittests default to a small image (32x18) to run fast. This can be set by environment variable to test a specific resolutions.
The unittests default to a small image (128x72) to run fast. This can be set by environment variable to test a specific resolutions.
You can also repeat the test a specified number of iterations, allowing benchmarking and profiling.
set LIBYUV_WIDTH=1280

View File

@ -61,7 +61,8 @@ extern "C" {
#define HAS_SCALEARGBROWDOWN2_SSE2
#define HAS_SCALEARGBROWDOWNEVEN_SSE2
#define HAS_SCALECOLSUP2_SSE2
#define HAS_SCALEFILTERCOLS_SSSE3
// TODO(fbarchard): HAS_SCALEFILTERCOLS_SSSE3 doesnt match C very well.
// #define HAS_SCALEFILTERCOLS_SSSE3
#define HAS_SCALEROWDOWN2_SSSE3
#define HAS_SCALEROWDOWN34_SSSE3
#define HAS_SCALEROWDOWN38_SSSE3

View File

@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1597
#define LIBYUV_VERSION 1598
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT