OLD | NEW |
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 #include "remoting/base/decoder_row_based.h" | 5 #include "remoting/base/decoder_row_based.h" |
6 | 6 |
| 7 #include "base/logging.h" |
7 #include "remoting/base/decompressor.h" | 8 #include "remoting/base/decompressor.h" |
8 #include "remoting/base/decompressor_zlib.h" | 9 #include "remoting/base/decompressor_zlib.h" |
9 #include "remoting/base/decompressor_verbatim.h" | 10 #include "remoting/base/decompressor_verbatim.h" |
10 #include "remoting/base/util.h" | 11 #include "remoting/base/util.h" |
11 | 12 |
12 namespace remoting { | 13 namespace remoting { |
13 | 14 |
14 namespace { | 15 namespace { |
15 // Both input and output data are assumed to be RGBA32. | 16 // Both input and output data are assumed to be RGBA32. |
16 const int kBytesPerPixel = 4; | 17 const int kBytesPerPixel = 4; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 175 |
175 void DecoderRowBased::GetUpdatedRects(UpdatedRects* rects) { | 176 void DecoderRowBased::GetUpdatedRects(UpdatedRects* rects) { |
176 rects->push_back(clip_); | 177 rects->push_back(clip_); |
177 } | 178 } |
178 | 179 |
179 VideoPacketFormat::Encoding DecoderRowBased::Encoding() { | 180 VideoPacketFormat::Encoding DecoderRowBased::Encoding() { |
180 return encoding_; | 181 return encoding_; |
181 } | 182 } |
182 | 183 |
183 } // namespace remoting | 184 } // namespace remoting |
OLD | NEW |