| Index: webrtc/modules/video_coding/utility/quality_scaler.h
|
| diff --git a/webrtc/modules/video_coding/utility/quality_scaler.h b/webrtc/modules/video_coding/utility/quality_scaler.h
|
| index 437e6e8baa3d30e56449e043656018230514c7c8..b6d4867be223ef34ac0809b178645089dcc75fae 100644
|
| --- a/webrtc/modules/video_coding/utility/quality_scaler.h
|
| +++ b/webrtc/modules/video_coding/utility/quality_scaler.h
|
| @@ -25,7 +25,6 @@ class QualityScaler {
|
| QualityScaler();
|
| void Init(int low_qp_threshold,
|
| int high_qp_threshold,
|
| - bool use_framerate_reduction,
|
| int initial_bitrate_kbps,
|
| int width,
|
| int height,
|
| @@ -33,11 +32,9 @@ class QualityScaler {
|
| void ReportFramerate(int framerate);
|
| void ReportQP(int qp);
|
| void ReportDroppedFrame();
|
| - void Reset(int framerate, int bitrate, int width, int height);
|
| void OnEncodeFrame(const VideoFrame& frame);
|
| Resolution GetScaledResolution() const;
|
| const VideoFrame& GetScaledFrame(const VideoFrame& frame);
|
| - int GetTargetFramerate() const;
|
| int downscale_shift() const { return downscale_shift_; }
|
|
|
| private:
|
| @@ -56,15 +53,12 @@ class QualityScaler {
|
| MovingAverage<int> average_qp_downscale_;
|
|
|
| int framerate_;
|
| - int target_framerate_;
|
| int low_qp_threshold_;
|
| int high_qp_threshold_;
|
| MovingAverage<int> framedrop_percent_;
|
| Resolution res_;
|
|
|
| int downscale_shift_;
|
| - int framerate_down_;
|
| - bool use_framerate_reduction_;
|
| };
|
|
|
| } // namespace webrtc
|
|
|