OLD | NEW |
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 #ifndef REMOTING_CODEC_VIDEO_ENCODER_VERBATIM_H_ | 5 #ifndef REMOTING_CODEC_VIDEO_ENCODER_VERBATIM_H_ |
6 #define REMOTING_CODEC_VIDEO_ENCODER_VERBATIM_H_ | 6 #define REMOTING_CODEC_VIDEO_ENCODER_VERBATIM_H_ |
7 | 7 |
8 #include "base/time.h" | 8 #include "base/time/time.h" |
9 #include "remoting/codec/video_encoder.h" | 9 #include "remoting/codec/video_encoder.h" |
10 #include "remoting/proto/video.pb.h" | 10 #include "remoting/proto/video.pb.h" |
11 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" | 11 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
12 | 12 |
13 namespace remoting { | 13 namespace remoting { |
14 | 14 |
15 // VideoEncoderVerbatim implements a VideoEncoder that sends image data as a | 15 // VideoEncoderVerbatim implements a VideoEncoder that sends image data as a |
16 // sequence of RGB values, without compression. | 16 // sequence of RGB values, without compression. |
17 class VideoEncoderVerbatim : public VideoEncoder { | 17 class VideoEncoderVerbatim : public VideoEncoder { |
18 public: | 18 public: |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 // The most recent screen size. | 52 // The most recent screen size. |
53 webrtc::DesktopSize screen_size_; | 53 webrtc::DesktopSize screen_size_; |
54 | 54 |
55 int max_packet_size_; | 55 int max_packet_size_; |
56 }; | 56 }; |
57 | 57 |
58 } // namespace remoting | 58 } // namespace remoting |
59 | 59 |
60 #endif // REMOTING_CODEC_VIDEO_ENCODER_VERBATIM_H_ | 60 #endif // REMOTING_CODEC_VIDEO_ENCODER_VERBATIM_H_ |
OLD | NEW |