| Index: webrtc/video/vie_encoder.h
|
| diff --git a/webrtc/video/vie_encoder.h b/webrtc/video/vie_encoder.h
|
| index f2d7cfdae2084609589bb26b196a273483a457e0..648aee2ca934829c3858cdf4930b5007e51c7976 100644
|
| --- a/webrtc/video/vie_encoder.h
|
| +++ b/webrtc/video/vie_encoder.h
|
| @@ -189,13 +189,14 @@ class ViEEncoder : public rtc::VideoSinkInterface<VideoFrame>,
|
|
|
| std::string ToString() const;
|
|
|
| - void IncrementFramerate(int reason, int delta);
|
| - void IncrementResolution(int reason, int delta);
|
| + void IncrementFramerate(int reason);
|
| + void IncrementResolution(int reason);
|
| + void DecrementFramerate(int reason);
|
| + void DecrementResolution(int reason);
|
|
|
| // Gets the total number of downgrades (for all adapt reasons).
|
| int FramerateCount() const;
|
| int ResolutionCount() const;
|
| - int TotalCount() const;
|
|
|
| // Gets the total number of downgrades for |reason|.
|
| int FramerateCount(int reason) const;
|
| @@ -205,6 +206,7 @@ class ViEEncoder : public rtc::VideoSinkInterface<VideoFrame>,
|
| private:
|
| std::string ToString(const std::vector<int>& counters) const;
|
| int Count(const std::vector<int>& counters) const;
|
| + void MoveCount(std::vector<int>* counters, int from_reason);
|
|
|
| // Degradation counters holding number of framerate/resolution reductions
|
| // per adapt reason.
|
|
|