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

Unified Diff: webrtc/modules/video_coding/media_opt_util.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
« no previous file with comments | « no previous file | webrtc/modules/video_coding/media_opt_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/media_opt_util.h
diff --git a/webrtc/modules/video_coding/media_opt_util.h b/webrtc/modules/video_coding/media_opt_util.h
index ad314aca8c24c7f56f28135744f3de9cc029d9e9..26f9332f3c87da80107366c3d87246490db8f508 100644
--- a/webrtc/modules/video_coding/media_opt_util.h
+++ b/webrtc/modules/video_coding/media_opt_util.h
@@ -282,7 +282,7 @@ class VCMLossProtectionLogic {
// Input:
// - width : The codec frame width.
// - height : The codec frame height.
- void UpdateFrameSize(uint16_t width, uint16_t height);
+ void UpdateFrameSize(size_t width, size_t height);
// Update the number of active layers
//
@@ -350,8 +350,8 @@ class VCMLossProtectionLogic {
uint8_t _shortMaxLossPr255;
rtc::ExpFilter _packetsPerFrame;
rtc::ExpFilter _packetsPerFrameKey;
- uint16_t _codecWidth;
- uint16_t _codecHeight;
+ size_t _codecWidth;
+ size_t _codecHeight;
int _numLayers;
};
« no previous file with comments | « no previous file | webrtc/modules/video_coding/media_opt_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698