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

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

Issue 2936393002: Add cropping to VIEEncoder to match simulcast streams resolution (Closed)
Patch Set: Fix typo Created 3 years, 6 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
« no previous file with comments | « webrtc/video/full_stack_tests.cc ('k') | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 int target_bitrate_bps; 44 int target_bitrate_bps;
45 int max_bitrate_bps; 45 int max_bitrate_bps;
46 bool suspend_below_min_bitrate; 46 bool suspend_below_min_bitrate;
47 std::string codec; 47 std::string codec;
48 int num_temporal_layers; 48 int num_temporal_layers;
49 int selected_tl; 49 int selected_tl;
50 int min_transmit_bps; 50 int min_transmit_bps;
51 bool ulpfec; 51 bool ulpfec;
52 bool flexfec; 52 bool flexfec;
53 std::string encoded_frame_base_path; 53 std::string encoded_frame_base_path;
54 std::string clip_name; 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 int32_t slide_change_interval; 64 int32_t slide_change_interval;
(...skipping 10 matching lines...) Expand all
75 } analyzer; 75 } analyzer;
76 FakeNetworkPipe::Config pipe; 76 FakeNetworkPipe::Config pipe;
77 bool logs; 77 bool logs;
78 struct SS { // Spatial scalability. 78 struct SS { // Spatial scalability.
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|.
86 bool infer_streams;
85 } ss; 87 } ss;
86 int num_thumbnails; 88 int num_thumbnails;
87 }; 89 };
88 90
89 VideoQualityTest(); 91 VideoQualityTest();
90 void RunWithAnalyzer(const Params& params); 92 void RunWithAnalyzer(const Params& params);
91 void RunWithRenderers(const Params& params); 93 void RunWithRenderers(const Params& params);
92 94
93 static void FillScalabilitySettings( 95 static void FillScalabilitySettings(
94 Params* params, 96 Params* params,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 int send_logs_; 153 int send_logs_;
152 154
153 VideoSendStream::DegradationPreference degradation_preference_ = 155 VideoSendStream::DegradationPreference degradation_preference_ =
154 VideoSendStream::DegradationPreference::kMaintainFramerate; 156 VideoSendStream::DegradationPreference::kMaintainFramerate;
155 Params params_; 157 Params params_;
156 }; 158 };
157 159
158 } // namespace webrtc 160 } // namespace webrtc
159 161
160 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ 162 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_
OLDNEW
« no previous file with comments | « webrtc/video/full_stack_tests.cc ('k') | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698