Commit 54f0b67c authored by fbarchard@google.com's avatar fbarchard@google.com

Scale up use pextrw to speed up a little

BUG=208
TEST=out\release\libyuv_unittest --gtest_filter=*Scale*640*
Review URL: https://webrtc-codereview.appspot.com/1283008

git-svn-id: http://libyuv.googlecode.com/svn/trunk@649 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 98a1fbf5
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 648
Version: 649
License: BSD
License File: LICENSE
......
......@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 648
#define LIBYUV_VERSION 649
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
This diff is collapsed.
......@@ -149,7 +149,7 @@ TEST_F(libyuvTest, ARGBScaleDownBy4_None) {
dst_width, dst_height,
kFilterNone,
benchmark_iterations_);
EXPECT_LE(max_diff, 2); // This is the only scale factor with error of 2.
EXPECT_LE(max_diff, 1);
}
TEST_F(libyuvTest, ARGBScaleDownBy4_Bilinear) {
......@@ -162,7 +162,7 @@ TEST_F(libyuvTest, ARGBScaleDownBy4_Bilinear) {
dst_width, dst_height,
kFilterBilinear,
benchmark_iterations_);
EXPECT_LE(max_diff, 2); // This is the only scale factor with error of 2.
EXPECT_LE(max_diff, 1);
}
TEST_F(libyuvTest, ARGBScaleDownBy4_Box) {
......@@ -175,7 +175,7 @@ TEST_F(libyuvTest, ARGBScaleDownBy4_Box) {
dst_width, dst_height,
kFilterBox,
benchmark_iterations_);
EXPECT_LE(max_diff, 2); // This is the only scale factor with error of 2.
EXPECT_LE(max_diff, 1);
}
TEST_F(libyuvTest, ARGBScaleDownBy5_None) {
......@@ -357,7 +357,7 @@ TEST_F(libyuvTest, ARGBScaleTo1366x768_Bilinear) {
dst_width, dst_height,
kFilterBilinear,
benchmark_iterations_);
EXPECT_LE(max_diff, 2);
EXPECT_LE(max_diff, 1);
}
......@@ -384,7 +384,7 @@ TEST_F(libyuvTest, ARGBScaleTo1280x720_Bilinear) {
dst_width, dst_height,
kFilterBilinear,
benchmark_iterations_);
EXPECT_LE(max_diff, 2);
EXPECT_LE(max_diff, 1);
}
TEST_F(libyuvTest, ARGBScaleTo853x480_None) {
......@@ -410,7 +410,7 @@ TEST_F(libyuvTest, ARGBScaleTo853x480_Bilinear) {
dst_width, dst_height,
kFilterBilinear,
benchmark_iterations_);
EXPECT_LE(max_diff, 3);
EXPECT_LE(max_diff, 1);
}
TEST_F(libyuvTest, ARGBScaleFrom640x360_None) {
......@@ -423,7 +423,7 @@ TEST_F(libyuvTest, ARGBScaleFrom640x360_None) {
dst_width, dst_height,
kFilterNone,
benchmark_iterations_);
EXPECT_LE(max_diff, 2);
EXPECT_LE(max_diff, 1);
}
TEST_F(libyuvTest, ARGBScaleFrom640x360_Bilinear) {
......@@ -436,7 +436,7 @@ TEST_F(libyuvTest, ARGBScaleFrom640x360_Bilinear) {
dst_width, dst_height,
kFilterBilinear,
benchmark_iterations_);
EXPECT_LE(max_diff, 3);
EXPECT_LE(max_diff, 1);
}
} // namespace libyuv
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment