]> granicus.if.org Git - libvpx/commitdiff
vp9; Fix to unitest for high noise.
authorMarco <marpan@google.com>
Wed, 21 Dec 2016 18:19:44 +0000 (10:19 -0800)
committerMarco <marpan@google.com>
Wed, 21 Dec 2016 18:22:34 +0000 (10:22 -0800)
Source if y4m, and fix comment.

Change-Id: I1eb84977d42dd0f9009c276b56b3fdb03949bfc2

test/datarate_test.cc

index 8273aa1a3adf4c37586eeaee003055e1dbdad38c..7d4e6a8c22ec37108b8403462e9d47a6f65d02ee 100644 (file)
@@ -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),