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

Side by Side Diff: remoting/base/decoder.h

Issue 8493020: Move code in src/remoting to the new callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: - Created 9 years, 1 month 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
« no previous file with comments | « remoting/base/compound_buffer_unittest.cc ('k') | remoting/base/decoder_row_based.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BASE_DECODER_H_ 5 #ifndef REMOTING_BASE_DECODER_H_
6 #define REMOTING_BASE_DECODER_H_ 6 #define REMOTING_BASE_DECODER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/task.h"
12 #include "media/base/video_frame.h" 11 #include "media/base/video_frame.h"
13 #include "remoting/proto/video.pb.h" 12 #include "remoting/proto/video.pb.h"
14 #include "third_party/skia/include/core/SkRect.h" 13 #include "third_party/skia/include/core/SkRect.h"
15 14
16 namespace remoting { 15 namespace remoting {
17 16
18 typedef std::vector<SkIRect> RectVector; 17 typedef std::vector<SkIRect> RectVector;
19 18
20 // Interface for a decoder that takes a stream of bytes from the network and 19 // Interface for a decoder that takes a stream of bytes from the network and
21 // outputs frames of data. 20 // outputs frames of data.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // Force decoder to output a video frame with content in |rects| using the 73 // Force decoder to output a video frame with content in |rects| using the
75 // last decoded video frame. 74 // last decoded video frame.
76 // 75 //
77 // Coordinates of rectangles supplied here are before scaling. 76 // Coordinates of rectangles supplied here are before scaling.
78 virtual void RefreshRects(const RectVector& rects) {} 77 virtual void RefreshRects(const RectVector& rects) {}
79 }; 78 };
80 79
81 } // namespace remoting 80 } // namespace remoting
82 81
83 #endif // REMOTING_BASE_DECODER_H_ 82 #endif // REMOTING_BASE_DECODER_H_
OLDNEW
« no previous file with comments | « remoting/base/compound_buffer_unittest.cc ('k') | remoting/base/decoder_row_based.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698