shithub: libvpx

Download patch

ref: b5770a20076387cf39fd1faff2a33826e18812e2
parent: 9ba45fa510ca09dcbcfa3cb9e6038d5c389be98c
parent: 9ba77ed45b022390957b52e9f90ef9a45066a257
author: Marco Paniconi <marpan@google.com>
date: Wed Dec 21 14:38:00 EST 2016

Merge "vp9; Fix to unitest for high noise."

--- 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),