Index: webrtc/modules/video_coding/utility/include/quality_scaler.h |
diff --git a/webrtc/modules/video_coding/utility/include/quality_scaler.h b/webrtc/modules/video_coding/utility/include/quality_scaler.h |
index 8535171f65d328f931a509612b41de75a4948cb0..e92c55ddc06bb43b9444a16cd6233ccc26a4a5e4 100644 |
--- a/webrtc/modules/video_coding/utility/include/quality_scaler.h |
+++ b/webrtc/modules/video_coding/utility/include/quality_scaler.h |
@@ -25,7 +25,9 @@ class QualityScaler { |
}; |
QualityScaler(); |
- void Init(int low_qp_threshold, bool use_framerate_reduction); |
+ void Init(int low_qp_threshold, |
+ int high_qp_threshold, |
+ bool use_framerate_reduction); |
void SetMinResolution(int min_width, int min_height); |
void ReportFramerate(int framerate); |
void ReportQP(int qp); |
@@ -47,6 +49,7 @@ class QualityScaler { |
int framerate_; |
int target_framerate_; |
int low_qp_threshold_; |
+ int high_qp_threshold_; |
MovingAverage<int> framedrop_percent_; |
MovingAverage<int> average_qp_; |
Resolution res_; |