]> granicus.if.org Git - libvpx/commitdiff
VP9 dynamic resize: enable resize unit test(DownUp).
authorjackychen <jackychen@google.com>
Mon, 9 Nov 2015 22:04:58 +0000 (14:04 -0800)
committerjackychen <jackychen@google.com>
Mon, 9 Nov 2015 22:04:58 +0000 (14:04 -0800)
The unit test requires a longer clip which is already in the repo.

Change-Id: Ic42e8d83e636fafd20d485a7f5f8422835319245

test/resize_test.cc

index 49befaa19df136b63d034a45c9cf15f55011b8ce..7a5240e08c7080c47c1870cea180b934a4f949d7 100644 (file)
@@ -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.