Roll usrcstplib -> r9048.
[chromium-blink-merge.git] / remoting / codec / video_encoder_verbatim.h
blobe315c24182bb208f85f47623a4ab80bef8caf6ad
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
3 // found in the LICENSE file.
5 #ifndef REMOTING_CODEC_VIDEO_ENCODER_VERBATIM_H_
6 #define REMOTING_CODEC_VIDEO_ENCODER_VERBATIM_H_
8 #include "remoting/codec/video_encoder.h"
9 #include "remoting/codec/video_encoder_helper.h"
11 namespace remoting {
13 // VideoEncoderVerbatim implements a VideoEncoder that sends image data as a
14 // sequence of RGB values, without compression.
15 class VideoEncoderVerbatim : public VideoEncoder {
16 public:
17 VideoEncoderVerbatim();
18 virtual ~VideoEncoderVerbatim();
20 // VideoEncoder interface.
21 virtual scoped_ptr<VideoPacket> Encode(
22 const webrtc::DesktopFrame& frame) override;
24 private:
25 VideoEncoderHelper helper_;
27 DISALLOW_COPY_AND_ASSIGN(VideoEncoderVerbatim);
30 } // namespace remoting
32 #endif // REMOTING_CODEC_VIDEO_ENCODER_VERBATIM_H_