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

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

Issue 1470043002: Support texture scaling in Androids MediaEncoder (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed pbos comments. Created 5 years, 1 month 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 a1233cca517e4b63204228eba30936e55f58e442..2e3efdee33103796beb4b6093febd51a02522402 100644
--- a/webrtc/modules/video_coding/utility/quality_scaler.h
+++ b/webrtc/modules/video_coding/utility/quality_scaler.h
@@ -34,7 +34,7 @@ class QualityScaler {
void ReportDroppedFrame();
void Reset(int framerate, int bitrate, int width, int height);
void OnEncodeFrame(const VideoFrame& frame);
- Resolution GetScaledResolution() const;
+ const Resolution& GetScaledResolution() const;
magjed_webrtc 2015/11/26 13:23:34 I don't like this change. I prefer to return non-r
const VideoFrame& GetScaledFrame(const VideoFrame& frame);
int GetTargetFramerate() const;
int downscale_shift() const { return downscale_shift_; }
« no previous file with comments | « talk/app/webrtc/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