| Index: content/common/gpu/media/vp9_picture.h
|
| diff --git a/content/common/gpu/media/vp9_picture.h b/content/common/gpu/media/vp9_picture.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2738821fa5222a947f3c549c9be4711ead116915
|
| --- /dev/null
|
| +++ b/content/common/gpu/media/vp9_picture.h
|
| @@ -0,0 +1,35 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_COMMON_GPU_MEDIA_VP9_PICTURE_H_
|
| +#define CONTENT_COMMON_GPU_MEDIA_VP9_PICTURE_H_
|
| +
|
| +#include "base/memory/ref_counted.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "media/filters/vp9_parser.h"
|
| +
|
| +namespace content {
|
| +
|
| +class V4L2VP9Picture;
|
| +class VaapiVP9Picture;
|
| +
|
| +class VP9Picture : public base::RefCounted<VP9Picture> {
|
| + public:
|
| + VP9Picture();
|
| +
|
| + virtual V4L2VP9Picture* AsV4L2VP9Picture();
|
| + virtual VaapiVP9Picture* AsVaapiVP9Picture();
|
| +
|
| + scoped_ptr<media::Vp9FrameHeader> frame_hdr;
|
| +
|
| + protected:
|
| + friend class base::RefCounted<VP9Picture>;
|
| + virtual ~VP9Picture();
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(VP9Picture);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_GPU_MEDIA_VP9_PICTURE_H_
|
|
|