diff options
author | Jerome Jiang <jianj@google.com> | 2018-08-10 16:43:31 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-08-10 16:43:31 +0000 |
commit | 9a9c01217ba56807811f44c29fda560b35535c53 (patch) | |
tree | b57f0c49eafb6716e195747d45863d69d254baa4 | |
parent | 6cd224f3589afb452e2d385bcdcc753d33565bee (diff) | |
parent | dd601bb0671eb9bf4b9c9159e2ee2085610c1e4b (diff) | |
download | libvpx-9a9c01217ba56807811f44c29fda560b35535c53.tar libvpx-9a9c01217ba56807811f44c29fda560b35535c53.tar.gz libvpx-9a9c01217ba56807811f44c29fda560b35535c53.tar.bz2 libvpx-9a9c01217ba56807811f44c29fda560b35535c53.zip |
Merge "Fix frame drop threshold in vp9 datarate test."
-rw-r--r-- | test/vp9_datarate_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/vp9_datarate_test.cc b/test/vp9_datarate_test.cc index 02bead035..b700f2a9c 100644 --- a/test/vp9_datarate_test.cc +++ b/test/vp9_datarate_test.cc @@ -627,7 +627,7 @@ TEST_P(DatarateTestVP9LargeOneBR, ::libvpx_test::I420VideoSource video("niklas_640_480_30.yuv", 640, 480, 30, 1, 0, 400); - cfg_.rc_target_bitrate = 400; + cfg_.rc_target_bitrate = 200; ResetModel(); // 40-20-40 bitrate allocation for 3 temporal layers. cfg_.layer_target_bitrate[0] = 40 * cfg_.rc_target_bitrate / 100; @@ -650,8 +650,8 @@ TEST_P(DatarateTestVP9LargeOneBR, << j; // Expect some frame drops in this test: for this 200 frames test, // expect at least 10% and not more than 60% drops. - ASSERT_GE(num_drops_, 40); - ASSERT_LE(num_drops_, 240); + ASSERT_GE(num_drops_, 20); + ASSERT_LE(num_drops_, 280); } } |