| 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 16 matching lines...) Expand all Loading... |
| 27 // Unfortunately, C++11 (as opposed to C11) doesn't support unnamed structs, | 27 // Unfortunately, C++11 (as opposed to C11) doesn't support unnamed structs, |
| 28 // which makes the implementation of VideoQualityTest a bit uglier. | 28 // which makes the implementation of VideoQualityTest a bit uglier. |
| 29 struct Params { | 29 struct Params { |
| 30 struct { | 30 struct { |
| 31 size_t width; | 31 size_t width; |
| 32 size_t height; | 32 size_t height; |
| 33 int32_t fps; | 33 int32_t fps; |
| 34 int min_bitrate_bps; | 34 int min_bitrate_bps; |
| 35 int target_bitrate_bps; | 35 int target_bitrate_bps; |
| 36 int max_bitrate_bps; | 36 int max_bitrate_bps; |
| 37 bool suspend_below_min_bitrate; |
| 37 std::string codec; | 38 std::string codec; |
| 38 int num_temporal_layers; | 39 int num_temporal_layers; |
| 39 int selected_tl; | 40 int selected_tl; |
| 40 int min_transmit_bps; | 41 int min_transmit_bps; |
| 41 | 42 |
| 42 Call::Config::BitrateConfig call_bitrate_config; | 43 Call::Config::BitrateConfig call_bitrate_config; |
| 43 bool send_side_bwe; | 44 bool send_side_bwe; |
| 44 bool fec; | 45 bool fec; |
| 45 } common; | 46 } common; |
| 46 struct { // Video-specific settings. | 47 struct { // Video-specific settings. |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 std::unique_ptr<VideoEncoder> encoder_; | 112 std::unique_ptr<VideoEncoder> encoder_; |
| 112 VideoCodecUnion codec_settings_; | 113 VideoCodecUnion codec_settings_; |
| 113 Clock* const clock_; | 114 Clock* const clock_; |
| 114 | 115 |
| 115 Params params_; | 116 Params params_; |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace webrtc | 119 } // namespace webrtc |
| 119 | 120 |
| 120 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ | 121 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ |
| OLD | NEW |