| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |