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

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

Issue 2121983002: Remove frame rate and target bitrate from ProtectionBitrateCalculator::SetEncodingData (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix size_t problem. Created 4 years, 5 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/video_coding/protection_bitrate_calculator.h
diff --git a/webrtc/modules/video_coding/protection_bitrate_calculator.h b/webrtc/modules/video_coding/protection_bitrate_calculator.h
index 01edc6c60762d4f44be9f6e0cedce8ca9ae22464..a12dcfc66ad3be00b9965d6b164414cd2ddc732c 100644
--- a/webrtc/modules/video_coding/protection_bitrate_calculator.h
+++ b/webrtc/modules/video_coding/protection_bitrate_calculator.h
@@ -43,10 +43,8 @@ class ProtectionBitrateCalculator {
void SetProtectionMethod(bool enable_fec, bool enable_nack);
// Informs media optimization of initial encoding state.
- void SetEncodingData(uint32_t estimated_bitrate_bps,
- uint16_t width,
- uint16_t height,
- uint32_t frame_rate,
+ void SetEncodingData(size_t width,
+ size_t height,
size_t num_temporal_layers,
size_t max_payload_size);
« no previous file with comments | « webrtc/modules/video_coding/media_opt_util.cc ('k') | webrtc/modules/video_coding/protection_bitrate_calculator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698