From: jackychen Date: Mon, 9 Nov 2015 22:04:58 +0000 (-0800) Subject: VP9 dynamic resize: enable resize unit test(DownUp). X-Git-Tag: v1.6.0~571^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0465aa45ea799861c688db06b0d82da67f4b3d7f;p=libvpx VP9 dynamic resize: enable resize unit test(DownUp). The unit test requires a longer clip which is already in the repo. Change-Id: Ic42e8d83e636fafd20d485a7f5f8422835319245 --- diff --git a/test/resize_test.cc b/test/resize_test.cc index 49befaa19..7a5240e08 100644 --- a/test/resize_test.cc +++ b/test/resize_test.cc @@ -378,13 +378,9 @@ TEST_P(ResizeInternalRealtimeTest, TestInternalResizeDown) { // 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.