Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 #ifndef WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ | 10 #ifndef WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 79 std::vector<VideoStream> streams; // If empty, one stream is assumed. | 79 std::vector<VideoStream> streams; // If empty, one stream is assumed. |
| 80 size_t selected_stream; | 80 size_t selected_stream; |
| 81 int num_spatial_layers; | 81 int num_spatial_layers; |
| 82 int selected_sl; | 82 int selected_sl; |
| 83 // If empty, bitrates are generated in VP9Impl automatically. | 83 // If empty, bitrates are generated in VP9Impl automatically. |
| 84 std::vector<SpatialLayer> spatial_layers; | 84 std::vector<SpatialLayer> spatial_layers; |
| 85 // If set, default parameters will be used instead of |streams|. | 85 // If set, default parameters will be used instead of |streams|. |
| 86 bool infer_streams; | 86 bool infer_streams; |
| 87 } ss; | 87 } ss; |
| 88 int num_thumbnails; | 88 int num_thumbnails; |
| 89 std::string rtc_event_log_name; | |
| 90 std::string rtp_dump_name; | |
|
sprang_webrtc
2017/07/12 13:27:06
Could you perhaps create a new substruct here call
ilnik
2017/07/12 13:58:53
Done.
num_thumbnails is more of a call property,
| |
| 89 }; | 91 }; |
| 90 | 92 |
| 91 VideoQualityTest(); | 93 VideoQualityTest(); |
| 92 void RunWithAnalyzer(const Params& params); | 94 void RunWithAnalyzer(const Params& params); |
| 93 void RunWithRenderers(const Params& params); | 95 void RunWithRenderers(const Params& params); |
| 94 | 96 |
| 95 static void FillScalabilitySettings( | 97 static void FillScalabilitySettings( |
| 96 Params* params, | 98 Params* params, |
| 97 const std::vector<std::string>& stream_descriptors, | 99 const std::vector<std::string>& stream_descriptors, |
| 98 int num_streams, | 100 int num_streams, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 153 int send_logs_; | 155 int send_logs_; |
| 154 | 156 |
| 155 VideoSendStream::DegradationPreference degradation_preference_ = | 157 VideoSendStream::DegradationPreference degradation_preference_ = |
| 156 VideoSendStream::DegradationPreference::kMaintainFramerate; | 158 VideoSendStream::DegradationPreference::kMaintainFramerate; |
| 157 Params params_; | 159 Params params_; |
| 158 }; | 160 }; |
| 159 | 161 |
| 160 } // namespace webrtc | 162 } // namespace webrtc |
| 161 | 163 |
| 162 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ | 164 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ |
| OLD | NEW |