#include "media/gpu/vaapi/vp8_vaapi_video_decoder_delegate.h"
#include "base/functional/callback_helpers.h"
#include "base/trace_event/trace_event.h"
#include "media/gpu/vaapi/vaapi_common.h"
#include "media/gpu/vaapi/vaapi_decode_surface_handler.h"
#include "media/gpu/vaapi/vaapi_utils.h"
#include "media/gpu/vaapi/vaapi_wrapper.h"
namespace media {
VP8VaapiVideoDecoderDelegate::VP8VaapiVideoDecoderDelegate(
VaapiDecodeSurfaceHandler* const vaapi_dec,
scoped_refptr<VaapiWrapper> vaapi_wrapper)
: … { … }
VP8VaapiVideoDecoderDelegate::~VP8VaapiVideoDecoderDelegate() { … }
scoped_refptr<VP8Picture> VP8VaapiVideoDecoderDelegate::CreateVP8Picture() { … }
bool VP8VaapiVideoDecoderDelegate::SubmitDecode(
scoped_refptr<VP8Picture> pic,
const Vp8ReferenceFrameVector& reference_frames) { … }
bool VP8VaapiVideoDecoderDelegate::OutputPicture(
scoped_refptr<VP8Picture> pic) { … }
void VP8VaapiVideoDecoderDelegate::OnVAContextDestructionSoon() { … }
}