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_VP8_PICTURE_H_ | |
6 #define CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "base/memory/ref_counted.h" | |
10 | |
11 namespace content { | |
12 | |
13 class V4L2VP8Picture; | |
14 class VaapiVP8Picture; | |
15 | |
16 class VP8Picture : public base::RefCounted<VP8Picture> { | |
17 public: | |
18 VP8Picture(); | |
19 | |
20 virtual V4L2VP8Picture* AsV4L2VP8Picture(); | |
21 virtual VaapiVP8Picture* AsVaapiVP8Picture(); | |
22 | |
23 protected: | |
24 friend class base::RefCounted<VP8Picture>; | |
25 virtual ~VP8Picture(); | |
26 | |
27 DISALLOW_COPY_AND_ASSIGN(VP8Picture); | |
28 }; | |
29 | |
30 } // namespace content | |
31 | |
32 #endif // CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_ | |
OLD | NEW |