]> granicus.if.org Git - libvpx/commitdiff
cpu_speed_test - now test one pass and more speeds
authorJim Bankoski <jimbankoski@google.com>
Thu, 6 Mar 2014 22:52:52 +0000 (14:52 -0800)
committerJim Bankoski <jimbankoski@google.com>
Thu, 6 Mar 2014 22:52:52 +0000 (14:52 -0800)
Change-Id: I736f5753ff42782bbb2a401d2c28cd755fa2f8da

test/cpu_speed_test.cc

index c92e723793d7a2e5ac9425676ee444b42a709dbc..569ff2605e5bfd10949f2ee1e6d710ae1b7f3c5c 100644 (file)
@@ -79,7 +79,7 @@ TEST_P(CpuSpeedTest, TestEncodeHighBitrate) {
   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 @@ TEST_P(CpuSpeedTest, TestLowBitrate) {
   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 @@ using std::tr1::make_tuple;
 
 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