OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 MEDIA_BASE_VIDEO_FRAME_H_ | 5 #ifndef MEDIA_BASE_VIDEO_FRAME_H_ |
6 #define MEDIA_BASE_VIDEO_FRAME_H_ | 6 #define MEDIA_BASE_VIDEO_FRAME_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/md5.h" | 9 #include "base/md5.h" |
10 #include "base/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
11 #include "gpu/command_buffer/common/mailbox.h" | 11 #include "gpu/command_buffer/common/mailbox.h" |
12 #include "media/base/buffers.h" | 12 #include "media/base/buffers.h" |
13 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/rect.h" |
14 #include "ui/gfx/size.h" | 14 #include "ui/gfx/size.h" |
15 | 15 |
16 class SkBitmap; | 16 class SkBitmap; |
17 | 17 |
18 namespace media { | 18 namespace media { |
19 | 19 |
20 class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { | 20 class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 base::Closure no_longer_needed_cb_; | 266 base::Closure no_longer_needed_cb_; |
267 | 267 |
268 base::TimeDelta timestamp_; | 268 base::TimeDelta timestamp_; |
269 | 269 |
270 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); | 270 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); |
271 }; | 271 }; |
272 | 272 |
273 } // namespace media | 273 } // namespace media |
274 | 274 |
275 #endif // MEDIA_BASE_VIDEO_FRAME_H_ | 275 #endif // MEDIA_BASE_VIDEO_FRAME_H_ |
OLD | NEW |