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

Unified Diff: remoting/codec/video_encoder_vpx.h

Issue 1092813003: Enable Cyclic Refresh for VP9. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chromium_vp9_6_1
Patch Set: Created 5 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
« no previous file with comments | « no previous file | remoting/codec/video_encoder_vpx.cc » ('j') | remoting/codec/video_encoder_vpx.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/codec/video_encoder_vpx.h
diff --git a/remoting/codec/video_encoder_vpx.h b/remoting/codec/video_encoder_vpx.h
index a7433a16d9b7068ffa8da54c03b4db47654c94b6..d8d39ebdd302f3b24489aec3dc9d97305eacafa9 100644
--- a/remoting/codec/video_encoder_vpx.h
+++ b/remoting/codec/video_encoder_vpx.h
@@ -47,7 +47,11 @@ class VideoEncoderVpx : public VideoEncoder {
// Updates the active map according to |updated_region|. Active map is then
// given to the encoder to speed up encoding.
- void PrepareActiveMap(const webrtc::DesktopRegion& updated_region);
+ void SetActiveMapFromRegion(const webrtc::DesktopRegion& updated_region);
+
+ // Adds areas changed in the most recent frame to |updated_region|. This
+ // includes both content changes and areas enhanced by cyclic refresh.
+ void UpdateRegionFromActiveMap(webrtc::DesktopRegion* updated_region);
// True if the encoder is for VP9, false for VP8.
const bool use_vp9_;
« no previous file with comments | « no previous file | remoting/codec/video_encoder_vpx.cc » ('j') | remoting/codec/video_encoder_vpx.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698