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 // Note: ported from Chromium commit head: 70340ce 5 6 #ifndef VP8_PICTURE_H_ 7 #define VP8_PICTURE_H_ 8 9 #include "base/macros.h" 10 #include "base/memory/ref_counted.h" 11 #include "rect.h" 12 13 namespace media { 14 15 class V4L2VP8Picture; 16 17 class VP8Picture : public base::RefCountedThreadSafe<VP8Picture> { 18 public: 19 VP8Picture(); 20 21 virtual V4L2VP8Picture* AsV4L2VP8Picture(); 22 23 // The visible size of picture. 24 Rect visible_rect; 25 26 protected: 27 friend class base::RefCountedThreadSafe<VP8Picture>; 28 virtual ~VP8Picture(); 29 30 DISALLOW_COPY_AND_ASSIGN(VP8Picture); 31 }; 32 33 } // namespace media 34 35 #endif // VP8_PICTURE_H_ 36