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

Side by Side Diff: media/gpu/vp9_picture.h

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix several more bot-identified build issues 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CONTENT_COMMON_GPU_MEDIA_VP9_PICTURE_H_ 5 #ifndef MEDIA_GPU_VP9_PICTURE_H_
6 #define CONTENT_COMMON_GPU_MEDIA_VP9_PICTURE_H_ 6 #define MEDIA_GPU_VP9_PICTURE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "media/filters/vp9_parser.h" 12 #include "media/filters/vp9_parser.h"
13 13
14 namespace content { 14 namespace media {
15 15
16 class V4L2VP9Picture; 16 class V4L2VP9Picture;
17 class VaapiVP9Picture; 17 class VaapiVP9Picture;
18 18
19 class VP9Picture : public base::RefCounted<VP9Picture> { 19 class VP9Picture : public base::RefCounted<VP9Picture> {
20 public: 20 public:
21 VP9Picture(); 21 VP9Picture();
22 22
23 virtual V4L2VP9Picture* AsV4L2VP9Picture(); 23 virtual V4L2VP9Picture* AsV4L2VP9Picture();
24 virtual VaapiVP9Picture* AsVaapiVP9Picture(); 24 virtual VaapiVP9Picture* AsVaapiVP9Picture();
25 25
26 std::unique_ptr<media::Vp9FrameHeader> frame_hdr; 26 std::unique_ptr<media::Vp9FrameHeader> frame_hdr;
27 27
28 protected: 28 protected:
29 friend class base::RefCounted<VP9Picture>; 29 friend class base::RefCounted<VP9Picture>;
30 virtual ~VP9Picture(); 30 virtual ~VP9Picture();
31 31
32 DISALLOW_COPY_AND_ASSIGN(VP9Picture); 32 DISALLOW_COPY_AND_ASSIGN(VP9Picture);
33 }; 33 };
34 34
35 } // namespace content 35 } // namespace media
36 36
37 #endif // CONTENT_COMMON_GPU_MEDIA_VP9_PICTURE_H_ 37 #endif // MEDIA_GPU_VP9_PICTURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698