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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/md5.h" | 11 #include "base/md5.h" |
12 #include "base/memory/shared_memory.h" | 12 #include "base/memory/shared_memory.h" |
13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
14 #include "media/base/buffers.h" | 14 #include "media/base/buffers.h" |
15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
16 #include "ui/gfx/size.h" | 16 #include "ui/gfx/geometry/size.h" |
17 | 17 |
18 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
19 #include <CoreVideo/CVPixelBuffer.h> | 19 #include <CoreVideo/CVPixelBuffer.h> |
20 #include "base/mac/scoped_cftyperef.h" | 20 #include "base/mac/scoped_cftyperef.h" |
21 #endif | 21 #endif |
22 | 22 |
23 class SkBitmap; | 23 class SkBitmap; |
24 | 24 |
25 namespace gpu { | 25 namespace gpu { |
26 struct MailboxHolder; | 26 struct MailboxHolder; |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 uint32 release_sync_point_; | 402 uint32 release_sync_point_; |
403 | 403 |
404 const bool end_of_stream_; | 404 const bool end_of_stream_; |
405 | 405 |
406 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); | 406 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoFrame); |
407 }; | 407 }; |
408 | 408 |
409 } // namespace media | 409 } // namespace media |
410 | 410 |
411 #endif // MEDIA_BASE_VIDEO_FRAME_H_ | 411 #endif // MEDIA_BASE_VIDEO_FRAME_H_ |
OLD | NEW |