From 962c5ce7e8c3477799fc1b3a93ec232ccede4919 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 5 Nov 2015 10:11:39 -0800 Subject: [PATCH] Re-enable VP9 resize test. TBR=stefan@webrtc.org Review URL: https://codereview.webrtc.org/1409973009 . Cr-Commit-Position: refs/heads/master@{#10530} --- .../codecs/test/videoprocessor_integrationtest.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc b/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc index 344ff83b4c..95775d5d51 100644 --- a/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc +++ b/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc @@ -728,11 +728,9 @@ TEST_F(VideoProcessorIntegrationTest, ProcessNoLossDenoiserOnVP9) { } // Run with no packet loss, at low bitrate. -// spatial_resize is on, and for this low bitrate expect two resizes during the -// sequence; first resize is 3/4, second is 1/2 (from original). +// spatial_resize is on, for this low bitrate expect one resize in sequence. // Resize happens on delta frame. Expect only one key frame (first frame). -TEST_F(VideoProcessorIntegrationTest, - DISABLED_ProcessNoLossSpatialResizeFrameDropVP9) { +TEST_F(VideoProcessorIntegrationTest, ProcessNoLossSpatialResizeFrameDropVP9) { config_.networking_config.packet_loss_probability = 0; // Bitrate and frame rate profile. RateProfile rate_profile; @@ -748,7 +746,7 @@ TEST_F(VideoProcessorIntegrationTest, SetQualityMetrics(&quality_metrics, 25.0, 13.0, 0.70, 0.40); // Metrics for rate control. RateControlMetrics rc_metrics[1]; - SetRateControlMetrics(rc_metrics, 0, 180, 70, 130, 15, 80, 2, 1); + SetRateControlMetrics(rc_metrics, 0, 185, 70, 130, 15, 80, 1, 1); ProcessFramesAndVerify(quality_metrics, rate_profile, process_settings,