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

Unified Diff: remoting/host/video_scheduler.h

Issue 304653002: Extend VideoControl to allow clients to request lossless modes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 6 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
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/host/video_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/video_scheduler.h
diff --git a/remoting/host/video_scheduler.h b/remoting/host/video_scheduler.h
index 94fc7951dbc4e50df29f42518709d848d7eb2c01..2fabb75a879318d2bf2ea8e255ca9ec48559cf40 100644
--- a/remoting/host/video_scheduler.h
+++ b/remoting/host/video_scheduler.h
@@ -112,6 +112,11 @@ class VideoScheduler : public base::RefCountedThreadSafe<VideoScheduler>,
// Sequence numbers are used for performance measurements.
void UpdateSequenceNumber(int64 sequence_number);
+ // Sets whether the video encoder should be requested to encode losslessly,
+ // or to use a lossless color space (typically requiring higher bandwidth).
+ void SetLosslessEncode(bool want_lossless);
+ void SetLosslessColor(bool want_lossless);
+
private:
friend class base::RefCountedThreadSafe<VideoScheduler>;
virtual ~VideoScheduler();
@@ -197,7 +202,7 @@ class VideoScheduler : public base::RefCountedThreadSafe<VideoScheduler>,
// True if capture of video frames is paused.
bool is_paused_;
- // This is a number updated by client to trace performance.
+ // Number updated by the caller to trace performance.
int64 sequence_number_;
// An object to schedule capturing.
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/host/video_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698