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

Side by Side Diff: remoting/base/capture_data.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
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "remoting/base/capture_data.h"
6
7 namespace remoting {
8
9 DataPlanes::DataPlanes() {
10 for (int i = 0; i < kPlaneCount; ++i) {
11 data[i] = NULL;
12 strides[i] = 0;
13 }
14 }
15
16 CaptureData::CaptureData(const DataPlanes &data_planes,
17 const SkISize& size,
18 media::VideoFrame::Format format)
19 : data_planes_(data_planes),
20 size_(size),
21 pixel_format_(format),
22 capture_time_ms_(0),
23 client_sequence_number_(0),
24 dpi_(SkIPoint::Make(0, 0)) {
25 }
26
27 CaptureData::~CaptureData() {}
28
29 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698