Merge "Reduce sizes of some of the tests" into nextgenv2

This commit is contained in:
Jingning Han 2016-05-09 02:14:38 +00:00 коммит произвёл Gerrit Code Review
Родитель 569101bed8 a5c4dcb553
Коммит df56fcdf52
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -83,7 +83,7 @@ TEST_P(CpuSpeedTest, TestQ0) {
cfg_.rc_min_quantizer = 0; cfg_.rc_min_quantizer = 0;
::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0,
20); 10);
init_flags_ = VPX_CODEC_USE_PSNR; init_flags_ = VPX_CODEC_USE_PSNR;
@ -92,7 +92,7 @@ TEST_P(CpuSpeedTest, TestQ0) {
} }
TEST_P(CpuSpeedTest, TestScreencastQ0) { TEST_P(CpuSpeedTest, TestScreencastQ0) {
::libvpx_test::Y4mVideoSource video("screendata.y4m", 0, 25); ::libvpx_test::Y4mVideoSource video("screendata.y4m", 0, 10);
cfg_.g_timebase = video.timebase(); cfg_.g_timebase = video.timebase();
cfg_.rc_2pass_vbr_minsection_pct = 5; cfg_.rc_2pass_vbr_minsection_pct = 5;
cfg_.rc_2pass_vbr_maxsection_pct = 2000; cfg_.rc_2pass_vbr_maxsection_pct = 2000;
@ -107,7 +107,7 @@ TEST_P(CpuSpeedTest, TestScreencastQ0) {
} }
TEST_P(CpuSpeedTest, TestTuneScreen) { TEST_P(CpuSpeedTest, TestTuneScreen) {
::libvpx_test::Y4mVideoSource video("screendata.y4m", 0, 25); ::libvpx_test::Y4mVideoSource video("screendata.y4m", 0, 10);
cfg_.g_timebase = video.timebase(); cfg_.g_timebase = video.timebase();
cfg_.rc_2pass_vbr_minsection_pct = 5; cfg_.rc_2pass_vbr_minsection_pct = 5;
cfg_.rc_2pass_vbr_minsection_pct = 2000; cfg_.rc_2pass_vbr_minsection_pct = 2000;
@ -133,7 +133,7 @@ TEST_P(CpuSpeedTest, TestEncodeHighBitrate) {
cfg_.rc_min_quantizer = 0; cfg_.rc_min_quantizer = 0;
::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0,
20); 10);
ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
} }
@ -148,7 +148,7 @@ TEST_P(CpuSpeedTest, TestLowBitrate) {
cfg_.rc_min_quantizer = 40; cfg_.rc_min_quantizer = 40;
::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0,
20); 10);
ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
} }

Просмотреть файл

@ -97,7 +97,7 @@ TEST_P(TileIndependenceTest, MD5Match) {
cfg_.g_lag_in_frames = 12; cfg_.g_lag_in_frames = 12;
cfg_.rc_end_usage = VPX_VBR; cfg_.rc_end_usage = VPX_VBR;
libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 704, 576, libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 704, 144,
timebase.den, timebase.num, 0, 15); timebase.den, timebase.num, 0, 15);
ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); ASSERT_NO_FATAL_FAILURE(RunLoop(&video));