shithub: libvpx

Download patch

ref: 4ec5d7dd18cd684ea4bad14203cb92657f5af5dd
parent: 4800e179fea60bd5b79825a1e6c96e2df7252dec
parent: f5c07b6803a8a9813692447b1db3f7d1e002b893
author: Marco Paniconi <[email protected]>
date: Wed Jan 20 20:39:53 EST 2016

Merge "vp9-svc: Allow frame-dropping in svc datarate control tests."

--- a/test/datarate_test.cc
+++ b/test/datarate_test.cc
@@ -905,9 +905,7 @@
   svc_params_.scaling_factor_den[0] = 288;
   svc_params_.scaling_factor_num[1] = 288;
   svc_params_.scaling_factor_den[1] = 288;
-  // TODO(wonkap/marpan): No frame drop for now, we need to implement correct
-  // frame dropping for SVC.
-  cfg_.rc_dropframe_thresh = 0;
+  cfg_.rc_dropframe_thresh = 10;
   ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288,
                                        30, 1, 0, 200);
   // TODO(wonkap/marpan): Check that effective_datarate for each layer hits the
@@ -949,9 +947,7 @@
   svc_params_.scaling_factor_den[0] = 288;
   svc_params_.scaling_factor_num[1] = 288;
   svc_params_.scaling_factor_den[1] = 288;
-  // TODO(wonkap/marpan): No frame drop for now, we need to implement correct
-  // frame dropping for SVC.
-  cfg_.rc_dropframe_thresh = 0;
+  cfg_.rc_dropframe_thresh = 10;
   ::libvpx_test::I420VideoSource video("niklas_1280_720_30.y4m", 1280, 720,
                                        30, 1, 0, 300);
   cfg_.rc_target_bitrate = 800;