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

Unified Diff: webrtc/video_frame.h

Issue 2586783003: Revert of Properly report number of quality downscales in stats. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « webrtc/video/vie_encoder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_frame.h
diff --git a/webrtc/video_frame.h b/webrtc/video_frame.h
index 4c703074db909cee188e7a16edc8c82b81bb41cd..a834f83ddf1333c74e3f3f70779e905248aceec2 100644
--- a/webrtc/video_frame.h
+++ b/webrtc/video_frame.h
@@ -149,10 +149,14 @@
EncodedImage(uint8_t* buffer, size_t length, size_t size)
: _buffer(buffer), _length(length), _size(size) {}
- // TODO(kthelgason): get rid of this struct as it only has a single member
- // remaining.
struct AdaptReason {
- AdaptReason() : bw_resolutions_disabled(-1) {}
+ AdaptReason()
+ : quality_resolution_downscales(-1),
+ bw_resolutions_disabled(-1) {}
+
+ int quality_resolution_downscales; // Number of times this frame is down
+ // scaled in resolution due to quality.
+ // Or -1 if information is not provided.
int bw_resolutions_disabled; // Number of resolutions that are not sent
// due to bandwidth for this frame.
// Or -1 if information is not provided.
« no previous file with comments | « webrtc/video/vie_encoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698