OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_COMMON_GPU_MEDIA_VP9_PICTURE_H_ | |
6 #define CONTENT_COMMON_GPU_MEDIA_VP9_PICTURE_H_ | |
7 | |
8 #include <memory> | |
9 | |
10 #include "base/macros.h" | |
11 #include "base/memory/ref_counted.h" | |
12 #include "media/filters/vp9_parser.h" | |
13 | |
14 namespace content { | |
15 | |
16 class V4L2VP9Picture; | |
17 class VaapiVP9Picture; | |
18 | |
19 class VP9Picture : public base::RefCounted<VP9Picture> { | |
20 public: | |
21 VP9Picture(); | |
22 | |
23 virtual V4L2VP9Picture* AsV4L2VP9Picture(); | |
24 virtual VaapiVP9Picture* AsVaapiVP9Picture(); | |
25 | |
26 std::unique_ptr<media::Vp9FrameHeader> frame_hdr; | |
27 | |
28 protected: | |
29 friend class base::RefCounted<VP9Picture>; | |
30 virtual ~VP9Picture(); | |
31 | |
32 DISALLOW_COPY_AND_ASSIGN(VP9Picture); | |
33 }; | |
34 | |
35 } // namespace content | |
36 | |
37 #endif // CONTENT_COMMON_GPU_MEDIA_VP9_PICTURE_H_ | |
OLD | NEW |