Remove frame rate and target bitrate from ProtectionBitrateCalculator::SetEncodingData
These arguments are not really known when calling SetEncodingData. They are still provided as argument to ProtectionBitrateCalculator::SetTargetRates though. This cl is broken out from https://codereview.webrtc.org/2060403002/ BUG=webrtc:5687 Review-Url: https://codereview.webrtc.org/2121983002 Cr-Commit-Position: refs/heads/master@{#13429}
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user