| 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 17 matching lines...) Expand all Loading... |
| 28 const bool kHwCodec = false; | 28 const bool kHwCodec = false; |
| 29 const bool kUseSingleCore = true; | 29 const bool kUseSingleCore = true; |
| 30 | 30 |
| 31 // Test settings. | 31 // Test settings. |
| 32 const bool kBatchMode = true; | 32 const bool kBatchMode = true; |
| 33 | 33 |
| 34 // Packet loss probability [0.0, 1.0]. | 34 // Packet loss probability [0.0, 1.0]. |
| 35 const float kPacketLoss = 0.0f; | 35 const float kPacketLoss = 0.0f; |
| 36 | 36 |
| 37 const VisualizationParams kVisualizationParams = { | 37 const VisualizationParams kVisualizationParams = { |
| 38 false, // save_source_y4m | |
| 39 false, // save_encoded_ivf | 38 false, // save_encoded_ivf |
| 40 false, // save_decoded_y4m | 39 false, // save_decoded_y4m |
| 41 }; | 40 }; |
| 42 | 41 |
| 43 const bool kVerboseLogging = true; | 42 const bool kVerboseLogging = true; |
| 44 } // namespace | 43 } // namespace |
| 45 | 44 |
| 46 // Tests for plotting statistics from logs. | 45 // Tests for plotting statistics from logs. |
| 47 class PlotVideoProcessorIntegrationTest | 46 class PlotVideoProcessorIntegrationTest |
| 48 : public VideoProcessorIntegrationTest, | 47 : public VideoProcessorIntegrationTest, |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 TEST_P(PlotVideoProcessorIntegrationTest, Process320x240) { | 123 TEST_P(PlotVideoProcessorIntegrationTest, Process320x240) { |
| 125 RunTest(320, 240, "foreman_320x240"); | 124 RunTest(320, 240, "foreman_320x240"); |
| 126 } | 125 } |
| 127 | 126 |
| 128 TEST_P(PlotVideoProcessorIntegrationTest, Process352x288) { | 127 TEST_P(PlotVideoProcessorIntegrationTest, Process352x288) { |
| 129 RunTest(352, 288, "foreman_cif"); | 128 RunTest(352, 288, "foreman_cif"); |
| 130 } | 129 } |
| 131 | 130 |
| 132 } // namespace test | 131 } // namespace test |
| 133 } // namespace webrtc | 132 } // namespace webrtc |
| OLD | NEW |