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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/tmmbr_help.cc

Issue 1505993003: [rtp_rtcp] lint build/include errors fixed (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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
11 #include "webrtc/modules/rtp_rtcp/source/tmmbr_help.h" 11 #include "webrtc/modules/rtp_rtcp/source/tmmbr_help.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 #include <string.h>
15
14 #include <limits> 16 #include <limits>
15 #include <string.h> 17
16 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h" 18 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h"
17 19
18 namespace webrtc { 20 namespace webrtc {
19 TMMBRSet::TMMBRSet() : 21 TMMBRSet::TMMBRSet() :
20 _sizeOfSet(0), 22 _sizeOfSet(0),
21 _lengthOfSet(0) 23 _lengthOfSet(0)
22 { 24 {
23 } 25 }
24 26
25 TMMBRSet::~TMMBRSet() 27 TMMBRSet::~TMMBRSet()
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 uint32_t curNetBitRateKbit = _candidateSet.Tmmbr(i); 472 uint32_t curNetBitRateKbit = _candidateSet.Tmmbr(i);
471 if (curNetBitRateKbit < MIN_VIDEO_BW_MANAGEMENT_BITRATE) { 473 if (curNetBitRateKbit < MIN_VIDEO_BW_MANAGEMENT_BITRATE) {
472 curNetBitRateKbit = MIN_VIDEO_BW_MANAGEMENT_BITRATE; 474 curNetBitRateKbit = MIN_VIDEO_BW_MANAGEMENT_BITRATE;
473 } 475 }
474 *minBitrateKbit = curNetBitRateKbit < *minBitrateKbit ? 476 *minBitrateKbit = curNetBitRateKbit < *minBitrateKbit ?
475 curNetBitRateKbit : *minBitrateKbit; 477 curNetBitRateKbit : *minBitrateKbit;
476 } 478 }
477 return true; 479 return true;
478 } 480 }
479 } // namespace webrtc 481 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_utility.cc ('k') | webrtc/modules/rtp_rtcp/test/BWEStandAlone/MatlabPlot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698