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

Unified Diff: webrtc/modules/remote_bitrate_estimator/inter_arrival.h

Issue 1376423002: Make overuse estimator one dimensional. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Further cleanups. 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/remote_bitrate_estimator/inter_arrival.h
diff --git a/webrtc/modules/remote_bitrate_estimator/inter_arrival.h b/webrtc/modules/remote_bitrate_estimator/inter_arrival.h
index 427bafcf96ffaedea1ce6ffca4ab8c56635b54f4..233e7130cdde546f942e3f728edbc5d4e941092a 100644
--- a/webrtc/modules/remote_bitrate_estimator/inter_arrival.h
+++ b/webrtc/modules/remote_bitrate_estimator/inter_arrival.h
@@ -34,22 +34,17 @@ class InterArrival {
// group is still incomplete or if only one group has been completed.
// |timestamp| is the timestamp.
// |arrival_time_ms| is the local time at which the packet arrived.
- // |packet_size| is the size of the packet.
// |timestamp_delta| (output) is the computed timestamp delta.
// |arrival_time_delta_ms| (output) is the computed arrival-time delta.
- // |packet_size_delta| (output) is the computed size delta.
bool ComputeDeltas(uint32_t timestamp,
int64_t arrival_time_ms,
- size_t packet_size,
uint32_t* timestamp_delta,
- int64_t* arrival_time_delta_ms,
- int* packet_size_delta);
+ int64_t* arrival_time_delta_ms);
private:
struct TimestampGroup {
TimestampGroup()
- : size(0),
- first_timestamp(0),
+ : first_timestamp(0),
timestamp(0),
complete_time_ms(-1) {}
@@ -57,7 +52,6 @@ class InterArrival {
return complete_time_ms == -1;
}
- size_t size;
uint32_t first_timestamp;
uint32_t timestamp;
int64_t complete_time_ms;

Powered by Google App Engine
This is Rietveld 408576698