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.
5 #ifndef REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_
6 #define REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_
8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "remoting/codec/video_decoder.h"
11 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
12 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h"
16 // Video decoder implementations that decodes video packet encoded by
17 // VideoEncoderVerbatim. It just copies data from incoming packets to the
19 class VideoDecoderVerbatim
: public VideoDecoder
{
21 VideoDecoderVerbatim();
22 ~VideoDecoderVerbatim() override
;
24 // VideoDecoder implementation.
25 bool DecodePacket(const VideoPacket
& packet
,
26 webrtc::DesktopFrame
* frame
) override
;
29 DISALLOW_COPY_AND_ASSIGN(VideoDecoderVerbatim
);
32 } // namespace remoting
34 #endif // REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_