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

Side by Side Diff: remoting/base/decoder_row_based.cc

Issue 8493020: Move code in src/remoting to the new callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: - Created 9 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
« no previous file with comments | « remoting/base/decoder.h ('k') | remoting/base/decoder_vp8.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 #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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 void DecoderRowBased::GetUpdatedRects(RectVector* rects) { 188 void DecoderRowBased::GetUpdatedRects(RectVector* rects) {
188 rects->swap(updated_rects_); 189 rects->swap(updated_rects_);
189 updated_rects_.clear(); 190 updated_rects_.clear();
190 } 191 }
191 192
192 VideoPacketFormat::Encoding DecoderRowBased::Encoding() { 193 VideoPacketFormat::Encoding DecoderRowBased::Encoding() {
193 return encoding_; 194 return encoding_;
194 } 195 }
195 196
196 } // namespace remoting 197 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/base/decoder.h ('k') | remoting/base/decoder_vp8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698