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 VP9_PICTURE_H_ 6 #define VP9_PICTURE_H_ 7 8 #include <memory> 9 10 #include "base/macros.h" 11 #include "base/memory/ref_counted.h" 12 #include "vp9_parser.h" 13 14 namespace media { 15 16 class V4L2VP9Picture; 17 18 class VP9Picture : public base::RefCounted<VP9Picture> { 19 public: 20 VP9Picture(); 21 22 virtual V4L2VP9Picture* AsV4L2VP9Picture(); 23 24 std::unique_ptr<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 media 34 35 #endif // VP9_PICTURE_H_ 36