mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
Test scaling to/from 1 pixel
BUG=none TEST=scale unittests updated to test to/from 1 pixel R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/5479005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@908 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
dd2fca5f9c
commit
5ed2b2e465
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 907
|
||||
Version: 908
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define LIBYUV_VERSION 907
|
||||
#define LIBYUV_VERSION 908
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||
|
||||
@ -264,6 +264,7 @@ TEST_FACTOR(Vertical2by3, 1, 2 / 3)
|
||||
TEST_SCALETO1(name, width, height, Bilinear, 3) \
|
||||
TEST_SCALETO1(name, width, height, Box, 3)
|
||||
|
||||
TEST_SCALETO(ARGBScale, 1, 1)
|
||||
TEST_SCALETO(ARGBScale, 320, 240)
|
||||
TEST_SCALETO(ARGBScale, 352, 288)
|
||||
TEST_SCALETO(ARGBScale, 640, 360)
|
||||
|
||||
@ -183,6 +183,7 @@ TEST_FACTOR(Vertical2by3, 1, 2 / 3)
|
||||
TEST_SCALETO1(name, width, height, Bilinear, 3) \
|
||||
TEST_SCALETO1(name, width, height, Box, 3)
|
||||
|
||||
TEST_SCALETO(Scale, 1, 1)
|
||||
TEST_SCALETO(Scale, 320, 240)
|
||||
TEST_SCALETO(Scale, 352, 288)
|
||||
TEST_SCALETO(Scale, 640, 360)
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
#define BENCHMARK_ITERATIONS 1
|
||||
|
||||
libyuvTest::libyuvTest() : rotate_max_w_(128), rotate_max_h_(128),
|
||||
benchmark_iterations_(BENCHMARK_ITERATIONS), benchmark_width_(32),
|
||||
benchmark_height_(24) {
|
||||
benchmark_iterations_(BENCHMARK_ITERATIONS), benchmark_width_(22),
|
||||
benchmark_height_(14) {
|
||||
const char* repeat = getenv("LIBYUV_REPEAT");
|
||||
if (repeat) {
|
||||
benchmark_iterations_ = atoi(repeat); // NOLINT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user