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

Unified Diff: webrtc/modules/video_coding/media_optimization.h

Issue 2552703005: Remove unused arguments and variable in MediaOptimization. (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/video_coding/media_optimization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/media_optimization.h
diff --git a/webrtc/modules/video_coding/media_optimization.h b/webrtc/modules/video_coding/media_optimization.h
index 62fc37f6c89e75787c431f50d5ece9b7227277b1..290636fdcac7bf7192053f5377c1698dfd478a93 100644
--- a/webrtc/modules/video_coding/media_optimization.h
+++ b/webrtc/modules/video_coding/media_optimization.h
@@ -49,14 +49,8 @@ class MediaOptimization {
int32_t mtu);
// Sets target rates for the encoder given the channel parameters.
- // Inputs: target bitrate - the encoder target bitrate in bits/s.
- // fraction_lost - packet loss rate in % in the network.
- // round_trip_time_ms - round trip time in milliseconds.
- // min_bit_rate - the bit rate of the end-point with lowest rate.
- // max_bit_rate - the bit rate of the end-point with highest rate.
- uint32_t SetTargetRates(uint32_t target_bitrate,
- uint8_t fraction_lost,
- int64_t round_trip_time_ms);
+ // Input: target bitrate - the encoder target bitrate in bits/s.
+ uint32_t SetTargetRates(uint32_t target_bitrate);
void EnableFrameDropper(bool enable);
bool DropFrame();
@@ -115,7 +109,6 @@ class MediaOptimization {
uint16_t codec_height_ GUARDED_BY(crit_sect_);
float user_frame_rate_ GUARDED_BY(crit_sect_);
std::unique_ptr<FrameDropper> frame_dropper_ GUARDED_BY(crit_sect_);
- uint8_t fraction_lost_ GUARDED_BY(crit_sect_);
uint32_t send_statistics_[4] GUARDED_BY(crit_sect_);
uint32_t send_statistics_zero_encode_ GUARDED_BY(crit_sect_);
int32_t max_payload_size_ GUARDED_BY(crit_sect_);
« no previous file with comments | « no previous file | webrtc/modules/video_coding/media_optimization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698