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

Unified Diff: remoting/base/decoder_vp8.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: Rebase. 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
Index: remoting/base/decoder_vp8.h
diff --git a/remoting/base/decoder_vp8.h b/remoting/base/decoder_vp8.h
index 33ec147e2790f61fdd209a062607864171479a32..a89991c2fc577a661eb91cc6ab524d18297a26f9 100644
--- a/remoting/base/decoder_vp8.h
+++ b/remoting/base/decoder_vp8.h
@@ -24,8 +24,7 @@ class DecoderVp8 : public Decoder {
virtual bool IsReadyForData() OVERRIDE;
virtual void Reset() OVERRIDE;
virtual VideoPacketFormat::Encoding Encoding() OVERRIDE;
- virtual void SetScaleRatios(double horizontal_ratio,
- double vertical_ratio) OVERRIDE;
+ virtual void SetOutputSize(const SkISize& size) OVERRIDE;
virtual void SetClipRect(const SkIRect& clip_rect) OVERRIDE;
virtual void RefreshRects(const RectVector& rects) OVERRIDE;
@@ -67,9 +66,8 @@ class DecoderVp8 : public Decoder {
// Clipping rect for the output of the decoder.
SkIRect clip_rect_;
- // Scale factors of the decoded output.
- double horizontal_scale_ratio_;
- double vertical_scale_ratio_;
+ // Output dimensions.
+ SkISize output_size_;
DISALLOW_COPY_AND_ASSIGN(DecoderVp8);
};

Powered by Google App Engine
This is Rietveld 408576698