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

Unified Diff: webrtc/video/send_statistics_proxy.h

Issue 2398963003: Move usage of QualityScaler to ViEEncoder. (Closed)
Patch Set: Stats now properly reflect scaling status Created 4 years, 2 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/video/send_statistics_proxy.h
diff --git a/webrtc/video/send_statistics_proxy.h b/webrtc/video/send_statistics_proxy.h
index b80474e5fb746b4fe28eb5b3a5a844cedf7a2cdd..7f8a3db42140adb5beb634244f362cb10d746fee 100644
--- a/webrtc/video/send_statistics_proxy.h
+++ b/webrtc/video/send_statistics_proxy.h
@@ -54,10 +54,11 @@ class SendStatisticsProxy : public CpuOveruseMetricsObserver,
virtual void OnSendEncodedImage(const EncodedImage& encoded_image,
const CodecSpecificInfo* codec_info);
// Used to update incoming frame rate.
- void OnIncomingFrame(int width, int height, bool is_cpu_restricted);
+ void OnIncomingFrame(int width, int height);
- void SetCpuRestrictedResolution(bool cpu_restricted);
void OnCpuRestrictedResolutionChanged(bool cpu_restricted_resolution);
+ void OnQualityRestrictedResolutionChanged(bool restricted);
+ void SetResolutionRestrictionStats(bool bandwidth, bool cpu);
void OnEncoderStatsUpdate(uint32_t framerate, uint32_t bitrate);
void OnSuspendChange(bool is_suspended);

Powered by Google App Engine
This is Rietveld 408576698