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

Side by Side Diff: webrtc/video/video_quality_test.h

Issue 3003193002: Add a new frame generator that cycles through randomly generated slides. (Closed)
Patch Set: Patchset 3C. 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
OLDNEW
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 std::string clip_name; // "Generator" to generate frames instead. 54 std::string clip_name; // "Generator" to generate frames instead.
55 size_t capture_device_index; 55 size_t capture_device_index;
56 } video; 56 } video;
57 struct Audio { 57 struct Audio {
58 bool enabled; 58 bool enabled;
59 bool sync_video; 59 bool sync_video;
60 bool dtx; 60 bool dtx;
61 } audio; 61 } audio;
62 struct Screenshare { 62 struct Screenshare {
63 bool enabled; 63 bool enabled;
64 bool generate_slides;
64 int32_t slide_change_interval; 65 int32_t slide_change_interval;
65 int32_t scroll_duration; 66 int32_t scroll_duration;
66 std::vector<std::string> slides; 67 std::vector<std::string> slides;
67 } screenshare; 68 } screenshare;
68 struct Analyzer { 69 struct Analyzer {
69 std::string test_label; 70 std::string test_label;
70 double avg_psnr_threshold; // (*) 71 double avg_psnr_threshold; // (*)
71 double avg_ssim_threshold; // (*) 72 double avg_ssim_threshold; // (*)
72 int test_durations_secs; 73 int test_durations_secs;
73 std::string graph_data_output_filename; 74 std::string graph_data_output_filename;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 int send_logs_; 158 int send_logs_;
158 159
159 VideoSendStream::DegradationPreference degradation_preference_ = 160 VideoSendStream::DegradationPreference degradation_preference_ =
160 VideoSendStream::DegradationPreference::kMaintainFramerate; 161 VideoSendStream::DegradationPreference::kMaintainFramerate;
161 Params params_; 162 Params params_;
162 }; 163 };
163 164
164 } // namespace webrtc 165 } // namespace webrtc
165 166
166 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ 167 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698