| OLD | NEW |
| 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_CODEC_VIDEO_ENCODER_ROW_BASED_H_ |
| 6 #define REMOTING_BASE_ENCODER_ROW_BASED_H_ | 6 #define REMOTING_CODEC_VIDEO_ENCODER_ROW_BASED_H_ |
| 7 | 7 |
| 8 #include "remoting/base/encoder.h" | 8 #include "remoting/codec/video_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 | 11 |
| 12 namespace remoting { | 12 namespace remoting { |
| 13 | 13 |
| 14 class Compressor; | 14 class Compressor; |
| 15 | 15 |
| 16 // EncoderRowBased implements an Encoder using zlib or verbatim | 16 // EncoderRowBased implements an Encoder using zlib or verbatim |
| 17 // compression. Zlib-based encoder must be created using | 17 // compression. Zlib-based encoder must be created using |
| 18 // CreateZlibEncoder(), verbatim encoder is created with | 18 // CreateZlibEncoder(), verbatim encoder is created with |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 DataAvailableCallback callback_; | 61 DataAvailableCallback callback_; |
| 62 | 62 |
| 63 // The most recent screen size. | 63 // The most recent screen size. |
| 64 SkISize screen_size_; | 64 SkISize screen_size_; |
| 65 | 65 |
| 66 int packet_size_; | 66 int packet_size_; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace remoting | 69 } // namespace remoting |
| 70 | 70 |
| 71 #endif // REMOTING_BASE_ENCODER_ROW_BASED_H_ | 71 #endif // REMOTING_CODEC_VIDEO_ENCODER_ROW_BASED_H_ |
| OLD | NEW |