ref: 0465aa45ea799861c688db06b0d82da67f4b3d7f
parent: cdec99b2437e9e369d3ca6597d9abfb1ac608a1f
author: jackychen <[email protected]>
date: Mon Nov 9 09:04:58 EST 2015
VP9 dynamic resize: enable resize unit test(DownUp). The unit test requires a longer clip which is already in the repo. Change-Id: Ic42e8d83e636fafd20d485a7f5f8422835319245
--- a/test/resize_test.cc
+++ b/test/resize_test.cc
@@ -378,13 +378,9 @@
// Verify the dynamic resizer behavior for real time, 1 pass CBR mode.
// Start at low target bitrate, raise the bitrate in the middle of the clip,
// scaling-up should occur after bitrate changed.
-// TODO(jackychen): Find a longer clip to enable this test. Logic for
-// resizing in 1 pass CBR requires longer sequence to test resize down
-// and back up again.
-TEST_P(ResizeInternalRealtimeTest,
- DISABLED_TestInternalResizeDownUpChangeBitRate) {
+TEST_P(ResizeInternalRealtimeTest, TestInternalResizeDownUpChangeBitRate) {
::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288,
- 30, 1, 0, 299);
+ 30, 1, 0, 359);
DefaultConfig();
change_bitrate_ = true;
// Disable dropped frames.