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

Side by Side Diff: talk/media/webrtc/simulcast.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month 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 | « talk/media/devices/yuvframescapturer.cc ('k') | talk/media/webrtc/webrtcvideocapturer.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 * libjingle 2 * libjingle
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 13 matching lines...) Expand all
24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #include <stdio.h> 28 #include <stdio.h>
29 29
30 #include "talk/media/base/streamparams.h" 30 #include "talk/media/base/streamparams.h"
31 #include "talk/media/webrtc/simulcast.h" 31 #include "talk/media/webrtc/simulcast.h"
32 #include "webrtc/base/common.h" 32 #include "webrtc/base/common.h"
33 #include "webrtc/base/logging.h" 33 #include "webrtc/base/logging.h"
34 #include "webrtc/system_wrappers/interface/field_trial.h" 34 #include "webrtc/system_wrappers/include/field_trial.h"
35 namespace cricket { 35 namespace cricket {
36 36
37 struct SimulcastFormat { 37 struct SimulcastFormat {
38 int width; 38 int width;
39 int height; 39 int height;
40 // The maximum number of simulcast layers can be used for 40 // The maximum number of simulcast layers can be used for
41 // resolutions at |widthxheigh|. 41 // resolutions at |widthxheigh|.
42 size_t max_layers; 42 size_t max_layers;
43 // The maximum bitrate for encoding stream at |widthxheight|, when we are 43 // The maximum bitrate for encoding stream at |widthxheight|, when we are
44 // not sending the next higher spatial stream. 44 // not sending the next higher spatial stream.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 return false; 282 return false;
283 } 283 }
284 284
285 config->tl0_bitrate_kbps = tl0_bitrate; 285 config->tl0_bitrate_kbps = tl0_bitrate;
286 config->tl1_bitrate_kbps = tl1_bitrate; 286 config->tl1_bitrate_kbps = tl1_bitrate;
287 287
288 return true; 288 return true;
289 } 289 }
290 290
291 } // namespace cricket 291 } // namespace cricket
OLDNEW
« no previous file with comments | « talk/media/devices/yuvframescapturer.cc ('k') | talk/media/webrtc/webrtcvideocapturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698