]> granicus.if.org Git - libvpx/commitdiff
Make the tile independence test shorter
authorDebargha Mukherjee <debargha@google.com>
Wed, 23 Mar 2016 00:53:43 +0000 (17:53 -0700)
committerDebargha Mukherjee <debargha@google.com>
Wed, 23 Mar 2016 01:00:04 +0000 (18:00 -0700)
Uses 15 frames instead of 30. Also only test speed 0 for VP10.

Change-Id: Icace050edd974622d83bdf843058f63bd8d3a84b

test/tile_independence_test.cc

index 193bd45986853d204491dd09ff8959ad6298f36e..e07446128867d654d567d6ed8b774df945be0013 100644 (file)
@@ -86,11 +86,11 @@ TEST_P(TileIndependenceTest, MD5Match) {
   const vpx_rational timebase = { 33333333, 1000000000 };
   cfg_.g_timebase = timebase;
   cfg_.rc_target_bitrate = 500;
-  cfg_.g_lag_in_frames = 25;
+  cfg_.g_lag_in_frames = 12;
   cfg_.rc_end_usage = VPX_VBR;
 
   libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 704, 144,
-                                     timebase.den, timebase.num, 0, 30);
+                                     timebase.den, timebase.num, 0, 15);
   ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
 
   const char *md5_fw_str = md5_fw_order_.Get();
@@ -104,5 +104,5 @@ TEST_P(TileIndependenceTest, MD5Match) {
 
 VP9_INSTANTIATE_TEST_CASE(TileIndependenceTest, ::testing::Range(0, 2, 1));
 
-VP10_INSTANTIATE_TEST_CASE(TileIndependenceTest, ::testing::Range(0, 2, 1));
+VP10_INSTANTIATE_TEST_CASE(TileIndependenceTest, ::testing::Range(0, 1, 1));
 }  // namespace