From 43b4dd2955054e4facf00253a2932f251d120532 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Wed, 13 Nov 2013 07:01:46 +0000 Subject: [PATCH] Allow error of 3 (was 2) for scale by 8. BUG=none TEST=libyuvTest.ScaleDownBy8_Bilinear Review URL: https://webrtc-codereview.appspot.com/3799004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@852 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- README.chromium | 2 +- include/libyuv/version.h | 2 +- unit_test/scale_test.cc | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.chromium b/README.chromium index fc36a932f..e068628e2 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 851 +Version: 853 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 5804f08b7..4c5f62948 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 851 +#define LIBYUV_VERSION 853 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/unit_test/scale_test.cc b/unit_test/scale_test.cc index 807907759..9442edb0b 100644 --- a/unit_test/scale_test.cc +++ b/unit_test/scale_test.cc @@ -145,9 +145,9 @@ static int TestFilter(int src_width, int src_height, // filtering is different fixed point implementations for SSSE3, Neon and C. #define TEST_FACTOR(name, hfactor, vfactor) \ TEST_FACTOR1(name, None, hfactor, vfactor, 0) \ - TEST_FACTOR1(name, Linear, hfactor, vfactor, 2) \ - TEST_FACTOR1(name, Bilinear, hfactor, vfactor, 2) \ - TEST_FACTOR1(name, Box, hfactor, vfactor, 2) \ + TEST_FACTOR1(name, Linear, hfactor, vfactor, 3) \ + TEST_FACTOR1(name, Bilinear, hfactor, vfactor, 3) \ + TEST_FACTOR1(name, Box, hfactor, vfactor, 3) \ // TODO(fbarchard): ScaleDownBy1 should be lossless, but Box has error of 2. TEST_FACTOR(1, 1 / 1, 1 / 1)