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