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

Unified Diff: remoting/client/rectangle_update_decoder.h

Issue 8985007: Refactoring of the client-side input pipeline and scaling dimension management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include SkTypes.h before SkSize.h to fix win build. Created 9 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 | « remoting/client/plugin/pepper_view_proxy.cc ('k') | remoting/client/rectangle_update_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/rectangle_update_decoder.h
diff --git a/remoting/client/rectangle_update_decoder.h b/remoting/client/rectangle_update_decoder.h
index 33bee55d7b372a14ef15c91cf59e242103057ecf..9af727a2e94b5c254fad74b6869ba1383b427c5d 100644
--- a/remoting/client/rectangle_update_decoder.h
+++ b/remoting/client/rectangle_update_decoder.h
@@ -39,15 +39,12 @@ class RectangleUpdateDecoder :
// executed.
void DecodePacket(const VideoPacket* packet, const base::Closure& done);
- // Set the scale ratio for the decoded video frame. Scale ratio greater
- // than 1.0 is not supported.
- void SetScaleRatios(double horizontal_ratio, double vertical_ratio);
+ // Set the output dimensions to scale video output to.
+ void SetOutputSize(const SkISize& size);
// Set a new clipping rectangle for the decoder. Decoder should respect
// this clipping rectangle and only decode content in this rectangle and
// report dirty rectangles accordingly to enhance performance.
- //
- // If scale ratio is not 1.0 then clipping rectangle is ignored.
void UpdateClipRect(const SkIRect& clip_rect);
// Force the decoder to output the last decoded video frame without any
« no previous file with comments | « remoting/client/plugin/pepper_view_proxy.cc ('k') | remoting/client/rectangle_update_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698