// 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 "base/macros.h" #include "base/memory/ref_counted.h" #include "ui/gfx/geometry/rect.h" namespace media { class V4L2VP8Picture; class VaapiVP8Picture; class VP8Picture : public base::RefCounted { public: VP8Picture(); virtual V4L2VP8Picture* AsV4L2VP8Picture(); virtual VaapiVP8Picture* AsVaapiVP8Picture(); // The visible size of picture. gfx::Rect visible_rect; protected: friend class base::RefCounted; virtual ~VP8Picture(); DISALLOW_COPY_AND_ASSIGN(VP8Picture); }; } // namespace media #endif // MEDIA_GPU_VP8_PICTURE_H_