Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: webrtc/modules/video_coding/utility/quality_scaler.h

Issue 1867643003: Make QualityScaler not downscale below QVGA. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: update test Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 34dda0e9f37a44fb8f6cfdf03b0837ee13c90386..1720107b90b980e24d4e2225ec212c963af846bf 100644
--- a/webrtc/modules/video_coding/utility/quality_scaler.h
+++ b/webrtc/modules/video_coding/utility/quality_scaler.h
@@ -18,7 +18,6 @@ namespace webrtc {
class QualityScaler {
public:
static const int kDefaultLowQpDenominator;
- static const int kDefaultMinDownscaleDimension;
struct Resolution {
int width;
int height;
@@ -32,7 +31,6 @@ class QualityScaler {
int width,
int height,
int fps);
- void SetMinResolution(int min_width, int min_height);
void ReportFramerate(int framerate);
void ReportQP(int qp);
void ReportDroppedFrame();
@@ -68,8 +66,6 @@ class QualityScaler {
int downscale_shift_;
int framerate_down_;
bool use_framerate_reduction_;
- int min_width_;
- int min_height_;
};
} // namespace webrtc
« no previous file with comments | « webrtc/api/java/jni/androidmediaencoder_jni.cc ('k') | webrtc/modules/video_coding/utility/quality_scaler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698