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

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

Issue 7992011: Move us fully from gfx:: over to skia types for consistency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for bad DEPS Created 9 years, 2 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 | « remoting/base/decoder_vp8.cc ('k') | remoting/base/encoder_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_ENCODER_ROW_BASED_H_ 5 #ifndef REMOTING_BASE_ENCODER_ROW_BASED_H_
6 #define REMOTING_BASE_ENCODER_ROW_BASED_H_ 6 #define REMOTING_BASE_ENCODER_ROW_BASED_H_
7 7
8 #include "remoting/base/encoder.h" 8 #include "remoting/base/encoder.h"
9 #include "remoting/proto/video.pb.h" 9 #include "remoting/proto/video.pb.h"
10 #include "third_party/skia/include/core/SkRect.h" 10 #include "third_party/skia/include/core/SkRect.h"
11 #include "ui/gfx/size.h"
12 11
13 namespace remoting { 12 namespace remoting {
14 13
15 class Compressor; 14 class Compressor;
16 class UpdateStreamPacket; 15 class UpdateStreamPacket;
17 16
18 // EncoderRowBased implements an Encoder using zlib or verbatim 17 // EncoderRowBased implements an Encoder using zlib or verbatim
19 // compression. Zlib-based encoder must be created using 18 // compression. Zlib-based encoder must be created using
20 // CreateZlibEncoder(), verbatim encoder is created with 19 // CreateZlibEncoder(), verbatim encoder is created with
21 // CreateVerbatimEncoder(). 20 // CreateVerbatimEncoder().
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 54
56 // The encoding of the incoming stream. 55 // The encoding of the incoming stream.
57 VideoPacketFormat::Encoding encoding_; 56 VideoPacketFormat::Encoding encoding_;
58 57
59 scoped_ptr<Compressor> compressor_; 58 scoped_ptr<Compressor> compressor_;
60 59
61 scoped_refptr<CaptureData> capture_data_; 60 scoped_refptr<CaptureData> capture_data_;
62 scoped_ptr<DataAvailableCallback> callback_; 61 scoped_ptr<DataAvailableCallback> callback_;
63 62
64 // The most recent screen size. 63 // The most recent screen size.
65 gfx::Size screen_size_; 64 SkISize screen_size_;
66 65
67 int packet_size_; 66 int packet_size_;
68 }; 67 };
69 68
70 } // namespace remoting 69 } // namespace remoting
71 70
72 #endif // REMOTING_BASE_ENCODER_ROW_BASED_H_ 71 #endif // REMOTING_BASE_ENCODER_ROW_BASED_H_
OLDNEW
« no previous file with comments | « remoting/base/decoder_vp8.cc ('k') | remoting/base/encoder_row_based.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698