ref: 7a0bfa6ec69917a7b036de397b5545dd8f0a0d18
parent: 91fc730d831a46751fe5adb96f4897085b483313
author: hui su <[email protected]>
date: Tue Jan 10 11:37:59 EST 2017
Add "Large" label to VP9 target level tests Also reduce the number of test frames. Change-Id: Iea6fa93ca6b924535aef7bf8b388db4d0ec84c08
--- a/test/level_test.cc
+++ b/test/level_test.cc
@@ -66,10 +66,10 @@
int level_;
};
-TEST_P(LevelTest, TestTargetLevel11) {
+TEST_P(LevelTest, TestTargetLevel11Large) {
ASSERT_NE(encoding_mode_, ::libvpx_test::kRealTime);
::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0,
- 90);
+ 60);
target_level_ = 11;
cfg_.rc_target_bitrate = 150;
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
@@ -76,10 +76,10 @@
ASSERT_EQ(target_level_, level_);
}
-TEST_P(LevelTest, TestTargetLevel20) {
+TEST_P(LevelTest, TestTargetLevel20Large) {
ASSERT_NE(encoding_mode_, ::libvpx_test::kRealTime);
::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288,
- 30, 1, 0, 90);
+ 30, 1, 0, 60);
target_level_ = 20;
cfg_.rc_target_bitrate = 1200;
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
@@ -86,7 +86,7 @@
ASSERT_EQ(target_level_, level_);
}
-TEST_P(LevelTest, TestTargetLevel31) {
+TEST_P(LevelTest, TestTargetLevel31Large) {
ASSERT_NE(encoding_mode_, ::libvpx_test::kRealTime);
::libvpx_test::I420VideoSource video("niklas_1280_720_30.y4m", 1280, 720, 30,
1, 0, 60);