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

Side by Side Diff: remoting/client/rectangle_update_decoder.h

Issue 10873047: Renamed Decoder -> VideoDecoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/client/rectangle_update_decoder.cc » ('j') | remoting/codec/codec_test.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_ 5 #ifndef REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_
6 #define REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_ 6 #define REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 friend class base::RefCountedThreadSafe<RectangleUpdateDecoder>; 63 friend class base::RefCountedThreadSafe<RectangleUpdateDecoder>;
64 virtual ~RectangleUpdateDecoder(); 64 virtual ~RectangleUpdateDecoder();
65 65
66 // Paints the invalidated region to the next available buffer and returns it 66 // Paints the invalidated region to the next available buffer and returns it
67 // to the consumer. 67 // to the consumer.
68 void SchedulePaint(); 68 void SchedulePaint();
69 void DoPaint(); 69 void DoPaint();
70 70
71 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 71 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
72 scoped_refptr<FrameConsumerProxy> consumer_; 72 scoped_refptr<FrameConsumerProxy> consumer_;
73 scoped_ptr<Decoder> decoder_; 73 scoped_ptr<VideoDecoder> decoder_;
74 74
75 // Remote screen size in pixels. 75 // Remote screen size in pixels.
76 SkISize source_size_; 76 SkISize source_size_;
77 77
78 // Vertical and horizontal DPI of the remote screen. 78 // Vertical and horizontal DPI of the remote screen.
79 SkIPoint source_dpi_; 79 SkIPoint source_dpi_;
80 80
81 // The current dimentions of the frame consumer view. 81 // The current dimentions of the frame consumer view.
82 SkISize view_size_; 82 SkISize view_size_;
83 SkIRect clip_area_; 83 SkIRect clip_area_;
84 84
85 // The drawing buffers supplied by the frame consumer. 85 // The drawing buffers supplied by the frame consumer.
86 std::list<pp::ImageData*> buffers_; 86 std::list<pp::ImageData*> buffers_;
87 87
88 // Flag used to coalesce runs of SchedulePaint()s into a single DoPaint(). 88 // Flag used to coalesce runs of SchedulePaint()s into a single DoPaint().
89 bool paint_scheduled_; 89 bool paint_scheduled_;
90 }; 90 };
91 91
92 } // namespace remoting 92 } // namespace remoting
93 93
94 #endif // REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_ 94 #endif // REMOTING_CLIENT_RECTANGLE_UPDATE_DECODER_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/client/rectangle_update_decoder.cc » ('j') | remoting/codec/codec_test.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698