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

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

Issue 5139006: FBTF: Remove unneeded headers from base/ (part 10) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac, cros build Created 10 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 | Annotate | Revision Log
« no previous file with comments | « remoting/base/codec_test.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/task.h"
11 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
12 #include "gfx/rect.h" 11 #include "gfx/rect.h"
13 #include "media/base/video_frame.h" 12 #include "media/base/video_frame.h"
14 #include "remoting/proto/video.pb.h" 13 #include "remoting/proto/video.pb.h"
15 14
15 class Task;
16
16 namespace remoting { 17 namespace remoting {
17 18
18 typedef std::vector<gfx::Rect> UpdatedRects; 19 typedef std::vector<gfx::Rect> UpdatedRects;
19 20
20 // Interface for a decoder that takes a stream of bytes from the network and 21 // Interface for a decoder that takes a stream of bytes from the network and
21 // outputs frames of data. 22 // outputs frames of data.
22 // 23 //
23 // TODO(ajwong): Beef up this documentation once the API stablizes. 24 // TODO(ajwong): Beef up this documentation once the API stablizes.
24 class Decoder { 25 class Decoder {
25 public: 26 public:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 58
58 // Returns true if decoder is ready to accept data via DecodePacket. 59 // Returns true if decoder is ready to accept data via DecodePacket.
59 virtual bool IsReadyForData() = 0; 60 virtual bool IsReadyForData() = 0;
60 61
61 virtual VideoPacketFormat::Encoding Encoding() = 0; 62 virtual VideoPacketFormat::Encoding Encoding() = 0;
62 }; 63 };
63 64
64 } // namespace remoting 65 } // namespace remoting
65 66
66 #endif // REMOTING_BASE_DECODER_H_ 67 #endif // REMOTING_BASE_DECODER_H_
OLDNEW
« no previous file with comments | « remoting/base/codec_test.cc ('k') | remoting/base/decoder_row_based.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698