| 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 "base/memory/ref_counted.h" | |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "media/filters/vp9_parser.h" | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 class V4L2VP9Picture; | |
| 15 class VaapiVP9Picture; | |
| 16 | |
| 17 class VP9Picture : public base::RefCounted<VP9Picture> { | |
| 18 public: | |
| 19 VP9Picture(); | |
| 20 | |
| 21 virtual V4L2VP9Picture* AsV4L2VP9Picture(); | |
| 22 virtual VaapiVP9Picture* AsVaapiVP9Picture(); | |
| 23 | |
| 24 scoped_ptr<media::Vp9FrameHeader> frame_hdr; | |
| 25 | |
| 26 protected: | |
| 27 friend class base::RefCounted<VP9Picture>; | |
| 28 virtual ~VP9Picture(); | |
| 29 | |
| 30 DISALLOW_COPY_AND_ASSIGN(VP9Picture); | |
| 31 }; | |
| 32 | |
| 33 } // namespace content | |
| 34 | |
| 35 #endif // CONTENT_COMMON_GPU_MEDIA_VP9_PICTURE_H_ | |
| OLD | NEW |