blob: ece19d4a01db6b83bf5ad9bf7feee013152e670c [file] [log] [blame]
// 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 MEDIA_GPU_VP8_PICTURE_H_
#define MEDIA_GPU_VP8_PICTURE_H_
#include "media/gpu/codec_picture.h"
#include "media/parsers/vp8_parser.h"
namespace media {
class V4L2VP8Picture;
class VaapiVP8Picture;
class VP8Picture : public CodecPicture {
public:
VP8Picture();
VP8Picture(const VP8Picture&) = delete;
VP8Picture& operator=(const VP8Picture&) = delete;
virtual V4L2VP8Picture* AsV4L2VP8Picture();
virtual VaapiVP8Picture* AsVaapiVP8Picture();
std::unique_ptr<Vp8FrameHeader> frame_hdr;
protected:
~VP8Picture() override;
};
} // namespace media
#endif // MEDIA_GPU_VP8_PICTURE_H_