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

Side by Side Diff: remoting/capturer/differ.cc

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
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/host/differ.h" 5 #include "remoting/capturer/differ.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "remoting/host/differ_block.h" 8 #include "remoting/capturer/differ_block.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 Differ::Differ(int width, int height, int bpp, int stride) { 12 Differ::Differ(int width, int height, int bpp, int stride) {
13 // Dimensions of screen. 13 // Dimensions of screen.
14 width_ = width; 14 width_ = width;
15 height_ = height; 15 height_ = height;
16 bytes_per_pixel_ = bpp; 16 bytes_per_pixel_ = bpp;
17 bytes_per_row_ = stride; 17 bytes_per_row_ = stride;
18 18
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // Increment to next block in this row. 202 // Increment to next block in this row.
203 diff_info++; 203 diff_info++;
204 } 204 }
205 205
206 // Go to start of next row. 206 // Go to start of next row.
207 diff_info_row_start += diff_info_stride; 207 diff_info_row_start += diff_info_stride;
208 } 208 }
209 } 209 }
210 210
211 } // namespace remoting 211 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698