Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / common / gpu / media / vp8_picture.h
blobeb8307f62ff2276855c7151e6f3662298dde0077
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.
5 #ifndef CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_
6 #define CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_
8 #include "base/memory/ref_counted.h"
10 namespace content {
12 class V4L2VP8Picture;
13 class VaapiVP8Picture;
15 class VP8Picture : public base::RefCounted<VP8Picture> {
16 public:
17 VP8Picture();
19 virtual V4L2VP8Picture* AsV4L2VP8Picture();
20 virtual VaapiVP8Picture* AsVaapiVP8Picture();
22 protected:
23 friend class base::RefCounted<VP8Picture>;
24 virtual ~VP8Picture();
26 DISALLOW_COPY_AND_ASSIGN(VP8Picture);
29 } // namespace content
31 #endif // CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_