shithub: libvpx

Download patch

ref: 9ba77ed45b022390957b52e9f90ef9a45066a257
parent: 3fcd595dfbed102d516080c41778a562dffef53d
author: Marco <marpan@google.com>
date: Wed Dec 21 05:19:44 EST 2016

vp9; Fix to unitest for high noise.

Source if y4m, and fix comment.

Change-Id: I1eb84977d42dd0f9009c276b56b3fdb03949bfc2

--- a/test/datarate_test.cc
+++ b/test/datarate_test.cc
@@ -988,7 +988,7 @@
 }
 
 // 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 @@
   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),