shithub: libvpx

Download patch

ref: 9e889d5da5b1f39ee79dbd4ce748141f9e9ce933
parent: d1aeef94a510ffcef8411954697a9fd7e113572d
author: Jim Bankoski <jimbankoski@google.com>
date: Thu Mar 6 09:52:52 EST 2014

cpu_speed_test - now test one pass and more speeds

Change-Id: I736f5753ff42782bbb2a401d2c28cd755fa2f8da

--- a/test/cpu_speed_test.cc
+++ b/test/cpu_speed_test.cc
@@ -79,7 +79,7 @@
   cfg_.rc_min_quantizer = 0;
 
   ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0,
-                                       40);
+                                       20);
 
   ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
 }
@@ -95,7 +95,7 @@
   cfg_.rc_min_quantizer = 40;
 
   ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0,
-                                       40);
+                                       20);
 
   ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
 }
@@ -107,6 +107,6 @@
 
 VP9_INSTANTIATE_TEST_CASE(
     CpuSpeedTest,
-    ::testing::Values(::libvpx_test::kTwoPassGood),
-    ::testing::Range(0, 5));
+    ::testing::Values(::libvpx_test::kTwoPassGood, ::libvpx_test::kOnePassGood),
+    ::testing::Range(0, 8));
 }  // namespace