mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-08 01:36:47 +08:00
bilinear scaling allow higher error for differences in SSSE3 7 bit math vs C/SSE2 15 bit math, when extreme scale factors are used.
BUG=200 TEST=*Scale* width LIBYUV_WIDTH=16 LIBYUV_HEIGHT=16 Review URL: https://webrtc-codereview.appspot.com/1197004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@606 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
07a99dc278
commit
7d25fe2ddb
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 605
|
||||
Version: 606
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define LIBYUV_VERSION 605
|
||||
#define LIBYUV_VERSION 606
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||
|
||||
@ -357,7 +357,7 @@ TEST_F(libyuvTest, ARGBScaleTo1366x768_Bilinear) {
|
||||
dst_width, dst_height,
|
||||
kFilterBilinear,
|
||||
benchmark_iterations_);
|
||||
EXPECT_LE(max_diff, 1);
|
||||
EXPECT_LE(max_diff, 2);
|
||||
}
|
||||
|
||||
|
||||
@ -384,7 +384,7 @@ TEST_F(libyuvTest, ARGBScaleTo1280x720_Bilinear) {
|
||||
dst_width, dst_height,
|
||||
kFilterBilinear,
|
||||
benchmark_iterations_);
|
||||
EXPECT_LE(max_diff, 1);
|
||||
EXPECT_LE(max_diff, 2);
|
||||
}
|
||||
|
||||
TEST_F(libyuvTest, ARGBScaleTo853x480_None) {
|
||||
|
||||
@ -457,7 +457,7 @@ TEST_F(libyuvTest, ScaleTo1366x768_Bilinear) {
|
||||
dst_width, dst_height,
|
||||
kFilterBilinear,
|
||||
benchmark_iterations_);
|
||||
EXPECT_LE(max_diff, 1);
|
||||
EXPECT_LE(max_diff, 2);
|
||||
}
|
||||
|
||||
TEST_F(libyuvTest, ScaleTo1366x768_Box) {
|
||||
@ -470,7 +470,7 @@ TEST_F(libyuvTest, ScaleTo1366x768_Box) {
|
||||
dst_width, dst_height,
|
||||
kFilterBox,
|
||||
benchmark_iterations_);
|
||||
EXPECT_LE(max_diff, 1);
|
||||
EXPECT_LE(max_diff, 2);
|
||||
}
|
||||
|
||||
TEST_F(libyuvTest, ScaleTo1280x720_None) {
|
||||
@ -496,7 +496,7 @@ TEST_F(libyuvTest, ScaleTo1280x720_Bilinear) {
|
||||
dst_width, dst_height,
|
||||
kFilterBilinear,
|
||||
benchmark_iterations_);
|
||||
EXPECT_LE(max_diff, 1);
|
||||
EXPECT_LE(max_diff, 2);
|
||||
}
|
||||
|
||||
TEST_F(libyuvTest, ScaleTo1280x720_Box) {
|
||||
@ -509,7 +509,7 @@ TEST_F(libyuvTest, ScaleTo1280x720_Box) {
|
||||
dst_width, dst_height,
|
||||
kFilterBox,
|
||||
benchmark_iterations_);
|
||||
EXPECT_LE(max_diff, 1);
|
||||
EXPECT_LE(max_diff, 2);
|
||||
}
|
||||
|
||||
TEST_F(libyuvTest, ScaleTo853x480_None) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user