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

Unified Diff: remoting/codec/video_encoder_vpx.h

Issue 1150163002: Update VideoFramePump to pass un-changed frames to encoders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments Created 5 years, 7 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: remoting/codec/video_encoder_vpx.h
diff --git a/remoting/codec/video_encoder_vpx.h b/remoting/codec/video_encoder_vpx.h
index d8d39ebdd302f3b24489aec3dc9d97305eacafa9..5edd03c316f3840136eebf325d238530239f8068 100644
--- a/remoting/codec/video_encoder_vpx.h
+++ b/remoting/codec/video_encoder_vpx.h
@@ -76,6 +76,10 @@ class VideoEncoderVpx : public VideoEncoder {
int active_map_width_;
int active_map_height_;
+ // Number of "top-off" frames we've encoded since we were last passed a
+ // frame containing an actual change. Used only when encoding with top-off.
+ int topoff_frame_count_;
Sergey Ulanov 2015/05/26 21:57:22 nit: initialize the value here instead of construc
Wez 2015/06/09 01:46:20 Done. Although the compiler was quite happy with
+
// Used to help initialize VideoPackets from DesktopFrames.
VideoEncoderHelper helper_;

Powered by Google App Engine
This is Rietveld 408576698