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

Side by Side Diff: remoting/codec/video_decoder_verbatim.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 months 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
« no previous file with comments | « remoting/codec/scoped_vpx_codec.h ('k') | remoting/codec/video_decoder_vpx.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_ 5 #ifndef REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_
6 #define REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_ 6 #define REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_
7 7
8 #include <memory>
9
8 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "remoting/codec/video_decoder.h" 12 #include "remoting/codec/video_decoder.h"
12 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 13 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
13 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" 14 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h"
14 15
15 namespace remoting { 16 namespace remoting {
16 17
17 // Video decoder implementations that decodes video packet encoded by 18 // Video decoder implementations that decodes video packet encoded by
18 // VideoEncoderVerbatim. It just copies data from incoming packets to the 19 // VideoEncoderVerbatim. It just copies data from incoming packets to the
19 // video frames. 20 // video frames.
20 class VideoDecoderVerbatim : public VideoDecoder { 21 class VideoDecoderVerbatim : public VideoDecoder {
21 public: 22 public:
22 VideoDecoderVerbatim(); 23 VideoDecoderVerbatim();
23 ~VideoDecoderVerbatim() override; 24 ~VideoDecoderVerbatim() override;
24 25
25 // VideoDecoder implementation. 26 // VideoDecoder implementation.
26 bool DecodePacket(const VideoPacket& packet, 27 bool DecodePacket(const VideoPacket& packet,
27 webrtc::DesktopFrame* frame) override; 28 webrtc::DesktopFrame* frame) override;
28 29
29 private: 30 private:
30 DISALLOW_COPY_AND_ASSIGN(VideoDecoderVerbatim); 31 DISALLOW_COPY_AND_ASSIGN(VideoDecoderVerbatim);
31 }; 32 };
32 33
33 } // namespace remoting 34 } // namespace remoting
34 35
35 #endif // REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_ 36 #endif // REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_
OLDNEW
« no previous file with comments | « remoting/codec/scoped_vpx_codec.h ('k') | remoting/codec/video_decoder_vpx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698