| Index: unit_test/unit_test.h
|
| diff --git a/unit_test/unit_test.h b/unit_test/unit_test.h
|
| index 4e3086d6a953181274b1f0362ac08feaf3e1fe4f..826d154aad819db58c7c1e4c28767e72e0d7deff 100644
|
| --- a/unit_test/unit_test.h
|
| +++ b/unit_test/unit_test.h
|
| @@ -72,13 +72,22 @@ static inline void MemRandomize(uint8* dst, int64 len) {
|
| }
|
| }
|
|
|
| +class LibYUVColorTest : public ::testing::Test {
|
| + protected:
|
| + LibYUVColorTest();
|
| +
|
| + int benchmark_iterations_; // Default 1. Use 1000 for benchmarking.
|
| + int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA.
|
| + int benchmark_height_; // Default 720. Use 360 for benchmarking VGA.
|
| + int benchmark_pixels_div256_; // Total pixels to benchmark / 256.
|
| + int benchmark_pixels_div1280_; // Total pixels to benchmark / 1280.
|
| + int disable_cpu_flags_; // Default 0. Use -1 for benchmarking.
|
| +};
|
| +
|
| class LibYUVConvertTest : public ::testing::Test {
|
| protected:
|
| LibYUVConvertTest();
|
|
|
| - const int rotate_max_w_;
|
| - const int rotate_max_h_;
|
| -
|
| int benchmark_iterations_; // Default 1. Use 1000 for benchmarking.
|
| int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA.
|
| int benchmark_height_; // Default 720. Use 360 for benchmarking VGA.
|
| @@ -91,9 +100,6 @@ class LibYUVScaleTest : public ::testing::Test {
|
| protected:
|
| LibYUVScaleTest();
|
|
|
| - const int rotate_max_w_;
|
| - const int rotate_max_h_;
|
| -
|
| int benchmark_iterations_; // Default 1. Use 1000 for benchmarking.
|
| int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA.
|
| int benchmark_height_; // Default 720. Use 360 for benchmarking VGA.
|
| @@ -106,9 +112,6 @@ class LibYUVRotateTest : public ::testing::Test {
|
| protected:
|
| LibYUVRotateTest();
|
|
|
| - const int rotate_max_w_;
|
| - const int rotate_max_h_;
|
| -
|
| int benchmark_iterations_; // Default 1. Use 1000 for benchmarking.
|
| int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA.
|
| int benchmark_height_; // Default 720. Use 360 for benchmarking VGA.
|
| @@ -121,9 +124,6 @@ class LibYUVPlanarTest : public ::testing::Test {
|
| protected:
|
| LibYUVPlanarTest();
|
|
|
| - const int rotate_max_w_;
|
| - const int rotate_max_h_;
|
| -
|
| int benchmark_iterations_; // Default 1. Use 1000 for benchmarking.
|
| int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA.
|
| int benchmark_height_; // Default 720. Use 360 for benchmarking VGA.
|
| @@ -136,9 +136,6 @@ class LibYUVBaseTest : public ::testing::Test {
|
| protected:
|
| LibYUVBaseTest();
|
|
|
| - const int rotate_max_w_;
|
| - const int rotate_max_h_;
|
| -
|
| int benchmark_iterations_; // Default 1. Use 1000 for benchmarking.
|
| int benchmark_width_; // Default 1280. Use 640 for benchmarking VGA.
|
| int benchmark_height_; // Default 720. Use 360 for benchmarking VGA.
|
|
|