From 9ba77ed45b022390957b52e9f90ef9a45066a257 Mon Sep 17 00:00:00 2001 From: Marco Date: Wed, 21 Dec 2016 10:19:44 -0800 Subject: [PATCH] vp9; Fix to unitest for high noise. Source if y4m, and fix comment. Change-Id: I1eb84977d42dd0f9009c276b56b3fdb03949bfc2 --- test/datarate_test.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/datarate_test.cc b/test/datarate_test.cc index 8273aa1a3..7d4e6a8c2 100644 --- a/test/datarate_test.cc +++ b/test/datarate_test.cc @@ -988,7 +988,7 @@ TEST_P(DatarateTestVP9LargeDenoiser, LowNoise) { } // Check basic datarate targeting, for a single bitrate, when denoiser is on, -// for HD clip with high noise level. +// for clip with high noise level. TEST_P(DatarateTestVP9LargeDenoiser, HighNoise) { cfg_.rc_buf_initial_sz = 500; cfg_.rc_buf_optimal_sz = 500; @@ -999,8 +999,7 @@ TEST_P(DatarateTestVP9LargeDenoiser, HighNoise) { cfg_.rc_end_usage = VPX_CBR; cfg_.g_lag_in_frames = 0; - ::libvpx_test::I420VideoSource video("noisy_clip_640_360.y4m", 640, 360, 30, - 1, 0, 200); + ::libvpx_test::Y4mVideoSource video("noisy_clip_640_360.y4m", 0, 200); // For the temporal denoiser (#if CONFIG_VP9_TEMPORAL_DENOISING), // there is only one denoiser mode: denoiserYonly(which is 1), -- 2.40.0