Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Side by Side Diff: media/gpu/vp8_picture.h

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix several more bot-identified build issues Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_ 5 #ifndef MEDIA_GPU_VP8_PICTURE_H_
6 #define CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_ 6 #define MEDIA_GPU_VP8_PICTURE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 10
11 namespace content { 11 namespace media {
12 12
13 class V4L2VP8Picture; 13 class V4L2VP8Picture;
14 class VaapiVP8Picture; 14 class VaapiVP8Picture;
15 15
16 class VP8Picture : public base::RefCounted<VP8Picture> { 16 class VP8Picture : public base::RefCounted<VP8Picture> {
17 public: 17 public:
18 VP8Picture(); 18 VP8Picture();
19 19
20 virtual V4L2VP8Picture* AsV4L2VP8Picture(); 20 virtual V4L2VP8Picture* AsV4L2VP8Picture();
21 virtual VaapiVP8Picture* AsVaapiVP8Picture(); 21 virtual VaapiVP8Picture* AsVaapiVP8Picture();
22 22
23 protected: 23 protected:
24 friend class base::RefCounted<VP8Picture>; 24 friend class base::RefCounted<VP8Picture>;
25 virtual ~VP8Picture(); 25 virtual ~VP8Picture();
26 26
27 DISALLOW_COPY_AND_ASSIGN(VP8Picture); 27 DISALLOW_COPY_AND_ASSIGN(VP8Picture);
28 }; 28 };
29 29
30 } // namespace content 30 } // namespace media
31 31
32 #endif // CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_ 32 #endif // MEDIA_GPU_VP8_PICTURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698