Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc

Issue 3004583002: Change frame bookkeeping in VideoProcessorIntegrationTest. (Closed)
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 20 matching lines...) Expand all
31 31
32 // Test settings. 32 // Test settings.
33 const bool kBatchMode = true; 33 const bool kBatchMode = true;
34 const bool kVerboseLogging = true; 34 const bool kVerboseLogging = true;
35 const float kPacketLoss = 0.0f; 35 const float kPacketLoss = 0.0f;
36 const VisualizationParams kVisualizationParams = { 36 const VisualizationParams kVisualizationParams = {
37 false, // save_encoded_ivf 37 false, // save_encoded_ivf
38 false, // save_decoded_y4m 38 false, // save_decoded_y4m
39 }; 39 };
40 40
41 const int kNumFrames = 299; 41 const int kNumFrames = 300;
42 42
43 } // namespace 43 } // namespace
44 44
45 // Tests for plotting statistics from logs. 45 // Tests for plotting statistics from logs.
46 class PlotVideoProcessorIntegrationTest 46 class PlotVideoProcessorIntegrationTest
47 : public VideoProcessorIntegrationTest, 47 : public VideoProcessorIntegrationTest,
48 public ::testing::WithParamInterface< 48 public ::testing::WithParamInterface<
49 ::testing::tuple<int, VideoCodecType, bool>> { 49 ::testing::tuple<int, VideoCodecType, bool>> {
50 protected: 50 protected:
51 PlotVideoProcessorIntegrationTest() 51 PlotVideoProcessorIntegrationTest()
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 TEST_P(PlotVideoProcessorIntegrationTest, Process_320x240_30fps) { 103 TEST_P(PlotVideoProcessorIntegrationTest, Process_320x240_30fps) {
104 RunTest(320, 240, 30, "foreman_320x240"); 104 RunTest(320, 240, 30, "foreman_320x240");
105 } 105 }
106 106
107 TEST_P(PlotVideoProcessorIntegrationTest, Process_352x288_30fps) { 107 TEST_P(PlotVideoProcessorIntegrationTest, Process_352x288_30fps) {
108 RunTest(352, 288, 30, "foreman_cif"); 108 RunTest(352, 288, 30, "foreman_cif");
109 } 109 }
110 110
111 } // namespace test 111 } // namespace test
112 } // namespace webrtc 112 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698