// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_GPU_VP9_DECODER_H_ #define MEDIA_GPU_VP9_DECODER_H_ #include <stddef.h> #include <stdint.h> #include <memory> #include <vector> #include "base/functional/callback_forward.h" #include "base/memory/scoped_refptr.h" #include "media/base/video_types.h" #include "media/gpu/accelerated_video_decoder.h" #include "media/gpu/vp9_picture.h" #include "media/gpu/vp9_reference_frame_vector.h" #include "media/parsers/vp9_parser.h" #include "ui/gfx/geometry/size.h" namespace media { // This class implements an AcceleratedVideoDecoder for VP9 decoding. // Clients of this class are expected to pass raw VP9 stream and are expected // to provide an implementation of VP9Accelerator for offloading final steps // of the decoding process. // // This class must be created, called and destroyed on a single thread, and // does nothing internally on any other thread. class MEDIA_GPU_EXPORT VP9Decoder : public AcceleratedVideoDecoder { … }; } // namespace media #endif // MEDIA_GPU_VP9_DECODER_H_