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:
perkj
2016-07-11 01:47:32 -07:00
committed by Commit bot
parent 5e12d36ba7
commit c2c24f795e
6 changed files with 11 additions and 22 deletions

View File

@ -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;
};