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

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

Issue 1287643002: Enabling spatial layers in VP9Impl. Filter layers in the loopback test. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase master + fixing the comment Created 5 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
« no previous file with comments | « webrtc/test/webrtc_test_common.gyp ('k') | webrtc/video/loopback.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 10
(...skipping 15 matching lines...) Expand all
26 struct Config { 26 struct Config {
27 size_t width; 27 size_t width;
28 size_t height; 28 size_t height;
29 int32_t fps; 29 int32_t fps;
30 size_t min_bitrate_kbps; 30 size_t min_bitrate_kbps;
31 size_t start_bitrate_kbps; 31 size_t start_bitrate_kbps;
32 size_t max_bitrate_kbps; 32 size_t max_bitrate_kbps;
33 int32_t min_transmit_bitrate_kbps; 33 int32_t min_transmit_bitrate_kbps;
34 std::string codec; 34 std::string codec;
35 size_t num_temporal_layers; 35 size_t num_temporal_layers;
36 size_t num_spatial_layers;
37 // Discard all temporal/spatial layers with id greater or equal the
38 // threshold. 0 to disable.
39 size_t tl_discard_threshold;
40 size_t sl_discard_threshold;
36 int32_t loss_percent; 41 int32_t loss_percent;
37 int32_t link_capacity_kbps; 42 int32_t link_capacity_kbps;
38 int32_t queue_size; 43 int32_t queue_size;
39 int32_t avg_propagation_delay_ms; 44 int32_t avg_propagation_delay_ms;
40 int32_t std_propagation_delay_ms; 45 int32_t std_propagation_delay_ms;
41 bool logs; 46 bool logs;
42 }; 47 };
43 48
44 explicit Loopback(const Config& config); 49 explicit Loopback(const Config& config);
45 virtual ~Loopback(); 50 virtual ~Loopback();
46 51
47 void Run(); 52 void Run();
48 53
49 protected: 54 protected:
50 virtual VideoEncoderConfig CreateEncoderConfig(); 55 virtual VideoEncoderConfig CreateEncoderConfig();
51 virtual VideoCapturer* CreateCapturer(VideoSendStream* send_stream); 56 virtual VideoCapturer* CreateCapturer(VideoSendStream* send_stream);
52 57
53 const Config config_; 58 const Config config_;
54 Clock* const clock_; 59 Clock* const clock_;
55 }; 60 };
56 61
57 } // namespace test 62 } // namespace test
58 } // namespace webrtc 63 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/webrtc_test_common.gyp ('k') | webrtc/video/loopback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698