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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.cc

Issue 1417683006: modules: more interface -> include renames (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix last incorrectly wrapped pragma message 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
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
11 #include <limits> 11 #include <limits>
12 12
13 #include "webrtc/base/checks.h" 13 #include "webrtc/base/checks.h"
14 #include "webrtc/base/logging.h" 14 #include "webrtc/base/logging.h"
15 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_s end_time.h" 15 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_s end_time.h"
16 #include "webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.h" 16 #include "webrtc/modules/remote_bitrate_estimator/transport_feedback_adapter.h"
17 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" 17 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
18 #include "webrtc/modules/utility/interface/process_thread.h" 18 #include "webrtc/modules/utility/include/process_thread.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 const int64_t kNoTimestamp = -1; 22 const int64_t kNoTimestamp = -1;
23 const int64_t kSendTimeHistoryWindowMs = 10000; 23 const int64_t kSendTimeHistoryWindowMs = 10000;
24 const int64_t kBaseTimestampScaleFactor = 24 const int64_t kBaseTimestampScaleFactor =
25 rtcp::TransportFeedback::kDeltaScaleFactor * (1 << 8); 25 rtcp::TransportFeedback::kDeltaScaleFactor * (1 << 8);
26 const int64_t kBaseTimestampRangeSizeUs = kBaseTimestampScaleFactor * (1 << 24); 26 const int64_t kBaseTimestampRangeSizeUs = kBaseTimestampScaleFactor * (1 << 24);
27 27
28 TransportFeedbackAdapter::TransportFeedbackAdapter( 28 TransportFeedbackAdapter::TransportFeedbackAdapter(
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 rtcp_bandwidth_observer_->OnReceivedEstimatedBitrate(bitrate); 126 rtcp_bandwidth_observer_->OnReceivedEstimatedBitrate(bitrate);
127 } 127 }
128 128
129 void TransportFeedbackAdapter::OnRttUpdate(int64_t avg_rtt_ms, 129 void TransportFeedbackAdapter::OnRttUpdate(int64_t avg_rtt_ms,
130 int64_t max_rtt_ms) { 130 int64_t max_rtt_ms) {
131 RTC_DCHECK(bitrate_estimator_.get() != nullptr); 131 RTC_DCHECK(bitrate_estimator_.get() != nullptr);
132 bitrate_estimator_->OnRttUpdate(avg_rtt_ms, max_rtt_ms); 132 bitrate_estimator_->OnRttUpdate(avg_rtt_ms, max_rtt_ms);
133 } 133 }
134 134
135 } // namespace webrtc 135 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698