| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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/codec/video_encoder_verbatim.h" | 5 #include "remoting/codec/video_encoder_verbatim.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include "base/logging.h" | 10 #include "base/logging.h" |
| 8 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
| 9 #include "remoting/base/util.h" | 12 #include "remoting/base/util.h" |
| 10 #include "remoting/proto/video.pb.h" | 13 #include "remoting/proto/video.pb.h" |
| 11 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" | 14 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" |
| 12 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" | 15 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
| 13 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" | 16 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" |
| 14 | 17 |
| 15 namespace remoting { | 18 namespace remoting { |
| 16 | 19 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 memcpy(out, in, row_size); | 61 memcpy(out, in, row_size); |
| 59 out += row_size; | 62 out += row_size; |
| 60 in += in_stride; | 63 in += in_stride; |
| 61 } | 64 } |
| 62 } | 65 } |
| 63 | 66 |
| 64 return packet.Pass(); | 67 return packet.Pass(); |
| 65 } | 68 } |
| 66 | 69 |
| 67 } // namespace remoting | 70 } // namespace remoting |
| OLD | NEW |